MCPcopy Create free account
hub / github.com/CoolProp/CoolProp / setState_dT

Method setState_dT

wrappers/Modelica/src/basesolver.cpp:112–115  ·  view source on GitHub ↗

Set state from d, T, and phase ! This function sets the thermodynamic state record for the given density d, the temperature T and the specified phase. The computed values are written to the ExternalThermodynamicState property struct. Must be re-implemented in the specific solver @param d Density @param T Temperature @param phase Phase (2 for two-phase, 1 for one-phase, 0 if not know

Source from the content-addressed store, hash-verified

110 @param properties ExternalThermodynamicState property struct
111*/
112void BaseSolver::setState_dT(double& d, double& T, int& phase, ExternalThermodynamicState* const properties) {
113 // Base function returns an error if called - should be redeclared by the solver object
114 errorMessage((char*)"Internal error: setState_dT() not implemented in the Solver object");
115}
116
117//! Set state from p, s, and phase
118/*!

Callers 1

Calls 1

errorMessageFunction · 0.85

Tested by

no test coverage detected