|
double | pressure () const |
|
long | qmolec () const |
|
const std::vector< MoleculeDef * > & | molec () const |
|
MoleculeDef * | molec (long n) const |
|
const std::vector< double > & | weight_quan_molec () const |
|
const std::vector< double > & | weight_mass_molec () const |
|
double | weight_quan_molec (const long n) const |
|
double | weight_mass_molec (const long n) const |
|
double | Z_mean_molec () const |
| Mean charge of molecules in this gas.
|
|
| GasDef () |
|
| GasDef (const std::string &fname, const std::string &fnotation, long fqmolec, const std::vector< std::string > &fmolec_not, const std::vector< double > &fweight_quan_molec, double fpressure, double ftemperature, double fdensity=-1.0) |
|
| GasDef (const std::string &fname, const std::string &fnotation, long fqmolec, const std::vector< std::string > &fmolec_not, const std::vector< double > &fweight_volume_molec, double fpressure, double ftemperature, int s1, int s2) |
|
| GasDef (const std::string &fname, const std::string &fnotation, const std::string &fmolec_not, double fpressure, double ftemperature, double fdensity=-1.0) |
|
| GasDef (const std::string &fname, const std::string &fnotation, const std::string &fmolec_not, double fpressure, double ftemperature, int s1, int s2) |
|
| GasDef (const std::string &fname, const std::string &fnotation, const std::string &fmolec_not1, double fweight_quan_molec1, const std::string &fmolec_not2, double fweight_quan_molec2, double fpressure, double ftemperature, double fdensity=-1.0) |
|
| GasDef (const std::string &fname, const std::string &fnotation, const std::string &fmolec_not1, double fweight_volume_molec1, const std::string &fmolec_not2, double fweight_volume_molec2, double fpressure, double ftemperature, int s1, int s2) |
|
| GasDef (const std::string &fname, const std::string &fnotation, const std::string &fmolec_not1, double fweight_quan_molec1, const std::string &fmolec_not2, double fweight_quan_molec2, const std::string &fmolec_not3, double fweight_quan_molec3, double fpressure, double ftemperature, double fdensity=-1.0) |
|
| GasDef (const std::string &fname, const std::string &fnotation, const std::string &fmolec_not1, double fweight_volume_molec1, const std::string &fmolec_not2, double fweight_volume_molec2, const std::string &fmolec_not3, double fweight_volume_molec3, double fpressure, double ftemperature, int s1, int s2) |
|
| GasDef (const std::string &fname, const std::string &fnotation, const GasDef &gd, double fpressure, double ftemperature, double fdensity=-1.0) |
|
void | print (std::ostream &file, int l=0) const |
|
GasDef * | copy () const |
|
| MatterDef () |
|
| MatterDef (const std::string &fname, const std::string &fnotation, long fqatom, const std::vector< std::string > &fatom_not, const std::vector< double > &fweight_quan, double fdensity, double ftemperature) |
|
| MatterDef (const std::string &fname, const std::string &fnotation, const std::string &fatom_not, double fdensity, double ftemperature) |
|
| MatterDef (const std::string &fname, const std::string &fnotation, const std::string &fatom_not1, double fweight_quan1, const std::string &fatom_not2, double fweight_quan2, double fdensity, double ftemperature) |
|
| MatterDef (const std::string &fname, const std::string &fnotation, const std::string &fatom_not1, double fweight_quan1, const std::string &fatom_not2, double fweight_quan2, const std::string &fatom_not3, double fweight_quan3, double fdensity, double ftemperature) |
|
virtual | ~MatterDef () |
|
const std::string & | name () const |
|
const std::string & | notation () const |
|
double | density () const |
|
double | temperature () const |
|
double | I_eff () const |
|
void | verify () |
| Check that there is no matter with the same name in the container.
|
|
void | print (std::ostream &file, int l) const |
|
MatterDef * | copy () const |
|
| AtomMixDef ()=default |
| Default constructor.
|
|
| AtomMixDef (unsigned long fqatom, const std::vector< std::string > &fatom_not, const std::vector< double > &fweight_quan) |
|
| AtomMixDef (unsigned long fqatom, const std::vector< std::string > &fatom_not, const std::vector< long > &fweight_quan) |
|
| AtomMixDef (const std::string &fatom_not) |
|
| AtomMixDef (const std::string &fatom_not1, double fweight_quan1, const std::string &fatom_not2, double fweight_quan2) |
|
| AtomMixDef (const std::string &fatom_not1, double fweight_quan1, const std::string &fatom_not2, double fweight_quan2, const std::string &fatom_not3, double fweight_quan3) |
|
| AtomMixDef (const std::string &fatom_not1, double fweight_quan1, const std::string &fatom_not2, double fweight_quan2, const std::string &fatom_not3, double fweight_quan3, const std::string &fatom_not4, double fweight_quan4) |
|
void | print (std::ostream &file, int l) const |
|
long | qatom () const |
|
const std::vector< AtomDef * > & | atom () const |
|
AtomDef * | atom (long n) const |
|
const std::vector< double > & | weight_quan () const |
|
const std::vector< double > & | weight_mass () const |
|
double | weight_quan (long n) const |
|
double | weight_mass (long n) const |
|
double | Z_mean () const |
|
double | A_mean () const |
|
double | inv_A_mean () const |
|
double | mean_ratio_Z_to_A () const |
|
double | NumberOfElectronsInGram () const |
|
Definition of a gas. haracteristic feature of the Gas class is that it consists of molecules. Additional feature is that the density can be calculated by temperature and pressure. But this is not always, and therefore it is not characteristic feature. Then with only one this feature (consisting of molecules) we can describe as gas also some other substances, for example, the liquids.
Only the basic information: the data of matter, plus the pressure. Note that the class AtomMixDef undirectly appear twice. It is the base class of matter and molecula. Therefore it is indirectly the base class of GasDef, and the base class of its external elements molech.
As the base class of GasDef, the class AtomMixDef determines only the relative weights of atoms of different sorts. Also note that the atoms of the same sorts participated in different molecules, included in AtomMixDef as different atoms.
As the base class of MoleculeDef, the class AtomMixDef determines also only the relative weights of atoms of different sorts in the given molecule, since the class AtomMixDef doesn't have space to encapsulate the number of atoms. But the latter number is also necessary: consider H2, the relative weight of H is 1, and nothing says that there are two atoms. Therefore in the class MoleculeDef there is additional array, which gives the numbers of atoms of each sort, and also there is another parameter giving the total number of atoms in molecule.
1998-2004 I. Smirnov
Definition at line 38 of file GasDef.h.