SootLib
Loading...
Searching...
No Matches
nucleationModel.h
Go to the documentation of this file.
1#pragma once
2
3#include "state.h"
4#include "sootDefs.h"
5
6#include <vector>
7
8namespace soot {
9
10class sootModel;
11
17
19
21
22public:
23
26
28
29 std::vector<double> nucleationRxnRatios;
30 std::vector<double> nucleationPahRxnRates;
31
33
34 virtual double getNucleationSootRate(state &state) = 0;
35
36 void getNucleationGasRates(const double &msootDotNucl,
37 std::vector<double> &gasSourcesNucl) const;
38
40
41 nucleationModel() : nucleationPahRxnRates(std::vector<double>((int)pahSp::size, 0.0)),
42 nucleationRxnRatios( std::vector<double>((int)gasSp::size, 0.0)) { }
43 virtual ~nucleationModel() = default;
44
45};
46} // namespace soot
std::vector< double > nucleationPahRxnRates
mole ratios for PAH gas species rate coupling
void getNucleationGasRates(const double &msootDotNucl, std::vector< double > &gasSourcesNucl) const
virtual ~nucleationModel()=default
dimerStruct DIMER
used for PAH nucleation only
nucleationMech mechType
identity of the type of nucleation (child)
virtual double getNucleationSootRate(state &state)=0
sootModel * SM
back pointer to soot model
std::vector< double > nucleationRxnRatios
mole ratios for gas species rate coupling
Definition: sootDefs.h:11
nucleationMech
Definition: sootDefs.h:31
gasSp
Definition: sootDefs.h:39
pahSp
Definition: sootDefs.h:91