1 #ifndef MCMD_GROUP_REBRIDGE_BASE_H 2 #define MCMD_GROUP_REBRIDGE_BASE_H 11 #include <mcMd/mcMoves/SystemMove.h> 12 #include <mcMd/mcSimulation/McSystem.h> 14 #include <mcMd/potentials/angle/AnglePotential.h> 16 #include <simp/boundary/Boundary.h> 17 #include <util/space/Vector.h> 59 int bondType,
double &energy);
72 double angleEnergy(
const Atom &a,
const Atom &b,
const Atom &c,
int type);
88 Atom* mPtr,
Atom* nPtr,
int bondType,
double &energy);
97 const Atom &c,
int type)
105 cosTheta = r1.
dot(r2);
106 return system().anglePotential().energy(cosTheta, type);
A System for use in a Markov chain Monte Carlo simulation.
A Vector is a Cartesian vector.
double dot(const Vector &v) const
Return dot product of this vector and vector v.
Classes used by all simpatico molecular simulations.
A point particle within a Molecule.
Utility classes for scientific computation.
An McMove that acts on one McSystem.
double angleEnergy(const Atom &a, const Atom &b, const Atom &c, int type)
Calculate the angle energy for a bead triple.
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
double abs() const
Return absolute magnitude of this vector.
const Vector & position() const
Get the position Vector by const reference.
Base class for rebridging a group of atoms forming a tetrahedron.