CAMP 1.0.0
Chemistry Across Multiple Phases
Public Member Functions | Public Attributes | Private Attributes | List of all members
camp_camp_state::camp_state_t Interface Reference

Model state. More...

Collaboration diagram for camp_camp_state::camp_state_t:
Collaboration graph
[legend]

Public Member Functions

procedure update_env_state (this)
 Update the environmental state array.
 
final finalize (this)
 Finalize the state.
 

Public Attributes

real(kind=dp), dimension(:), allocatable env_var
 Environmental state array. This array will include one entry for every environmental variable requried to solve the chemical mechanism(s)
 
real(kind=dp), dimension(:), allocatable state_var
 State variable array. This array includes one entry for each variable whose state will be solved for during the mechanism integration. units are ppm (gases) or kg m-3 (aerosol species)
 
type(env_state_ptr), dimension(:), pointer env_states
 Environmental conditions.
 

Private Attributes

logical, private owns_env_states = .false.
 Flag indicating whether the env_state object is owned by the state object.
 

Detailed Description

Model state.

Temporal state of the model

Definition at line 29 of file camp_state.F90.

Constructor & Destructor Documentation

◆ finalize()

final camp_camp_state::camp_state_t::finalize ( type(camp_state_t), intent(inout)  this)
final

Finalize the state.

Parameters
[in,out]thisCAMP model state

Definition at line 48 of file camp_state.F90.

Here is the call graph for this function:

Member Function/Subroutine Documentation

◆ update_env_state()

procedure camp_camp_state::camp_state_t::update_env_state ( class(camp_state_t), intent(inout)  this)

Update the environmental state array.

Parameters
[in,out]thisModel state

Definition at line 46 of file camp_state.F90.

Member Data Documentation

◆ env_states

type(env_state_ptr), dimension(:), pointer camp_camp_state::camp_state_t::env_states

Environmental conditions.

Definition at line 40 of file camp_state.F90.

◆ env_var

real(kind=dp), dimension(:), allocatable camp_camp_state::camp_state_t::env_var

Environmental state array. This array will include one entry for every environmental variable requried to solve the chemical mechanism(s)

Definition at line 33 of file camp_state.F90.

◆ owns_env_states

logical, private camp_camp_state::camp_state_t::owns_env_states = .false.
private

Flag indicating whether the env_state object is owned by the state object.

Definition at line 43 of file camp_state.F90.

◆ state_var

real(kind=dp), dimension(:), allocatable camp_camp_state::camp_state_t::state_var

State variable array. This array includes one entry for each variable whose state will be solved for during the mechanism integration. units are ppm (gases) or kg m-3 (aerosol species)

Definition at line 38 of file camp_state.F90.


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