CAMP 1.0.0
Chemistry Across Multiple Phases
|
Current environment state. More...
Public Member Functions | |
procedure, pass(val) | pack_size (val) |
Determine the number of bytes required to pack the given value. | |
procedure, pass(val) | bin_pack (buffer, position, val) |
Pack the given value to a buffer, advancing position. | |
procedure, pass(val) | bin_unpack (buffer, position, val) |
Unpack the given value from a buffer, advancing position. | |
Public Attributes | |
real(kind=dp) | temp |
Temperature (K). | |
real(kind=dp) | rel_humid |
Relative humidity (1). | |
real(kind=dp) | pressure |
Ambient pressure (Pa). | |
real(kind=dp) | longitude |
Longitude (degrees). | |
real(kind=dp) | latitude |
Latitude (degrees). | |
real(kind=dp) | altitude |
Altitude (m). | |
real(kind=dp) | start_time |
Start time (s since 00:00 UTC on start_day ). | |
integer | start_day |
Start day of year (UTC). | |
real(kind=dp) | elapsed_time |
Time since start_time (s). | |
real(kind=dp) | solar_zenith_angle |
Solar zenith angle (radians from zenith). | |
real(kind=dp) | height |
Box height (m). | |
Current environment state.
All quantities are instantaneous, describing the state at a particular instant of time. Constant data and other data not associated with the current environment state is stored in scenario_t.
Definition at line 24 of file env_state.F90.
procedure, pass(val) camp_env_state::env_state_t::bin_pack | ( | character, dimension(:), intent(inout) | buffer, |
integer, intent(inout) | position, | ||
class(env_state_t), intent(in) | val | ||
) |
Pack the given value to a buffer, advancing position.
[in,out] | buffer | Memory buffer. |
[in,out] | position | Current buffer position. |
[in] | val | Value to pack. |
Definition at line 51 of file env_state.F90.
procedure, pass(val) camp_env_state::env_state_t::bin_unpack | ( | character, dimension(:), intent(inout) | buffer, |
integer, intent(inout) | position, | ||
class(env_state_t), intent(inout) | val | ||
) |
Unpack the given value from a buffer, advancing position.
[in,out] | buffer | Memory buffer. |
[in,out] | position | Current buffer position. |
[in,out] | val | Value to pack. |
Definition at line 53 of file env_state.F90.
procedure, pass(val) camp_env_state::env_state_t::pack_size | ( | class(env_state_t), intent(in) | val | ) |
Determine the number of bytes required to pack the given value.
[in] | val | Value to pack. |
Definition at line 49 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::altitude |
Altitude (m).
Definition at line 36 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::elapsed_time |
Time since start_time
(s).
Definition at line 42 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::height |
Box height (m).
Definition at line 46 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::latitude |
Latitude (degrees).
Definition at line 34 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::longitude |
Longitude (degrees).
Definition at line 32 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::pressure |
Ambient pressure (Pa).
Definition at line 30 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::rel_humid |
Relative humidity (1).
Definition at line 28 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::solar_zenith_angle |
Solar zenith angle (radians from zenith).
Definition at line 44 of file env_state.F90.
integer camp_env_state::env_state_t::start_day |
Start day of year (UTC).
Definition at line 40 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::start_time |
Start time (s since 00:00 UTC on start_day
).
Definition at line 38 of file env_state.F90.
real(kind=dp) camp_env_state::env_state_t::temp |
Temperature (K).
Definition at line 26 of file env_state.F90.