CAMP 1.0.0
Chemistry Across Multiple Phases
|
The camp_mechanism_data module. More...
Go to the source code of this file.
Data Types | |
interface | camp_mechanism_data::mechanism_data_t |
A chemical mechanism. More... | |
type | camp_mechanism_data::mechanism_data_ptr |
Pointer type for building arrays. More... | |
Modules | |
module | camp_mechanism_data |
The mechanism_data_t structure and associated subroutines. | |
Functions/Subroutines | |
type(mechanism_data_t) function, pointer | camp_mechanism_data::constructor (mech_name, init_size) |
Constructor for mechanism_data_t. | |
subroutine | camp_mechanism_data::ensure_size (this, num_rxn) |
Ensure there is enough room in the reaction dataset to add a specified number of reactions. | |
subroutine | camp_mechanism_data::load (this, json, j_obj) |
Load a chemical mechanism from an input file. | |
subroutine | camp_mechanism_data::initialize (this, chem_spec_data, aero_rep_data, n_cells) |
Initialize the mechanism. | |
integer(kind=i_kind) function | camp_mechanism_data::get_size (this) |
Get the current size of the chemical mechanism. | |
class(rxn_data_t) function, pointer | camp_mechanism_data::get_rxn (this, rxn_id) |
Get a reaction by its index. | |
character(len=:) function, allocatable | camp_mechanism_data::get_name (this) |
Get the name of the mechanism. | |
integer(kind=i_kind) function | camp_mechanism_data::pack_size (this, comm) |
Determine the size of a binary required to pack the mechanism. | |
subroutine | camp_mechanism_data::bin_pack (this, buffer, pos, comm) |
Pack the given value to the buffer, advancing position. | |
subroutine | camp_mechanism_data::bin_unpack (this, buffer, pos, comm) |
Unpack the given value to the buffer, advancing position. | |
subroutine | camp_mechanism_data::do_print (this, file_unit) |
Print the mechanism data. | |
elemental subroutine | camp_mechanism_data::finalize (this) |
Finalize the mechanism. | |
elemental subroutine | camp_mechanism_data::dereference (this) |
Dereference a pointer to a mechanism. | |
elemental subroutine | camp_mechanism_data::ptr_finalize (this) |
Finalize a pointer to mechanism data. | |
Variables | |
integer(kind=i_kind), parameter | camp_mechanism_data::realloc_inc = 50 |
Reallocation increment. | |
integer(kind=i_kind), parameter | camp_mechanism_data::mech_file_unit = 16 |
Fixed module file unit. | |
The camp_mechanism_data module.
Definition in file mechanism_data.F90.