24 #include "Potential.h" 25 #include "functions/CubicSpline.h" 43 virtual double cutoff()
const override {
return _cutoff; }
85 double zero_atom_energy;
Base class for maintaining structures.
Definition: AtomicStructure.h:42
void parseSplineDefinition(CubicSpline &spline, std::istream &stream)
Parses a single spline definition from the potential file.
Definition: TabulatedMEAMPotential.cpp:287
virtual double cutoff() const override
Returns the maximum cutoff of the potential.
Definition: TabulatedMEAMPotential.h:43
Definition: NeighborList.h:58
virtual double computeEnergyAndForces(AtomicStructure &structure, NeighborList &neighborList) override
Computes the total energy and forces of the structure.
Definition: TabulatedMEAMPotential.cpp:93
Definition: TabulatedMEAMPotential.h:35
void parseMEAMFile(const FPString &filename)
Parses the MEAM spline functionals from the given parameters file.
Definition: TabulatedMEAMPotential.cpp:255
Definition: CubicSpline.h:37
virtual double computeEnergy(AtomicStructure &structure, NeighborList &neighborList) override
Computes the total energy of the structure.
Definition: TabulatedMEAMPotential.cpp:43
Definition: TabulatedMEAMPotential.h:90
virtual size_t perAtomDataSize() const override
Definition: TabulatedMEAMPotential.h:56
void writeSplineDefinition(const CubicSpline &spline, std::ostream &stream) const
Writes a single spline definition to the output potential file.
Definition: TabulatedMEAMPotential.cpp:341
This file collects the definition of classes that define various simple crystal structures.
Definition: Atomicrex.h:67
TabulatedMEAMPotential(const FPString &id, FitJob *job)
Constructor.
Definition: TabulatedMEAMPotential.cpp:36
std::string FPString
The default string type used throughout the code:
Definition: Atomicrex.h:70
Definition: XMLUtilities.h:69
FitJob * job() const
Returns a pointer to the job to which this object belongs.
Definition: FitObject.h:150
virtual size_t perBondDataSize() const override
Definition: TabulatedMEAMPotential.h:60
void writeParamsFile(const FPString &filename) const
Writes the potential's parameters to the given output file.
Definition: TabulatedMEAMPotential.cpp:321
virtual void parse(XML::Element potentialElement) override
Parses any potential-specific parameters in the XML element in the job file.
Definition: TabulatedMEAMPotential.cpp:236
Base class for potential.
Definition: Potential.h:41