CAMP 1.0.0
Chemistry Across Multiple Phases
Data Types | Modules | Functions/Subroutines
sub_model_data.F90 File Reference

The camp_sub_model_data module. More...

Go to the source code of this file.

Data Types

type  camp_sub_model_data::sub_model_data_t
 Abstract sub-model data type. More...
 
type  camp_sub_model_data::sub_model_data_ptr
 Pointer to sub_model_data_t extending types. More...
 
type  camp_sub_model_data::sub_model_update_data_t
 Update cookie. More...
 
interface  camp_sub_model_data::initialize
 Initialize the sub-model data, validating input parameters and loading any required information form the sub_model_data_t::property_set. This routine should be called once for each sub-model at the beginning of the model run after all the input files have been read in. It ensures all data required during the model run are included in the condensed data arrays. More...
 
interface  camp_sub_model_data::internal_pack_size
 Extending-type binary pack size (internal use only) More...
 
interface  camp_sub_model_data::internal_bin_pack
 Extending-type binary pack function (Internal use only) More...
 
interface  camp_sub_model_data::internal_bin_unpack
 Extending-type binary unpack function (Internal use only) More...
 
interface  camp_sub_model_data::priority
 Return a real number representing the priority of the sub model calculations. Low priority sub models may use the results of higher priority sub models. Lower numbers indicate higher priority. More...
 

Modules

module  camp_sub_model_data
 The abstract sub_model_data_t structure and associated subroutines.
 

Functions/Subroutines

character(len=:) function, allocatable camp_sub_model_data::get_name (this)
 Get the name of the sub-model.
 
subroutine camp_sub_model_data::load (this, json, j_obj)
 Load a sub-model from an input file.
 
integer(kind=i_kind) function camp_sub_model_data::pack_size (this, comm)
 Determine the size of a binary required to pack the reaction data.
 
subroutine camp_sub_model_data::bin_pack (this, buffer, pos, comm)
 Pack the given value to the buffer, advancing position.
 
subroutine camp_sub_model_data::bin_unpack (this, buffer, pos, comm)
 Unpack the given value from the buffer, advancing position.
 
subroutine camp_sub_model_data::do_print (this, file_unit)
 Print the sub-model data.
 
elemental subroutine camp_sub_model_data::dereference (this)
 Dereference a pointer to a sub-model.
 
elemental subroutine camp_sub_model_data::ptr_finalize (this)
 Finalize a pointer to a sub-model.
 
integer(kind=c_int) function camp_sub_model_data::sub_model_update_data_get_type (this)
 Get the update data sub-model type.
 
integer(kind=c_int) function camp_sub_model_data::sub_model_update_data_get_cell_id (this)
 Get the grid cell id to update.
 
type(c_ptr) function camp_sub_model_data::sub_model_update_data_get_data (this)
 Get the update data.
 
integer(kind=i_kind) function camp_sub_model_data::sub_model_update_data_pack_size (this, comm)
 Determine the size of a binary required to pack the reaction data.
 
subroutine camp_sub_model_data::sub_model_update_data_bin_pack (this, buffer, pos, comm)
 Pack the given value to the buffer, advancing position.
 
subroutine camp_sub_model_data::sub_model_update_data_bin_unpack (this, buffer, pos, comm)
 Unpack the given value from the buffer, advancing position.
 
subroutine camp_sub_model_data::do_sub_model_update_data_print (this, file_unit)
 Print the update data.
 

Detailed Description

The camp_sub_model_data module.

Definition in file sub_model_data.F90.