39 double pressureh = 0.;
42 std::vector<MoleculeDef*> molech;
43 std::vector<double> weight_quan_molech;
44 std::vector<double> weight_mass_molech;
47 long qmolec()
const {
return qmolech; }
48 const std::vector<MoleculeDef*>&
molec()
const {
53 return weight_quan_molech;
56 return weight_mass_molech;
59 return weight_quan_molech[n];
62 return weight_mass_molech[n];
69 GasDef(
const std::string& fname,
const std::string& fnotation,
long fqmolec,
70 const std::vector<std::string>& fmolec_not,
71 const std::vector<double>& fweight_quan_molec,
double fpressure,
72 double ftemperature,
double fdensity = -1.0);
75 GasDef(
const std::string& fname,
const std::string& fnotation,
long fqmolec,
76 const std::vector<std::string>& fmolec_not,
77 const std::vector<double>& fweight_volume_molec,
double fpressure,
78 double ftemperature,
int s1,
81 GasDef(
const std::string& fname,
const std::string& fnotation,
82 const std::string& fmolec_not,
double fpressure,
double ftemperature,
83 double fdensity = -1.0);
85 GasDef(
const std::string& fname,
const std::string& fnotation,
86 const std::string& fmolec_not,
double fpressure,
double ftemperature,
89 GasDef(
const std::string& fname,
const std::string& fnotation,
90 const std::string& fmolec_not1,
double fweight_quan_molec1,
91 const std::string& fmolec_not2,
double fweight_quan_molec2,
92 double fpressure,
double ftemperature,
double fdensity = -1.0);
94 GasDef(
const std::string& fname,
const std::string& fnotation,
95 const std::string& fmolec_not1,
double fweight_volume_molec1,
96 const std::string& fmolec_not2,
double fweight_volume_molec2,
97 double fpressure,
double ftemperature,
int s1,
int s2);
99 GasDef(
const std::string& fname,
const std::string& fnotation,
100 const std::string& fmolec_not1,
double fweight_quan_molec1,
101 const std::string& fmolec_not2,
double fweight_quan_molec2,
102 const std::string& fmolec_not3,
double fweight_quan_molec3,
103 double fpressure,
double ftemperature,
double fdensity = -1.0);
105 GasDef(
const std::string& fname,
const std::string& fnotation,
106 const std::string& fmolec_not1,
double fweight_volume_molec1,
107 const std::string& fmolec_not2,
double fweight_volume_molec2,
108 const std::string& fmolec_not3,
double fweight_volume_molec3,
109 double fpressure,
double ftemperature,
int s1,
int s2);
111 GasDef(
const std::string& fname,
const std::string& fnotation,
112 const GasDef& gd,
double fpressure,
double ftemperature,
113 double fdensity = -1.0);
115 void print(std::ostream& file,
int l = 0)
const;
118std::ostream&
operator<<(std::ostream& file,
const GasDef& f);
double Z_mean_molec() const
Mean charge of molecules in this gas.
void print(std::ostream &file, int l=0) const
const std::vector< double > & weight_quan_molec() const
MoleculeDef * molec(long n) const
double weight_quan_molec(const long n) const
const std::vector< double > & weight_mass_molec() const
const std::vector< MoleculeDef * > & molec() const
double weight_mass_molec(const long n) const
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)