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

Method setDewState

wrappers/Modelica/src/basesolver.cpp:444–447  ·  view source on GitHub ↗

Set dew state ! This function sets the dew state record dewProperties corresponding to the saturation data contained in the properties record. The default implementation of the setDewState function is relying on the correct behaviour of setState_ph with respect to the state input. Can be overridden in the specific solver code to get more efficient or correct handling of this situation.

Source from the content-addressed store, hash-verified

442 @param dewProperties ExternalThermodynamicState record where to write the dew point properties
443*/
444void BaseSolver::setDewState(ExternalSaturationProperties* const properties, int phase, ExternalThermodynamicState* const dewProperties) {
445 // Set the dew state property record based on the saturation properties record
446 setState_ph(properties->psat, properties->hv, phase, dewProperties);
447}
448
449//! Compute derivative of Ts wrt pressure
450/*!

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected