Compute temperature ! This function returns the temperature from the state specified by the properties input Must be re-implemented in the specific solver @param properties ExternalThermodynamicState property struct corresponding to current state */
| 154 | @param properties ExternalThermodynamicState property struct corresponding to current state |
| 155 | */ |
| 156 | double BaseSolver::T(ExternalThermodynamicState* const properties) { |
| 157 | // Base function returns an error if called - should be redeclared by the solver object |
| 158 | errorMessage((char*)"Internal error: T() not implemented in the Solver object"); |
| 159 | return 0; |
| 160 | } |
| 161 | |
| 162 | //! Compute velocity of sound |
| 163 | /*! |