1 #ifndef MCMD_PAIR_POTENTIAL_H 2 #define MCMD_PAIR_POTENTIAL_H 11 #include <mcMd/potentials/misc/EnergyCalculator.h> 12 #include <mcMd/potentials/misc/StressCalculator.h> 47 using EnergyCalculator::energy;
56 double energy(
double rsq,
int iAtomType,
int jAtomType)
const = 0;
62 double forceOverR(
double rsq,
int iAtomType,
int jAtomType)
const = 0;
72 virtual void set(std::string name,
int i,
int j,
double value) = 0;
81 virtual double get(std::string name,
int i,
int j)
const = 0;
86 virtual double maxPairCutoff()
const = 0;
91 virtual std::string interactionClassName()
const = 0;
virtual ~PairPotential()
Destructor (does nothing)
File containing preprocessor macros for error handling.
Interface for a class that calculates a total energy.
Utility classes for scientific computation.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Interface for a Pair Potential.
Interface for a stress calculator.