17 PDSSFactory* PDSSFactory::s_factory = 0;
18 std::mutex PDSSFactory::thermo_mutex;
20 PDSSFactory::PDSSFactory()
22 reg(
"ideal-gas", []() {
return new PDSS_IdealGas(); });
23 reg(
"constant-incompressible", []() {
return new PDSS_ConstVol(); });
24 m_synonyms[
"constant_incompressible"] =
"constant-incompressible";
25 reg(
"water", []() {
return new PDSS_Water(); });
26 m_synonyms[
"waterPDSS"] = m_synonyms[
"waterIAPWS"] =
"water";
27 reg(
"ions-from-neutral", []() {
return new PDSS_IonsFromNeutral(); });
28 m_synonyms[
"IonFromNeutral"] =
"ions-from-neutral";
29 reg(
"temperature_polynomial", []() {
return new PDSS_SSVol(); });
30 m_synonyms[
"temperature-polynomial"] =
"temperature_polynomial";
31 m_synonyms[
"density_temperature_polynomial"] =
"temperature_polynomial";
32 m_synonyms[
"density-temperature-polynomial"] =
"temperature_polynomial";
33 reg(
"HKFT", []() {
return new PDSS_HKFT(); });
36 PDSS* PDSSFactory::newPDSS(
const std::string& model)
41 PDSS* newPDSS(
const std::string& model)
43 return PDSSFactory::factory()->newPDSS(model);
Implementation of a pressure dependent standard state virtual function for a Pure Water Phase (see Sp...
Declarations for the class PDSS_IdealGas (pressure dependent standard state) which handles calculatio...
Declarations for the class PDSS_SSVol (pressure dependent standard state) which handles calculations ...
Declarations for the class PDSS_ConstVol (pressure dependent standard state) which handles calculatio...
Namespace for the Cantera kernel.
Declarations for the class PDSS_IonsFromNeutral ( which handles calculations for a single ion in a fl...
Declarations for the class PDSS_HKFT (pressure dependent standard state) which handles calculations f...