1 #ifndef DDMD_BOND_POTENTIAL_H 2 #define DDMD_BOND_POTENTIAL_H 4 #include <ddMd/potentials/Potential.h> 5 #include <simp/boundary/Boundary.h> 20 template <
int N>
class GroupStorage;
78 virtual void setNBondType(
int nBondType) = 0;
89 virtual double bondEnergy(
double rsq,
int bondTypeId)
const = 0;
97 virtual double bondForceOverR(
double rsq,
int bondTypeId)
const = 0;
112 randomBondLength(
Random* random,
double beta,
int bondTypeId)
const = 0;
121 virtual void set(std::string name,
int bondTypeId,
double value) = 0;
129 virtual double get(std::string name,
int bondTypeId)
const = 0;
134 virtual std::string interactionClassName()
const = 0;
161 {
return *boundaryPtr_; }
164 {
return *storagePtr_; }
An orthorhombic periodic unit cell.
Abstract base class for computing bond forces and energies.
Parallel domain decomposition (DD) MD simulation.
Classes used by all simpatico molecular simulations.
Main object for a domain-decomposition MD simulation.
A Potential represents a potential energy contribution.
Utility classes for scientific computation.
GroupStorage< 2 > & storage() const
Return bond storage by reference.
Boundary & boundary() const
Return boundary by reference.