|
double | pressure () const |
|
long | qmolec () const |
|
const std::vector< PassivePtr< MoleculeDef > > & | molec () const |
|
PassivePtr< 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) |
|
virtual void | print (std::ostream &file, int l=0) const |
|
virtual 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) |
|
| ~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.
|
|
virtual void | print (std::ostream &file, int l) const |
|
virtual MatterDef * | copy () const |
|
| AtomMixDef () |
| 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< PassivePtr< AtomDef > > & | atom () const |
|
PassivePtr< 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 |
|
| RegPassivePtr (void) |
|
| RegPassivePtr (char fs_ban_del, char fs_ban_sub, char fs_ban_cop=0) |
|
| RegPassivePtr (const RegPassivePtr &f) |
|
RegPassivePtr & | operator= (const RegPassivePtr &f) |
|
CountPP_ns::CountPassivePtr * | book (void) const |
|
void | clear_pointers (void) const |
|
virtual RegPassivePtr * | copy () const |
|
virtual | ~RegPassivePtr () |
|
virtual void | print (std::ostream &file, int l=1) const |
|
void | set_s_ban_del (char fs_ban_del) |
|
char | get_s_ban_del (void) const |
|
void | set_s_ban_sub (char fs_ban_sub) |
|
char | get_s_ban_sub (void) const |
|
void | set_s_ban_cop (char fs_ban_cop) |
|
char | get_s_ban_cop (void) const |
|
void | set_s_allow_del_at_zero_count (char fs_allow_del_at_zero_count) |
|
char | get_s_allow_del_at_zero_count (void) const |
|
long | get_total_number_of_references (void) 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 - DynLinArr< PassivePtr<MoleculeDef> >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.