CAMP 1.0.0
Chemistry Across Multiple Phases
|
A simple box model for CAMP mechanisms. More...
Data Types | |
type | aero_rep_profile_t |
Aerosol representation time profile. More... | |
type | camp_box_model_data_t |
CAMP Box model. More... | |
type | profile_t |
Property time profile. More... | |
type | rxn_profile_t |
Reaction rate time profile. More... | |
Functions/Subroutines | |
type(camp_box_model_data_t) function, pointer | constructor (config_file) |
Constructor for the CAMP box model. | |
subroutine | run (this, output_file_unit) |
Run the camp-chem box model. | |
subroutine | create_gnuplot_config_file (this, file_prefix) |
Create a gnuplot configuration file for plotting box model results. | |
subroutine | do_print (this, file_unit) |
Print out the configuration of the box model. | |
subroutine | finalize (this) |
Finalize the box model. | |
type(profile_t) function | profile_constructor (json, j_obj) |
Constructor for profile_t. | |
subroutine | reset (this) |
Reset the profile to the initial state. | |
subroutine | advance (this) |
Advance the profile by one time step. | |
real(kind=dp) function | current_value (this) |
Get the current value of the profile. | |
subroutine | profile_do_print (this, file_unit) |
Print the profile configuration. | |
type(rxn_profile_t) function | rxn_profile_constructor (camp_core, json, j_obj) |
Constructor for rxn_profile_t. | |
subroutine | update_rxn (this, camp_core) |
Update a reaction with the current rate from the profile. | |
subroutine | rxn_profile_finalize (this) |
Finalize the reaction profile. | |
type(aero_rep_profile_t) function | aero_rep_profile_constructor (camp_core, json, j_obj) |
Constructor for aero_rep_profile_t. | |
subroutine | update_aero_rep (this, camp_core) |
Update a reaction with the current rate from the profile. | |
subroutine | aero_rep_profile_finalize (this) |
Finalize the aerosol representation profile. | |
Variables | |
character(len= *), parameter | new_line = char(10) |
integer(kind=i_kind), parameter | scripts_file_unit = 8 |
|
private |
Advance the profile by one time step.
[in,out] | this | Property profile |
Definition at line 628 of file camp_box_model_data.F90.
|
private |
Constructor for aero_rep_profile_t.
[in,out] | camp_core | CAMP core |
[in,out] | json | JSON core |
[in,out] | j_obj | JSON object to build the profile from |
Definition at line 806 of file camp_box_model_data.F90.
|
private |
Finalize the aerosol representation profile.
[in,out] | this | Aerosol representation profile |
Definition at line 931 of file camp_box_model_data.F90.
|
private |
Constructor for the CAMP box model.
[in] | config_file | Box model configuration file |
Definition at line 145 of file camp_box_model_data.F90.
|
private |
Create a gnuplot configuration file for plotting box model 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 394 of file camp_box_model_data.F90.
|
private |
Get the current value of the profile.
[in,out] | this | Property profile |
Definition at line 647 of file camp_box_model_data.F90.
|
private |
Print out the configuration of the box model.
[in] | this | Box model data |
[in] | file_unit | Output file unit |
Definition at line 448 of file camp_box_model_data.F90.
|
private |
Finalize the box model.
[in,out] | this | CAMP box model |
Definition at line 518 of file camp_box_model_data.F90.
|
private |
Constructor for profile_t.
[in,out] | json | JSON core |
[in,out] | j_obj | JSON object to build profile from |
Definition at line 542 of file camp_box_model_data.F90.
|
private |
Print the profile configuration.
[in] | this | Property profile |
[in] | file_unit | Output file unit |
Definition at line 661 of file camp_box_model_data.F90.
|
private |
Reset the profile to the initial state.
[in,out] | this | Property profile |
Definition at line 615 of file camp_box_model_data.F90.
|
private |
Run the camp-chem box model.
[in,out] | this | CAMP box model |
[in] | output_file_unit | Output file unit |
Definition at line 322 of file camp_box_model_data.F90.
|
private |
Constructor for rxn_profile_t.
[in,out] | camp_core | CAMP core |
[in,out] | json | JSON core |
[in,out] | j_obj | JSON object to build the profile from |
Definition at line 691 of file camp_box_model_data.F90.
|
private |
Finalize the reaction profile.
[in,out] | this | Reaction profile |
Definition at line 794 of file camp_box_model_data.F90.
|
private |
Update a reaction with the current rate from the profile.
this | Aerosol representation profile | |
[in,out] | camp_core | CAMP core |
Definition at line 899 of file camp_box_model_data.F90.
|
private |
Update a reaction with the current rate from the profile.
this | Reaction rate profile | |
[in,out] | camp_core | CAMP core |
Definition at line 760 of file camp_box_model_data.F90.
|
private |
Definition at line 25 of file camp_box_model_data.F90.
|
private |
Definition at line 27 of file camp_box_model_data.F90.