2#ifndef INCOMPRESSIBLEBACKEND_H_
3#define INCOMPRESSIBLEBACKEND_H_
36 void set_fractions(
const std::vector<CoolPropDbl>& fractions);
78 if (!ParamName.compare(
"long_name")) {
86 bool clear()
override;
89 void set_reference_state(
double T0 = 20 + 273.15,
double p0 = 101325,
double x0 = 0.0,
double h0 = 0.0,
double s0 = 0.0);
189 throw NotImplementedError(
"Molar mass is not defined for the INCOMP (incompressible) backend; INCOMP fluids are mass-based.");
192 throw NotImplementedError(
"Dmolar / rhomolar is not defined for the INCOMP backend; use Dmass / rhomass instead.");
195 throw NotImplementedError(
"Hmolar / hmolar is not defined for the INCOMP backend; use Hmass / hmass instead.");
198 throw NotImplementedError(
"Smolar / smolar is not defined for the INCOMP backend; use Smass / smass instead.");
201 throw NotImplementedError(
"Umolar / umolar is not defined for the INCOMP backend; use Umass / umass instead.");
204 throw NotImplementedError(
"Cpmolar / cpmolar is not defined for the INCOMP backend; use Cpmass / cpmass instead.");
207 throw NotImplementedError(
"Cvmolar / cvmolar is not defined for the INCOMP backend; use Cvmass / cvmass instead.");