PartMC
2.6.1
|
The pmc_gas_state module. More...
Go to the source code of this file.
Data Types | |
type | pmc_gas_state::gas_state_t |
Current state of the gas mixing ratios in the system. More... | |
Modules | |
module | pmc_gas_state |
The gas_state_t structure and associated subroutines. | |
Functions/Subroutines | |
logical function | pmc_gas_state::gas_state_is_allocated (gas_state) |
Determine whether the gas_state is correctly allocated. More... | |
subroutine | pmc_gas_state::gas_state_set_size (gas_state, n_spec) |
Sets the sizes of the gas state. More... | |
subroutine | pmc_gas_state::gas_state_zero (gas_state) |
Zeros the state. More... | |
subroutine | pmc_gas_state::gas_state_scale (gas_state, alpha) |
Scale a gas state. More... | |
subroutine | pmc_gas_state::gas_state_add (gas_state, gas_state_delta) |
Adds the given gas_state_delta. More... | |
subroutine | pmc_gas_state::gas_state_add_scaled (gas_state, gas_state_delta, alpha) |
Adds the given gas_state_delta scaled by alpha . More... | |
subroutine | pmc_gas_state::gas_state_sub (gas_state, gas_state_delta) |
Subtracts the given gas_state_delta. More... | |
subroutine | pmc_gas_state::gas_state_ensure_nonnegative (gas_state) |
Set any negative values to zero. More... | |
subroutine | pmc_gas_state::gas_state_mole_dens_to_ppb (gas_state, env_state) |
Convert (mol m^{-3}) to (ppb). More... | |
subroutine | pmc_gas_state::gas_state_interp_1d (gas_state_list, time_list, rate_list, time, gas_state, rate) |
Determine the current gas_state and rate by interpolating at the current time with the lists of gas_states and rates. More... | |
subroutine | pmc_gas_state::gas_state_mix (val) |
Average val over all processes. More... | |
subroutine | pmc_gas_state::gas_state_reduce_avg (val) |
Average val over all processes, with the result only on the root process. More... | |
integer function | pmc_gas_state::pmc_mpi_pack_size_gas_state (val) |
Determines the number of bytes required to pack the given value. More... | |
subroutine | pmc_gas_state::pmc_mpi_pack_gas_state (buffer, position, val) |
Packs the given value into the buffer, advancing position. More... | |
subroutine | pmc_gas_state::pmc_mpi_unpack_gas_state (buffer, position, val) |
Unpacks the given value from the buffer, advancing position. More... | |
subroutine | pmc_gas_state::pmc_mpi_reduce_avg_gas_state (val, val_avg) |
Computes the average of val across all processes, storing the result in val_avg on the root process. More... | |
subroutine | pmc_gas_state::gas_state_input_netcdf (gas_state, ncid, gas_data) |
Read full state. More... | |
The pmc_gas_state module.
Definition in file gas_state.F90.