1 #ifndef MCMD_DIHEDRAL_POTENTIAL_H 2 #define MCMD_DIHEDRAL_POTENTIAL_H 11 #include <util/param/ParamComposite.h> 12 #include <mcMd/potentials/misc/EnergyCalculator.h> 13 #include <mcMd/potentials/misc/StressCalculator.h> 95 virtual void set(std::string name,
int type,
double value) = 0;
104 virtual double get(std::string name,
int type)
const = 0;
109 virtual std::string interactionClassName()
const = 0;
118 virtual void addForces() = 0;
137 using EnergyCalculator::energy;
A Vector is a Cartesian vector.
Interface for a Dihedral Potential.
#define UTIL_THROW(msg)
Macro for throwing an Exception, reporting function, file and line number.
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).
An object that can read multiple parameters from file.
Interface for a stress calculator.
virtual double atomEnergy(const Atom &atom) const
Compute and return the dihedral potential energy for one Atom.