PartMC 2.1.2
Modules | Functions/Subroutines | Variables
output.F90 File Reference

The pmc_output module. More...

Go to the source code of this file.

Modules

module  pmc_output
 

Write data in NetCDF format.


Functions/Subroutines

subroutine pmc_output::output_state (prefix, output_type, bin_grid, aero_data, aero_weight, aero_state, gas_data, gas_state, env_state, index, time, del_t, i_repeat, record_removals, record_optical, uuid)
 Write the current state.
subroutine pmc_output::write_header_and_time (ncid, time, del_t, index, uuid)
 Helper routine to write various global attributes. Do not call directly.
subroutine pmc_output::output_state_to_file (prefix, bin_grid, aero_data, aero_weight, aero_state, gas_data, gas_state, env_state, index, time, del_t, i_repeat, record_removals, record_optical, write_rank, write_n_proc, uuid)
 Write the current state for a single process. Do not call this subroutine directly, but rather call output_state().
subroutine pmc_output::send_output_state_central (aero_state, gas_state, env_state)
 Send the state for the "central" output method to the root process.
subroutine pmc_output::recv_output_state_central (prefix, bin_grid, aero_data, aero_weight, gas_data, index, time, del_t, i_repeat, record_removals, record_optical, uuid, remote_proc)
 Receive the state for the "central" output method on the root process.
subroutine pmc_output::input_state (filename, bin_grid, aero_data, aero_weight, aero_state, gas_data, gas_state, env_state, index, time, del_t, i_repeat, uuid)
 Read the current state.
subroutine pmc_output::output_sectional (prefix, bin_grid, aero_data, aero_binned, gas_data, gas_state, env_state, index, time, del_t, uuid)
 Write the current sectional data.
subroutine pmc_output::spec_file_read_output_type (file, output_type)
 Read the specification for an output type from a spec file and generate it.

Variables

integer, parameter pmc_output::OUTPUT_TYPE_INVALID = 0
 Type code for undefined or invalid output.
integer, parameter pmc_output::OUTPUT_TYPE_CENTRAL = 1
 Type code for centralized output (one file per process, all written by process 0).
integer, parameter pmc_output::OUTPUT_TYPE_DIST = 2
 Type code for distributed output (one file per process, written by each process).
integer, parameter pmc_output::OUTPUT_TYPE_SINGLE = 3
 Type code for single output (one file for all processes, written by process 0).
integer, parameter pmc_output::TAG_OUTPUT_STATE_CENTRAL = 4341
 Internal-use variable only.
integer, parameter pmc_output::TAG_OUTPUT_STATE_SINGLE = 4342
 Internal-use variable only.

Detailed Description

The pmc_output module.

Definition in file output.F90.