| 301 | return true; |
| 302 | } |
| 303 | bool AbstractState::clear() { |
| 304 | // Reset all instances of CachedElement |
| 305 | cache.clear(); |
| 306 | |
| 307 | this->_critical.fill(_HUGE); |
| 308 | |
| 309 | /// Bulk values |
| 310 | this->_rhomolar = -_HUGE; |
| 311 | this->_T = -_HUGE; |
| 312 | this->_p = -_HUGE; |
| 313 | this->_Q = -_HUGE; |
| 314 | |
| 315 | return true; |
| 316 | } |
| 317 | void AbstractState::mass_to_molar_inputs(CoolProp::input_pairs& input_pair, CoolPropDbl& value1, CoolPropDbl& value2) { |
| 318 | // Check if a mass based input, convert it to molar units |
| 319 |
no test coverage detected