8 #ifndef EXCLUDEDVOLUMEMODEL_H 9 #define EXCLUDEDVOLUMEMODEL_H 37 virtual double xMax()
const {
return 1.; }
38 virtual double f(
double x)
const {
return 1. / (1. - x); }
39 virtual double g1(
double x)
const {
return 1. / (1. - x); }
40 virtual double g2(
double x)
const {
return -log(1. - x); }
41 virtual double g3(
double )
const {
return 1.; }
42 virtual double Dg3(
double )
const {
return 0.; }
56 virtual double xMax()
const {
return 4.; }
57 virtual double f(
double x)
const {
59 return (1 + tx + tx * tx - tx * tx*tx) / (1. - tx) / (1. - tx) / (1. - tx);
61 virtual double g1(
double x)
const {
63 return (1 - tx / 2.) / (1. - tx) / (1. - tx) / (1. - tx);
65 virtual double g2(
double x)
const {
67 return (1 - 3.*x / 16.) * x / (1. - tx) / (1. - tx);
69 virtual double g3(
double x)
const {
71 return (1 - tx / 2.) / (1 + tx + tx * tx - tx * tx*tx);
73 virtual double Dg3(
double x)
const {
75 double zn = (1 + tx + tx * tx - tx * tx*tx);
76 return -1. / 8. / zn - (1. - tx / 2.) / zn / zn * (1. / 4. + 2. * tx - 3.*tx*tx);
virtual double f(double x) const
virtual double Dg3(double x) const
virtual double g2(double x) const
virtual double g1(double x) const
virtual double g3(double x) const
virtual double g1(double x) const
virtual double f(double x) const
virtual double g2(double x) const
virtual ~ExcludedVolumeModel()
Derived class implementing auxiliary excluded-volume functions for multi-component mean-field approac...
virtual double xMax() const
virtual double xMax() const
virtual double Dg3(double) const
virtual double g3(double) const
virtual ~ExcludedVolumeModelCS()
The main namespace where all classes and functions of the Thermal-FIST library reside.
Base class implementing auxiliary excluded-volume functions needed for multi-component mean-field app...