Scalar EOS functional from [28] and its extension from [33]. More...
#include <Fex_ScalarEOS.h>
Public Member Functions | |
Fex_ScalarEOS (const FluidMixture *, const FluidComponent *, const ScalarEOS &eos) | |
double | compute (const ScalarFieldTilde *Ntilde, ScalarFieldTilde *Phi_Ntilde) const |
double | computeUniform (const double *N, double *Phi_N) const |
Public Member Functions inherited from Fex | |
Fex (const FluidMixture *, const FluidComponent *) | |
Additional Inherited Members | |
Public Attributes inherited from Fex | |
const Molecule & | molecule |
const GridInfo & | gInfo |
const double | T |
|
virtual |
Return the excess free energy given the reciprocal space site densities and accumulate the gradient (functional derivative) w.r.t them in Phi_Ntilde
Implements Fex.
|
virtual |
Return the uniform fluid excess free energy density given the site densities N and accumulate the derivative w.r.t them in Phi_N. This MUST return the result corresponding to calling compute() with a uniform scalar field. This is called several times during FluidMixture::initialize() to get the desired bulk properties
Implements Fex.