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.
| 442 | @param dewProperties ExternalThermodynamicState record where to write the dew point properties |
| 443 | */ |
| 444 | void 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 | /*! |
no outgoing calls
no test coverage detected