CAMP 1.0.0
Chemistry Across Multiple Phases
Public Member Functions | Public Attributes | List of all members
camp_env_state::env_state_t Type Reference

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=dptemp
 Temperature (K).
 
real(kind=dprel_humid
 Relative humidity (1).
 
real(kind=dppressure
 Ambient pressure (Pa).
 
real(kind=dplongitude
 Longitude (degrees).
 
real(kind=dplatitude
 Latitude (degrees).
 
real(kind=dpaltitude
 Altitude (m).
 
real(kind=dpstart_time
 Start time (s since 00:00 UTC on start_day).
 
integer start_day
 Start day of year (UTC).
 
real(kind=dpelapsed_time
 Time since start_time (s).
 
real(kind=dpsolar_zenith_angle
 Solar zenith angle (radians from zenith).
 
real(kind=dpheight
 Box height (m).
 

Detailed Description

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.

Member Function/Subroutine Documentation

◆ bin_pack()

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.

Parameters
[in,out]bufferMemory buffer.
[in,out]positionCurrent buffer position.
[in]valValue to pack.

Definition at line 51 of file env_state.F90.

◆ bin_unpack()

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.

Parameters
[in,out]bufferMemory buffer.
[in,out]positionCurrent buffer position.
[in,out]valValue to pack.

Definition at line 53 of file env_state.F90.

◆ pack_size()

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.

Parameters
[in]valValue to pack.

Definition at line 49 of file env_state.F90.

Member Data Documentation

◆ altitude

real(kind=dp) camp_env_state::env_state_t::altitude

Altitude (m).

Definition at line 36 of file env_state.F90.

◆ elapsed_time

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.

◆ height

real(kind=dp) camp_env_state::env_state_t::height

Box height (m).

Definition at line 46 of file env_state.F90.

◆ latitude

real(kind=dp) camp_env_state::env_state_t::latitude

Latitude (degrees).

Definition at line 34 of file env_state.F90.

◆ longitude

real(kind=dp) camp_env_state::env_state_t::longitude

Longitude (degrees).

Definition at line 32 of file env_state.F90.

◆ pressure

real(kind=dp) camp_env_state::env_state_t::pressure

Ambient pressure (Pa).

Definition at line 30 of file env_state.F90.

◆ rel_humid

real(kind=dp) camp_env_state::env_state_t::rel_humid

Relative humidity (1).

Definition at line 28 of file env_state.F90.

◆ solar_zenith_angle

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.

◆ start_day

integer camp_env_state::env_state_t::start_day

Start day of year (UTC).

Definition at line 40 of file env_state.F90.

◆ start_time

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.

◆ temp

real(kind=dp) camp_env_state::env_state_t::temp

Temperature (K).

Definition at line 26 of file env_state.F90.


The documentation for this type was generated from the following file: