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:
Henry Weller
2022-01-19 18:31:58 +00:00
parent 66f325fc41
commit b139515cf7
25 changed files with 524 additions and 636 deletions

View File

@ -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