48 VPSSMgr(right.m_vptp_ptr, right.m_spthermo)
68 for (
size_t k = 0; k <
m_kk; k++) {
97 for (
size_t k = 0; k <
m_kk; k++) {
105 for (
size_t k = 0; k <
m_kk; k++) {
119 for (
size_t k = 0; k <
m_kk; k++) {
153 for (
size_t k = 0; k <
m_kk; k++) {
158 g[k] = _rt * (h0_RT - s0_R);
171 const XML_Node*
const phaseNode_ptr,
bool& doST)
184 std::string model = (*ss)[
"model"];
185 if (model ==
"constant_incompressible") {
189 throw CanteraError(
"VPSSMgr_General::returnPDSS_ptr",
"new PDSS_ConstVol failed");
191 }
else if (model ==
"waterIAPWS" || model ==
"waterPDSS") {
196 "failed dynamic cast");
200 }
else if (model ==
"HKFT") {
205 "failed dynamic cast");
209 }
else if (model ==
"IonFromNeutral") {
212 "failed dynamic cast");
218 "new PDSS_IonsFromNeutral failed");
222 }
else if (model ==
"constant" || model ==
"temperature_polynomial" || model ==
"density_temperature_polynomial") {
226 throw CanteraError(
"VPSSMgr_General::returnPDSS_ptr",
"new PDSS_SSVol failed");
230 "unknown standard state formulation: " + model);
237 const XML_Node*
const phaseNode_ptr)
276 return cVPSSMGR_GENERAL;