23 reg(
"liquid-water-IAPWS95", []() {
return new PDSS_Water(); });
27 reg(
"molar-volume-temperature-polynomial", []() {
return new PDSS_SSVol(); });
29 reg(
"density-temperature-polynomial", []() {
return new PDSS_SSVol(); });
30 addDeprecatedAlias(
"density-temperature-polynomial",
"density_temperature_polynomial");
53PDSS* newPDSS(
const string& 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_SSVol (pressure dependent standard state) which handles calculations ...
Implementation of a pressure dependent standard state virtual function for a Pure Water Phase (see Sp...
PDSS * create(const string &name, Args... args)
Create an object using the object construction function corresponding to "name" and the provided cons...
void reg(const string &name, function< PDSS *(Args...)> f)
Register a new object construction function.
void addDeprecatedAlias(const string &original, const string &alias)
Add a deprecated alias for an existing registered type.
void deleteFactory() override
delete the static instance of this factory
PDSSFactory()
Private constructors prevents usage.
static std::mutex thermo_mutex
Decl for locking mutex for thermo factory singleton.
static PDSSFactory * factory()
Static function that creates a static instance of the factory.
static PDSSFactory * s_factory
static member of a single instance
PDSS * newPDSS(const string &model)
Create a new thermodynamic property manager.
Class for pressure dependent standard states that use a constant volume model.
Class for pressure dependent standard states corresponding to ionic solutes in electrolyte water.
Class for pressure dependent standard states that uses a standard state volume model of some sort.
Class for the liquid water pressure dependent standard state.
Virtual base class for a species with a pressure dependent standard state.
Namespace for the Cantera kernel.