CAMP 1.0.0
Chemistry Across Multiple Phases
|
The abstract sub_model_data_t structure and associated subroutines. More...
Data Types | |
interface | 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 | internal_bin_pack |
Extending-type binary pack function (Internal use only) More... | |
interface | internal_bin_unpack |
Extending-type binary unpack function (Internal use only) More... | |
interface | internal_pack_size |
Extending-type binary pack size (internal use only) More... | |
interface | 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... | |
type | sub_model_data_ptr |
Pointer to sub_model_data_t extending types. More... | |
type | sub_model_data_t |
Abstract sub-model data type. More... | |
type | sub_model_update_data_t |
Update cookie. More... | |
Functions/Subroutines | |
character(len=:) function, allocatable | get_name (this) |
Get the name of the sub-model. | |
subroutine | load (this, json, j_obj) |
Load a sub-model from an input file. | |
integer(kind=i_kind) function | pack_size (this, comm) |
Determine the size of a binary required to pack the reaction data. | |
subroutine | bin_pack (this, buffer, pos, comm) |
Pack the given value to the buffer, advancing position. | |
subroutine | bin_unpack (this, buffer, pos, comm) |
Unpack the given value from the buffer, advancing position. | |
subroutine | do_print (this, file_unit) |
Print the sub-model data. | |
elemental subroutine | dereference (this) |
Dereference a pointer to a sub-model. | |
elemental subroutine | ptr_finalize (this) |
Finalize a pointer to a sub-model. | |
integer(kind=c_int) function | sub_model_update_data_get_type (this) |
Get the update data sub-model type. | |
integer(kind=c_int) function | sub_model_update_data_get_cell_id (this) |
Get the grid cell id to update. | |
type(c_ptr) function | sub_model_update_data_get_data (this) |
Get the update data. | |
integer(kind=i_kind) function | sub_model_update_data_pack_size (this, comm) |
Determine the size of a binary required to pack the reaction data. | |
subroutine | sub_model_update_data_bin_pack (this, buffer, pos, comm) |
Pack the given value to the buffer, advancing position. | |
subroutine | sub_model_update_data_bin_unpack (this, buffer, pos, comm) |
Unpack the given value from the buffer, advancing position. | |
subroutine | do_sub_model_update_data_print (this, file_unit) |
Print the update data. | |
The abstract sub_model_data_t structure and associated subroutines.
|
private |
Pack the given value to the buffer, advancing position.
[in] | this | Sub model data |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 362 of file sub_model_data.F90.
|
private |
Unpack the given value from the buffer, advancing position.
[out] | this | Sub model data |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 389 of file sub_model_data.F90.
|
private |
Dereference a pointer to a sub-model.
[in,out] | this | Pointer to a sub-model |
Definition at line 442 of file sub_model_data.F90.
|
private |
Print the sub-model data.
[in] | this | Sub model data |
file_unit | File unit for output |
Definition at line 417 of file sub_model_data.F90.
|
private |
Print the update data.
[in] | this | Sub model update data |
file_unit | File unit for output |
Definition at line 612 of file sub_model_data.F90.
|
private |
Get the name of the sub-model.
[in] | this | Sub model data |
Definition at line 246 of file sub_model_data.F90.
|
private |
Load a sub-model from an input file.
[in,out] | this | Sub model data |
[in] | json | JSON core |
[in] | j_obj | JSON object |
Definition at line 294 of file sub_model_data.F90.
|
private |
Determine the size of a binary required to pack the reaction data.
[in] | this | Sub model data |
[in] | comm | MPI communicator |
Definition at line 345 of file sub_model_data.F90.
|
private |
Finalize a pointer to a sub-model.
[in,out] | this | Pointer to a sub-model |
Definition at line 454 of file sub_model_data.F90.
|
private |
Pack the given value to the buffer, advancing position.
[in] | this | Sub model update data |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 540 of file sub_model_data.F90.
|
private |
Unpack the given value from the buffer, advancing position.
[out] | this | Sub model update data |
[in,out] | buffer | Memory buffer |
[in,out] | pos | Current buffer position |
[in] | comm | MPI communicator |
Definition at line 576 of file sub_model_data.F90.
|
private |
Get the grid cell id to update.
[in] | this | Update data |
Definition at line 480 of file sub_model_data.F90.
|
private |
Get the update data.
[in] | this | Update data |
Definition at line 494 of file sub_model_data.F90.
|
private |
Get the update data sub-model type.
[in] | this | Update data |
Definition at line 466 of file sub_model_data.F90.
|
private |
Determine the size of a binary required to pack the reaction data.
[in] | this | Sub model update data |
[in] | comm | MPI communicator |
Definition at line 508 of file sub_model_data.F90.