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

Method clear

src/AbstractState.cpp:303–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

301 return true;
302}
303bool 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}
317void 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

Callers 15

plotMethod · 0.45
makeMatrixFunction · 0.45
mainFunction · 0.45
calc_isolinesFunction · 0.45
extract_fractionsFunction · 0.45
_PropsSI_outputsFunction · 0.45
_split_strFunction · 0.45
capi_set_errorFunction · 0.45
capi_makeFunction · 0.45
capi_updateFunction · 0.45

Calls 1

fillMethod · 0.80

Tested by

no test coverage detected