1 #ifndef PCSAFTBACKEND_H
2 #define PCSAFTBACKEND_H
16 const static double kb = 1.380649e-23;
17 const static double PI = 3.141592653589793;
18 const static double N_AV = 6.02214076e23;
19 const static double E_CHRG = 1.6021766208e-19;
20 const static double perm_vac = 8.854187817e-22;
33 std::vector<CoolPropDbl>
K,
37 shared_ptr<PCSAFTBackend>
SatL;
38 shared_ptr<PCSAFTBackend>
SatV;
59 vector<double>
XA_find(vector<double> XA_guess, vector<double> delta_ij,
double den,
62 double den, vector<double> XA, vector<double> ddelta_dx, vector<double> x);
63 vector<double>
dXAdt_find(vector<double> delta_ij,
double den,
64 vector<double> XA, vector<double> ddelta_dt, vector<double> x);
69 PCSAFTBackend(
const std::vector<std::string>& component_names,
bool generate_SatL_and_SatV =
true);