40    return -(
m_a[i][j] + 
m_a[j][i]);
 
 
   65        std::map<std::vector<double>, 
int> MapVDW;
 
   67        for (
int i = 0; i < 
m_N; ++i) {
 
   68            std::vector<double> param(0);
 
   69            for (
int j = 0; j < 
m_N; ++j)
 
   70                param.push_back(
m_a[i][j] + 
m_a[j][i]);
 
   71            for (
int j = 0; j < 
m_N; ++j)
 
   74            if (MapVDW.count(param) == 0) {
 
 
  163        for (
int i = 
m_N - 1; i >= 0; --i) {
 
 
  210        for (
int i = 0; i < 
m_N; ++i)
 
 
  218        std::map<double, int> MapMF;
 
  220        for (
int i = 0; i < 
m_N; ++i) {
 
  223            if (MapMF.count(param) == 0) {
 
 
  238        for (
int i = 0; i < n.size(); ++i)
 
 
virtual void ComputeComponents()
Computes the components based on the mean field parameters.
 
virtual double d4v(int i, int j, int k, int l) const
Calculates the fourth derivative of the mean field.
 
virtual double d3v(int i, int j, int k) const
Calculates the third derivative of the mean field.
 
std::vector< double > m_charges
 
virtual double d2v(int i, int j) const
Calculates the second derivative of the mean field.
 
virtual double dvdT() const
Calculates the temperature derivative of the mean field.
 
virtual void SetDensities(const std::vector< double > &n)
Sets the densities of particle species.
 
MeanFieldModelBase * m_mfmodel
 
virtual double dv(int i) const
Calculates the first derivative of the mean field.
 
virtual ~MeanFieldModelChargeDensityDependent()
Destructor for the MeanFieldModelChargeDensityDependent class.
 
virtual double v() const
Calculates the mean field value.
 
virtual void ComputeComponents()
Computes the components based on the mean field parameters.
 
virtual double d3v(int i, int j, int k) const
Calculates the third derivative of the mean field.
 
virtual double v() const
Calculates the mean field value.
 
virtual double dv(int i) const
Calculates the first derivative of the mean field.
 
virtual double d2v(int i, int j) const
Calculates the second derivative of the mean field.
 
virtual double d4v(int i, int j, int k, int l) const
Calculates the fourth derivative of the mean field.
 
virtual ~MeanFieldModelComponents()
Destructor for the MeanFieldModelComponents class.
 
std::vector< MeanFieldModelBase * > m_mfmodels
 
virtual double dvdT() const
Calculates the temperature derivative of the mean field.
 
std::vector< double > m_densities
 
std::vector< int > m_componentsFrom
 
virtual void SetDensities(const std::vector< double > &n)
Sets the densities of particle species.
 
virtual void ComputeComponents()
Computes the components based on the mean field parameters.
 
std::vector< double > m_densities_components
 
std::vector< int > m_components
 
virtual double v() const
Calculates the mean field value.
 
virtual void ComputeComponents()
Computes the components based on the mean field parameters.
 
virtual double dvdT() const
Calculates the temperature derivative of the mean field.
 
std::vector< std::vector< double > > m_a
 
std::vector< std::vector< double > > m_dadT
 
virtual double d2v(int i, int j) const
Calculates the second derivative of the mean field.
 
virtual double dv(int i) const
Calculates the first derivative of the mean field.
 
The main namespace where all classes and functions of the Thermal-FIST library reside.