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-volume", []() {
return new PDSS_ConstVol(); });
24 addAlias(
"constant-volume",
"constant_incompressible");
25 addAlias(
"constant-volume",
"constant-incompressible");
26 reg(
"liquid-water-IAPWS95", []() {
return new PDSS_Water(); });
27 addAlias(
"liquid-water-IAPWS95",
"waterPDSS");
28 addAlias(
"liquid-water-IAPWS95",
"waterIAPWS");
29 addAlias(
"liquid-water-IAPWS95",
"water");
30 reg(
"ions-from-neutral-molecule", []() {
return new PDSS_IonsFromNeutral(); });
31 addAlias(
"ions-from-neutral-molecule",
"IonFromNeutral");
32 addAlias(
"ions-from-neutral-molecule",
"ions-from-neutral");
33 reg(
"molar-volume-temperature-polynomial", []() {
return new PDSS_SSVol(); });
34 addAlias(
"molar-volume-temperature-polynomial",
"temperature_polynomial");
35 reg(
"density-temperature-polynomial", []() {
return new PDSS_SSVol(); });
36 addAlias(
"density-temperature-polynomial",
"density_temperature_polynomial");
37 reg(
"HKFT", []() {
return new PDSS_HKFT(); });
40 PDSS* PDSSFactory::newPDSS(
const std::string& model)
45 PDSS* newPDSS(
const std::string& model)
47 return PDSSFactory::factory()->newPDSS(model);
Declarations for the class PDSS_ConstVol (pressure dependent standard state) which handles calculatio...
Declarations for the class PDSS_HKFT (pressure dependent standard state) which handles calculations f...
Declarations for the class PDSS_IdealGas (pressure dependent standard state) which handles calculatio...
Declarations for the class PDSS_IonsFromNeutral ( which handles calculations for a single ion in a fl...
Declarations for the class PDSS_SSVol (pressure dependent standard state) which handles calculations ...
Implementation of a pressure dependent standard state virtual function for a Pure Water Phase (see Sp...
Namespace for the Cantera kernel.