1 #ifndef MCMD_BOND_POTENTIAL_H 2 #define MCMD_BOND_POTENTIAL_H 11 #include <util/param/ParamComposite.h> 12 #include <mcMd/potentials/misc/EnergyCalculator.h> 13 #include <mcMd/potentials/misc/StressCalculator.h> 61 virtual double energy(
double rSq,
int type)
const = 0;
72 virtual double forceOverR(
double rSq,
int type)
const = 0;
88 double randomBondLength(
Util::Random* random,
double beta,
int type)
98 virtual void set(std::string name,
int type,
double value) = 0;
106 virtual double get(std::string name,
int type)
const = 0;
111 virtual std::string interactionClassName()
const = 0;
120 virtual void addForces() = 0;
128 virtual double atomEnergy(
const Atom& atom)
const = 0;
131 using EnergyCalculator::energy;
Interface for a class that calculates a total energy.
A point particle within a Molecule.
Utility classes for scientific computation.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Abstract Bond Potential class.
An object that can read multiple parameters from file.
Interface for a stress calculator.