CAMP 1.0.0
Chemistry Across Multiple Phases
camp_camp_box_model_data::camp_box_model_data_t Type Reference

CAMP Box model. More...

Collaboration diagram for camp_camp_box_model_data::camp_box_model_data_t:

Public Member Functions

procedure run (this, output_file_unit)
 Run the box model.
 
procedure create_gnuplot_config_file (this, file_prefix)
 Create a plotting script for the results.
 
procedure print (this, file_unit)
 Print the box model configuration.
 
final finalize (this)
 Finalize the box model.
 

Public Attributes

type(camp_state_t), pointer camp_state
 CAMP state.
 
type(camp_state_t), pointer initial_camp_state
 Initial CAMP state.
 
type(string_t), dimension(:), allocatable spec_names
 State species names.
 
integer(kind=i_kind) num_steps
 Number of time steps.
 
real(kind=dp) time_step__s
 Time step length [s].
 
real(kind=dp) total_time__s
 Total integration time [s].
 
type(profile_ttemperature__k
 Temperature [K] profile.
 
type(profile_tpressure__pa
 Pressure [Pa] profile.
 
type(rxn_profile_t), dimension(:), allocatable rxn_profiles
 Reaction profiles.
 
type(aero_rep_profile_t), dimension(:), allocatable aero_rep_profiles
 Aerosol representation profiles.
 

Private Attributes

type(camp_core_t), pointer camp_core
 CAMP core.
 

Detailed Description

CAMP Box model.

Constructor for camp_box_model_data_t.

Definition at line 136 of file camp_box_model_data.F90.

Constructor & Destructor Documentation

◆ finalize()

final camp_camp_box_model_data::camp_box_model_data_t::finalize ( type(camp_box_model_data_t), intent(inout) this)
final

Finalize the box model.

Parameters
[in,out]thisCAMP box model

Definition at line 132 of file camp_box_model_data.F90.

Here is the call graph for this function:

Member Function/Subroutine Documentation

◆ create_gnuplot_config_file()

procedure camp_camp_box_model_data::camp_box_model_data_t::create_gnuplot_config_file ( class(camp_box_model_data_t), intent(in) this,
character(len=*), intent(in) file_prefix )

Create a plotting script for the results.

Parameters
[in]thisBox model data
[in]file_prefixPrefix for the results file (assumes a results file name of ‘'file_prefix’_results.txt`)

Definition at line 128 of file camp_box_model_data.F90.

◆ print()

procedure camp_camp_box_model_data::camp_box_model_data_t::print ( class(camp_box_model_data_t), intent(in) this,
integer(kind=i_kind), intent(in), optional file_unit )

Print the box model configuration.

Parameters
[in]thisBox model data
[in]file_unitOutput file unit

Definition at line 130 of file camp_box_model_data.F90.

◆ run()

procedure camp_camp_box_model_data::camp_box_model_data_t::run ( class(camp_box_model_data_t), intent(inout) this,
integer(kind=i_kind), intent(in), optional output_file_unit )

Run the box model.

Parameters
[in,out]thisCAMP box model
[in]output_file_unitOutput file unit

Definition at line 126 of file camp_box_model_data.F90.

Member Data Documentation

◆ aero_rep_profiles

type(aero_rep_profile_t), dimension(:), allocatable camp_camp_box_model_data::camp_box_model_data_t::aero_rep_profiles

Aerosol representation profiles.

Definition at line 123 of file camp_box_model_data.F90.

◆ camp_core

type(camp_core_t), pointer camp_camp_box_model_data::camp_box_model_data_t::camp_core
private

CAMP core.

Definition at line 103 of file camp_box_model_data.F90.

◆ camp_state

type(camp_state_t), pointer camp_camp_box_model_data::camp_box_model_data_t::camp_state

CAMP state.

Definition at line 105 of file camp_box_model_data.F90.

◆ initial_camp_state

type(camp_state_t), pointer camp_camp_box_model_data::camp_box_model_data_t::initial_camp_state

Initial CAMP state.

Definition at line 107 of file camp_box_model_data.F90.

◆ num_steps

integer(kind=i_kind) camp_camp_box_model_data::camp_box_model_data_t::num_steps

Number of time steps.

Definition at line 111 of file camp_box_model_data.F90.

◆ pressure__pa

type(profile_t) camp_camp_box_model_data::camp_box_model_data_t::pressure__pa

Pressure [Pa] profile.

Definition at line 119 of file camp_box_model_data.F90.

◆ rxn_profiles

type(rxn_profile_t), dimension(:), allocatable camp_camp_box_model_data::camp_box_model_data_t::rxn_profiles

Reaction profiles.

Definition at line 121 of file camp_box_model_data.F90.

◆ spec_names

type(string_t), dimension(:), allocatable camp_camp_box_model_data::camp_box_model_data_t::spec_names

State species names.

Definition at line 109 of file camp_box_model_data.F90.

◆ temperature__k

type(profile_t) camp_camp_box_model_data::camp_box_model_data_t::temperature__k

Temperature [K] profile.

Definition at line 117 of file camp_box_model_data.F90.

◆ time_step__s

real(kind=dp) camp_camp_box_model_data::camp_box_model_data_t::time_step__s

Time step length [s].

Definition at line 113 of file camp_box_model_data.F90.

◆ total_time__s

real(kind=dp) camp_camp_box_model_data::camp_box_model_data_t::total_time__s

Total integration time [s].

Definition at line 115 of file camp_box_model_data.F90.


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