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
| 110 | @param properties ExternalThermodynamicState property struct |
| 111 | */ |
| 112 | void 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 | /*! |
no test coverage detected