CAMP 1.0.0
Chemistry Across Multiple Phases
|
CAMP Box model. More...
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_t) | temperature__k |
Temperature [K] profile. | |
type(profile_t) | pressure__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. | |
CAMP Box model.
Constructor for camp_box_model_data_t.
Definition at line 136 of file camp_box_model_data.F90.
|
final |
Finalize the box model.
[in,out] | this | CAMP box model |
Definition at line 132 of file camp_box_model_data.F90.
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.
[in] | this | Box model data |
[in] | file_prefix | Prefix 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.
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.
[in] | this | Box model data |
[in] | file_unit | Output file unit |
Definition at line 130 of file camp_box_model_data.F90.
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.
[in,out] | this | CAMP box model |
[in] | output_file_unit | Output file unit |
Definition at line 126 of file camp_box_model_data.F90.
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.
|
private |
CAMP core.
Definition at line 103 of file camp_box_model_data.F90.
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.
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.
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.
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.
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.
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.
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.
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.
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.