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

Function has_solution_concentration

src/CoolProp.cpp:140–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138 return (fluid_string.find('[') != std::string::npos && fluid_string.find(']') != std::string::npos);
139}
140bool has_solution_concentration(const std::string& fluid_string) {
141 // If can find "-", expect mass fractions encoded as string
142 return (fluid_string.find('-') != std::string::npos && fluid_string.find('%') != std::string::npos);
143}
144
145struct delim : std::numpunct<char>
146{

Callers 2

extract_fractionsFunction · 0.85
_PropsSI_initializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected