16 std::pair<std::string, CriticalSplineStruct_T> name_map_datad[] = {
22 std::map<std::string, CriticalSplineStruct_T> name_map(name_map_datad, name_map_datad +
sizeof name_map_datad /
sizeof name_map_datad[0]);
24 std::map<std::string,CriticalSplineStruct_T>::iterator it;
26 it = name_map.find(pFluid->
get_name());
29 if (it != name_map.end() )
void set_critical_spline_constants(Fluid *pFluid)
std::string get_name()
Returns a std::string with the name of the fluid.
Fluid is the abstract base class that is employed by all the other fluids.
CriticalSplineStruct_T CriticalSpline_T