20 #ifndef JDFTX_FLUID_FEX_LJ_H 21 #define JDFTX_FLUID_FEX_LJ_H 26 #include <fluid/Fex.h> 27 #include <fluid/Fmix.h> 57 Fmix_LJ(
FluidMixture*, std::shared_ptr<FluidComponent> fluid1, std::shared_ptr<FluidComponent> fluid2,
double eps,
double sigma);
59 string getName()
const;
62 double computeUniform(
const std::vector<double>& N, std::vector<double>& Phi_N)
const;
64 std::shared_ptr<FluidComponent> fluid1, fluid2;
77 string getName()
const;
80 double computeUniform(
const std::vector<double>& N, std::vector<double>& Phi_N)
const;
82 std::shared_ptr<FluidComponent> fluid1, fluid2;
88 #endif // JDFTX_FLUID_FEX_LJ_H Gaussian Kernel interaction functional.
Definition: Fex_LJ.h:69
Simulation grid descriptor.
Definition: GridInfo.h:45
double computeUniform(const double *N, double *Phi_N) const
Mixture of fluids that provides the total free energy functional for minimization Constructing Fex an...
Definition: FluidMixture.h:32
std::shared_ptr< ScalarFieldTildeData > ScalarFieldTilde
A smart reference-counting pointer to ScalarFieldTildeData.
Definition: ScalarField.h:45
Abstract base class for mixing functionals: interactions between fluids (beyond hard sphere and scale...
Definition: Fmix.h:29
Abstract base class for excess functionals.
Definition: Fex.h:29
double compute(const ScalarFieldTilde *Ntilde, ScalarFieldTilde *Phi_Ntilde) const
Lennard-Jones interaction functional.
Definition: Fex_LJ.h:52
void setLJatt(RadialFunctionG &kernel, const GridInfo &gInfo, double eps, double sigma)
Initialize kernel to the attarctive part of a Lennard-Jones potential.
Fex_LJ(const FluidMixture *, const FluidComponent *, double eps, double sigmaOverride=0.0)
Named fluid components for which bulk properties / geometries / excess functionals are available...
Definition: FluidComponent.h:27
G-space radial function stored on a uniform grid (of |G|)
Definition: RadialFunction.h:28
std::vector< ScalarFieldTilde > ScalarFieldTildeArray
dynamic size collection of reciprocal space scalar fields
Definition: ScalarFieldArray.h:33
Lennard Jones fluid treated as a mean field perturbation about a soft FMT core.
Definition: Fex_LJ.h:34