SootLib
|
Abstract base class for soot models. sootModel_MONO, etc. inherit from this.
Definition at line 22 of file sootModel.h.
#include <sootModel.h>
Public Member Functions | |
virtual void | setSourceTerms (state &state)=0 |
void | checkSpec () |
virtual double | pahSootCollisionRatePerDimer (const double mDimer) const |
virtual double | get_M0_sectional (const state &state) |
virtual double | get_M1_sectional (const state &state) |
sootModel (size_t nsoot_, nucleationModel *nucl_, growthModel *grow_, oxidationModel *oxid_, coagulationModel *coag_) | |
sootModel (size_t nsoot_, nucleationMech Nmech, growthMech Gmech, oxidationMech Omech, coagulationMech Cmech) | |
virtual | ~sootModel () |
Public Attributes | |
size_t | nsoot |
# of soot variables: moments or sections More... | |
nucleationModel * | nucl |
pointer to nucleation mechanism More... | |
growthModel * | grow |
pointer to growth mechanism More... | |
oxidationModel * | oxid |
pointer to oxidation mechanism More... | |
coagulationModel * | coag |
pointer to coagulation mechanism More... | |
bool | mechsNewedHere |
flag to delete "new" objects More... | |
psdMech | psdMechType |
one of MONO, LOGN, QMOM, MOMIC, SECT, etc. More... | |
std::vector< double > | mBins |
mass in sections for the sectional model More... | |
sourceTerms | sources |
struct containing soot, gas, and pah source terms vectors More... | |
sootModel::sootModel | ( | size_t | nsoot_, |
nucleationModel * | nucl_, | ||
growthModel * | grow_, | ||
oxidationModel * | oxid_, | ||
coagulationModel * | coag_ | ||
) |
Constructor taking pointers to chemistry models as input. User creates these pointers nominally by "new-ing" them.
nsoot_ | input: number of soot variables (moments or sections) |
nucl_ | input: pointer to nucleation model. |
grow_ | input: pointer to growth model. |
oxid_ | input: pointer to oxidation model. |
coag_ | input: pointer to coagulation model. |
Definition at line 45 of file sootModel.cc.
sootModel::sootModel | ( | size_t | nsoot_, |
nucleationMech | Nmech, | ||
growthMech | Gmech, | ||
oxidationMech | Omech, | ||
coagulationMech | Cmech | ||
) |
Constructor taking enumerations names as input. Chemistry pointers are created (new-ed) here based on those enumerations.
nsoot_ | input: number of soot variables (moments or sections) |
Nmech | input: one of enum class nucleationMech in sootDefs.h |
Gmech | input: one of enum class growthMech in sootDefs.h |
Omech | input: one of enum class oxidationMech in sootDefs.h |
Cmech | input: one of enum class coagulationMech in sootDefs.h |
Definition at line 73 of file sootModel.cc.
|
inlinevirtual |
Definition at line 79 of file sootModel.h.
|
pure virtual |
Implemented in soot::sootModel_LOGN, soot::sootModel_MOMIC, soot::sootModel_MONO, soot::sootModel_QMOM, and soot::sootModel_SECT.
void sootModel::checkSpec | ( | ) |
Verify the specification, HACA validity.
Definition at line 144 of file sootModel.cc.
|
inlinevirtual |
Definition at line 52 of file sootModel.h.
|
inlinevirtual |
Reimplemented in soot::sootModel_SECT.
Definition at line 56 of file sootModel.h.
|
inlinevirtual |
Reimplemented in soot::sootModel_SECT.
Definition at line 60 of file sootModel.h.
size_t soot::sootModel::nsoot |
# of soot variables: moments or sections
Definition at line 28 of file sootModel.h.
nucleationModel* soot::sootModel::nucl |
pointer to nucleation mechanism
Definition at line 30 of file sootModel.h.
growthModel* soot::sootModel::grow |
pointer to growth mechanism
Definition at line 31 of file sootModel.h.
oxidationModel* soot::sootModel::oxid |
pointer to oxidation mechanism
Definition at line 32 of file sootModel.h.
coagulationModel* soot::sootModel::coag |
pointer to coagulation mechanism
Definition at line 33 of file sootModel.h.
bool soot::sootModel::mechsNewedHere |
flag to delete "new" objects
Definition at line 35 of file sootModel.h.
psdMech soot::sootModel::psdMechType |
one of MONO, LOGN, QMOM, MOMIC, SECT, etc.
Definition at line 37 of file sootModel.h.
std::vector<double> soot::sootModel::mBins |
mass in sections for the sectional model
Definition at line 41 of file sootModel.h.
sourceTerms soot::sootModel::sources |
struct containing soot, gas, and pah source terms vectors
Definition at line 42 of file sootModel.h.