20 #ifndef JDFTX_FLUID_FMIX_H 21 #define JDFTX_FLUID_FMIX_H 39 virtual string getName()
const=0;
55 virtual double computeUniform(
const std::vector<double>& N, std::vector<double>& Phi_N)
const=0;
58 #endif // JDFTX_FLUID_FMIX_H virtual string getName() const =0
A string identifier for this mixing functional (used in EnergyComponent label)
Fmix(FluidMixture *fluidMixture)
Initialize base and register with this fluidMixture.
Simulation grid descriptor.
Definition: GridInfo.h:45
Mixture of fluids that provides the total free energy functional for minimization Constructing Fex an...
Definition: FluidMixture.h:32
Abstract base class for mixing functionals: interactions between fluids (beyond hard sphere and scale...
Definition: Fmix.h:29
virtual double compute(const ScalarFieldTildeArray Ñ, ScalarFieldTildeArray &Phi_Ntilde) const =0
virtual double computeUniform(const std::vector< double > &N, std::vector< double > &Phi_N) const =0
classes ScalarFieldArray, ScalarFieldTildeArray and just enough operators to enable CG w...
std::vector< ScalarFieldTilde > ScalarFieldTildeArray
dynamic size collection of reciprocal space scalar fields
Definition: ScalarFieldArray.h:33