31 std::vector<double> Tc, pc, omega, molemass, m_ii;
33 std::vector<std::string> m_fluid_names;
36 VTPRBackend(
const std::vector<std::string> fluid_identifiers,
const std::vector<double>& Tc,
const std::vector<double>& pc,
37 const std::vector<double>& acentric,
double R_u,
bool generate_SatL_and_SatV =
true) {
40 setup(fluid_identifiers, generate_SatL_and_SatV);
43 bool generate_SatL_and_SatV =
true) {
44 std::vector<double> Tc, pc, acentric;
45 N = fluid_identifiers.size();
49 for (std::size_t i = 0; i < fluid_identifiers.size(); ++i) {
51 Tc.push_back(comp.
Tc);
52 pc.push_back(comp.
pc);
57 setup(fluid_identifiers, generate_SatL_and_SatV);
80 void setup(
const std::vector<std::string>& names,
bool generate_SatL_and_SatV =
true);
103 void set_Q_k(
const size_t sgi,
const double value);