20 double a()
const {
return ah; }
21 double b()
const {
return bh; }
22 double Vk()
const {
return Vkh; }
23 double Pk()
const {
return Pkh; }
24 double Tk()
const {
return Tkh; }
38std::ostream&
operator<<(std::ostream& file,
const VanDerWaals& f);
52 std::string notationh;
56 std::vector<long> qatom_psh;
66 const std::string&
name()
const {
return nameh; }
67 const std::string&
notation()
const {
return notationh; }
68 const std::vector<long>&
qatom_ps()
const {
return qatom_psh; }
69 long qatom_ps(
long n)
const {
return qatom_psh[n]; }
71 double A_total()
const {
return A_totalh; }
72 long tqatom()
const {
return tqatomh; }
75 MoleculeDef(
const std::string& fname,
const std::string& fnotation,
76 long fqatom,
const std::vector<std::string>& fatom_not,
77 const std::vector<long>& fqatom_ps,
79 MoleculeDef(
const std::string& fname,
const std::string& fnotation,
80 const std::string& fatom_not,
long fqatom_ps,
82 MoleculeDef(
const std::string& fname,
const std::string& fnotation,
83 const std::string& fatom_not1,
long fqatom_ps1,
84 const std::string& fatom_not2,
long fqatom_ps2,
86 MoleculeDef(
const std::string& fname,
const std::string& fnotation,
87 const std::string& fatom_not1,
long fqatom_ps1,
88 const std::string& fatom_not2,
long fqatom_ps2,
89 const std::string& fatom_not3,
long fqatom_ps3,
93 void print(std::ostream& file,
int l)
const;
94 static void printall(std::ostream& file);
108std::ostream&
operator<<(std::ostream& file,
const MoleculeDef& f);
Active pointer or automatic container or controlling pointer.
const std::vector< long > & qatom_ps() const
const std::string & name() const
void verify()
Check that there is no molecule with the same name in the container.
static MoleculeDef * get_MoleculeDef(const std::string &fnotation)
static void printall(std::ostream &file)
void print(std::ostream &file, int l) const
virtual MoleculeDef * copy() const
long qatom_ps(long n) const
const std::string & notation() const
const ActivePtr< VanDerWaals > & awls() const
static std::list< MoleculeDef * > & get_logbook()
static const std::list< MoleculeDef * > & get_const_logbook()
Helper class for Van-der-Waals equation.
virtual VanDerWaals * copy() const
double volume_of_mole(double T, double p, int &s_not_single)
std::ostream & operator<<(std::ostream &file, const BGMesh &bgm)