chemistryTabulationMethods: Untemplated to simply the code and reduce compilation time
With the changes to chemistryModel to evaluate and integrate reaction rates mass-fraction based rather than mole-fraction based ISAT is now independent of the thermodynamics and with some restructuring of chemistryModel and the addition of the non-templated base-class odeChemistryModel is has been possible to un-template chemistryTabulationMethods and ISAT in particular. This simplifies the ISAT code and hence maintenance as well as reducing the compilation time of chemistryModel on the various thermo packages.
This commit is contained in:
@ -91,12 +91,10 @@ namespace Foam
|
||||
#if ${method}CppTest == chemistryModelCppTest
|
||||
|
||||
#include "makeChemistryReductionMethod.H"
|
||||
#include "makeChemistryTabulationMethod.H"
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
defineChemistryReductionMethod(nullArg, ThermoPhysics);
|
||||
defineChemistryTabulationMethod(nullArg, ThermoPhysics);
|
||||
}
|
||||
|
||||
#include "noChemistryReduction.H"
|
||||
@ -116,14 +114,6 @@ namespace Foam
|
||||
makeChemistryReductionMethod(PFA, ThermoPhysics);
|
||||
}
|
||||
|
||||
#include "noChemistryTabulation.H"
|
||||
#include "ISAT.H"
|
||||
namespace Foam
|
||||
{
|
||||
makeChemistryTabulationMethod(none, ThermoPhysics);
|
||||
makeChemistryTabulationMethod(ISAT, ThermoPhysics);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user