40 double pressureh = 0.;
43 std::vector<const MoleculeDef*> molech;
44 std::vector<double> weight_quan_molech;
45 std::vector<double> weight_mass_molech;
48 long qmolec()
const {
return qmolech; }
49 const std::vector<const MoleculeDef*>&
molec()
const {
54 return weight_quan_molech;
57 return weight_mass_molech;
60 return weight_quan_molech[n];
63 return weight_mass_molech[n];
71 GasDef(
const std::string& fname,
const std::string& fnotation,
long fqmolec,
72 const std::vector<std::string>& fmolec_not,
73 const std::vector<double>& fweight_quan_molec,
double fpressure,
74 double ftemperature,
double fdensity = -1.0);
78 GasDef(
const std::string& fname,
const std::string& fnotation,
long fqmolec,
79 const std::vector<std::string>& fmolec_not,
80 const std::vector<double>& fweight_volume_molec,
double fpressure,
81 double ftemperature,
int s1,
int s2);
83 GasDef(
const std::string& fname,
const std::string& fnotation,
84 const std::string& fmolec_not,
double fpressure,
double ftemperature,
85 double fdensity = -1.0);
88 GasDef(
const std::string& fname,
const std::string& fnotation,
89 const std::string& fmolec_not,
double fpressure,
double ftemperature,
92 GasDef(
const std::string& fname,
const std::string& fnotation,
93 const std::string& fmolec_not1,
double fweight_quan_molec1,
94 const std::string& fmolec_not2,
double fweight_quan_molec2,
95 double fpressure,
double ftemperature,
double fdensity = -1.0);
97 GasDef(
const std::string& fname,
const std::string& fnotation,
98 const std::string& fmolec_not1,
double fweight_volume_molec1,
99 const std::string& fmolec_not2,
double fweight_volume_molec2,
100 double fpressure,
double ftemperature,
int s1,
int s2);
102 GasDef(
const std::string& fname,
const std::string& fnotation,
103 const std::string& fmolec_not1,
double fweight_quan_molec1,
104 const std::string& fmolec_not2,
double fweight_quan_molec2,
105 const std::string& fmolec_not3,
double fweight_quan_molec3,
106 double fpressure,
double ftemperature,
double fdensity = -1.0);
108 GasDef(
const std::string& fname,
const std::string& fnotation,
109 const std::string& fmolec_not1,
double fweight_volume_molec1,
110 const std::string& fmolec_not2,
double fweight_volume_molec2,
111 const std::string& fmolec_not3,
double fweight_volume_molec3,
112 double fpressure,
double ftemperature,
int s1,
int s2);
114 GasDef(
const std::string& fname,
const std::string& fnotation,
115 const GasDef& gd,
double fpressure,
double ftemperature,
116 double fdensity = -1.0);
118 void print(std::ostream& file,
int l = 0)
const;