Classes | |
struct | env_data_t |
Environment data. More... | |
Functions | |
subroutine | env_data_alloc (env_data) |
Allocate an empty environment. | |
subroutine | env_data_free (env_data) |
Free all storage. | |
subroutine | env_data_init_state (env_data, env_state, time) |
Initialize the time-dependent contents of the environment. Thereafter env_data_update_state() should be used. | |
subroutine | env_data_update_state (env_data, env_state, time) |
Update time-dependent contents of the environment. env_data_init_state() should have been called at the start. | |
subroutine | inout_write_env_data (file, env_data) |
Write full state. | |
subroutine | inout_read_env_data (file, env_data) |
Read full state. | |
subroutine | spec_read_env_data (file, bin_grid, gas_data, aero_data, env_data) |
Read environment data from an inout file. | |
integer | pmc_mpi_pack_size_env_data (val) |
Determines the number of bytes required to pack the given value. | |
subroutine | pmc_mpi_pack_env_data (buffer, position, val) |
Packs the given value into the buffer, advancing position. | |
subroutine | pmc_mpi_unpack_env_data (buffer, position, val) |
Unpacks the given value from the buffer, advancing position. |
subroutine pmc_env_data::env_data_alloc | ( | type(env_data_t),intent(out) | env_data | ) |
Allocate an empty environment.
env_data | Environment data. |
subroutine pmc_env_data::env_data_free | ( | type(env_data_t),intent(out) | env_data | ) |
Free all storage.
env_data | Environment data. |
subroutine pmc_env_data::env_data_init_state | ( | type(env_data_t),intent(in) | env_data, | |
type(env_state_t),intent(inout) | env_state, | |||
real*8,intent(in) | time | |||
) |
Initialize the time-dependent contents of the environment. Thereafter env_data_update_state() should be used.
env_data | Environment data. |
env_state | Environment state to update. |
time | Current time (s). |
subroutine pmc_env_data::env_data_update_state | ( | type(env_data_t),intent(in) | env_data, | |
type(env_state_t),intent(inout) | env_state, | |||
real*8,intent(in) | time | |||
) |
Update time-dependent contents of the environment. env_data_init_state() should have been called at the start.
env_data | Environment data. |
env_state | Environment state to update. |
time | Current time (s). |
subroutine pmc_env_data::inout_read_env_data | ( | type(inout_file_t),intent(inout) | file, | |
type(env_data_t),intent(out) | env_data | |||
) |
Read full state.
file | File to read from. |
env_data | Environment data to read. |
subroutine pmc_env_data::inout_write_env_data | ( | type(inout_file_t),intent(inout) | file, | |
type(env_data_t),intent(in) | env_data | |||
) |
Write full state.
file | File to write to. |
env_data | Environment data to write. |
subroutine pmc_env_data::pmc_mpi_pack_env_data | ( | character,dimension(:),intent(inout) | buffer, | |
integer,intent(inout) | position, | |||
type(env_data_t),intent(in) | val | |||
) |
Packs the given value into the buffer, advancing position.
buffer | Memory buffer. |
position | Current buffer position. |
val | Value to pack. |
integer pmc_env_data::pmc_mpi_pack_size_env_data | ( | type(env_data_t),intent(in) | val | ) |
Determines the number of bytes required to pack the given value.
val | Value to pack. |
subroutine pmc_env_data::pmc_mpi_unpack_env_data | ( | character,dimension(:),intent(inout) | buffer, | |
integer,intent(inout) | position, | |||
type(env_data_t),intent(out) | val | |||
) |
Unpacks the given value from the buffer, advancing position.
buffer | Memory buffer. |
position | Current buffer position. |
val | Value to pack. |
subroutine pmc_env_data::spec_read_env_data | ( | type(inout_file_t),intent(inout) | file, | |
type(bin_grid_t),intent(in) | bin_grid, | |||
type(gas_data_t),intent(in) | gas_data, | |||
type(aero_data_t),intent(in) | aero_data, | |||
type(env_data_t),intent(out) | env_data | |||
) |
Read environment data from an inout file.
file | Inout file. |
bin_grid | Bin grid. |
gas_data | Gas data values. |
aero_data | Aerosol data. |
env_data | Environment data. |