24 #include "Potential.h" 25 #include "functions/GridCubicSpline.h" 40 virtual double cutoff()
const override {
return _cutoff; }
Base class for maintaining structures.
Definition: AtomicStructure.h:42
Definition: NeighborList.h:58
Definition: GridCubicSpline.h:40
virtual size_t perAtomDataSize() const override
Definition: TabulatedEAMPotential.h:50
virtual double computeEnergy(AtomicStructure &structure, NeighborList &neighborList) override
Computes the total energy of the structure.
Definition: TabulatedEAMPotential.cpp:123
void parseSetflEAMFile(const FPString &filename)
Parses the tabulated EAM functionals from the given file in "setfl" format.
Definition: TabulatedEAMPotential.cpp:75
virtual double cutoff() const override
Returns the maximum cutoff of the potential.
Definition: TabulatedEAMPotential.h:40
TabulatedEAMPotential(const FPString &id, FitJob *job)
Constructor.
Definition: TabulatedEAMPotential.h:37
virtual void parse(XML::Element potentialElement) override
Parses any potential-specific parameters in the XML element in the job file.
Definition: TabulatedEAMPotential.cpp:235
This file collects the definition of classes that define various simple crystal structures.
Definition: Atomicrex.h:67
std::string FPString
The default string type used throughout the code:
Definition: Atomicrex.h:70
Definition: XMLUtilities.h:69
Definition: TabulatedEAMPotential.h:32
FitJob * job() const
Returns a pointer to the job to which this object belongs.
Definition: FitObject.h:150
void parseFuncflEAMFile(const FPString &filename)
Parses the tabulated EAM functionals from the given file in "funcfl" format.
Definition: TabulatedEAMPotential.cpp:35
virtual double computeEnergyAndForces(AtomicStructure &structure, NeighborList &neighborList) override
Computes the total energy and forces of the structure.
Definition: TabulatedEAMPotential.cpp:152
Base class for potential.
Definition: Potential.h:41