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

The camp_aero_phase_data module. More...

Go to the source code of this file.

Data Types

interface  camp_aero_phase_data::aero_phase_data_t
 Aerosol phase data type. More...
 
type  camp_aero_phase_data::aero_phase_data_ptr
 Pointer type for building arrays. More...
 

Modules

module  camp_aero_phase_data
 The abstract aero_phase_data_t structure and associated subroutines.
 

Macros

#define NUM_STATE_VAR_   this%condensed_data_int(1)
 
#define NUM_INT_PROP_   1
 
#define NUM_REAL_PROP_   0
 
#define SPEC_TYPE_(x)   this%condensed_data_int(NUM_INT_PROP_+x)
 
#define MW_(x)   this%condensed_data_real(NUM_REAL_PROP_+x)
 
#define DENSITY_(x)   this%condensed_data_real(NUM_REAL_PROP_+NUM_STATE_VAR_+x)
 

Functions/Subroutines

type(aero_phase_data_t) function, pointer camp_aero_phase_data::constructor (phase_name, init_size)
 Constructor for aero_phase_data_t.
 
subroutine camp_aero_phase_data::load (this, json, j_obj)
 Load species from an input file.
 
subroutine camp_aero_phase_data::initialize (this, chem_spec_data)
 Initialize the aerosol phase data, validating species names.
 
character(len=:) function, allocatable camp_aero_phase_data::get_name (this)
 Get the aerosol phase name.
 
integer(kind=i_kind) function camp_aero_phase_data::get_size (this)
 Get the number of species in the phase.
 
integer(kind=i_kind) function camp_aero_phase_data::num_jac_elem (this)
 Get the number of Jacobian row elements needed during solving.
 
class(property_t) function, pointer camp_aero_phase_data::get_property_set (this)
 Get the aerosol phase property set.
 
type(string_t) function, dimension(:), allocatable camp_aero_phase_data::get_species_names (this)
 Get an aerosol phase species name.
 
integer(kind=i_kind) function camp_aero_phase_data::get_species_type (this, spec_name)
 Get an aerosol phase species type.
 
integer(kind=i_kind) function camp_aero_phase_data::pack_size (this, comm)
 Determine the size of a binary required to pack the aerosol representation data.
 
subroutine camp_aero_phase_data::bin_pack (this, buffer, pos, comm)
 Pack the given value to the buffer, advancing position.
 
subroutine camp_aero_phase_data::bin_unpack (this, buffer, pos, comm)
 Unpack the given value from the buffer, advancing position.
 
subroutine camp_aero_phase_data::do_print (this, file_unit)
 Print out the aerosol phase data.
 
elemental subroutine camp_aero_phase_data::finalize (this)
 Finalize the aerosol phase data.
 
subroutine camp_aero_phase_data::ensure_size (this, num_spec)
 Ensure there is enough room in the species dataset to add a specified number of species.
 
subroutine camp_aero_phase_data::add (this, spec_name)
 Add a new chemical species to the phase.
 
integer(kind=i_kind) function camp_aero_phase_data::find (this, spec_name)
 Get the index of an aerosol-phase species by name. Return 0 if the species is not found.
 
elemental subroutine camp_aero_phase_data::dereference (this)
 Dereference a pointer to aerosol phase data.
 
elemental subroutine camp_aero_phase_data::ptr_finalize (this)
 Finalize a pointer to aerosol phase data.
 

Variables

integer(kind=i_kind), parameter camp_aero_phase_data::realloc_inc = 50
 Reallocation increment.
 

Detailed Description

The camp_aero_phase_data module.

Definition in file aero_phase_data.F90.

Macro Definition Documentation

◆ DENSITY_

#define DENSITY_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+NUM_STATE_VAR_+x)

◆ MW_

#define MW_ (   x)    this%condensed_data_real(NUM_REAL_PROP_+x)

◆ NUM_INT_PROP_

#define NUM_INT_PROP_   1

◆ NUM_REAL_PROP_

#define NUM_REAL_PROP_   0

◆ NUM_STATE_VAR_

#define NUM_STATE_VAR_   this%condensed_data_int(1)

◆ SPEC_TYPE_

#define SPEC_TYPE_ (   x)    this%condensed_data_int(NUM_INT_PROP_+x)