1 #ifndef OPENMM_AMOEBA_TORSION_TORSION_FORCE_IMPL_H_
2 #define OPENMM_AMOEBA_TORSION_TORSION_FORCE_IMPL_H_
35 #include "openmm/internal/ForceImpl.h"
36 #include "openmm/AmoebaTorsionTorsionForce.h"
37 #include "openmm/Kernel.h"
60 return std::map<std::string, double>();
This is the internal implementation of a Context.
Definition: ContextImpl.h:53
std::vector< std::vector< std::vector< double > > > TorsionTorsionGrid
Definition: AmoebaTorsionTorsionForce.h:43
This class implements the Amoeba torsion-torsion interaction.
Definition: AmoebaTorsionTorsionForce.h:53
void updateContextState(ContextImpl &context)
This method is called at the beginning of each time step.
Definition: AmoebaTorsionTorsionForceImpl.h:55
AmoebaTorsionTorsionForceImpl(const AmoebaTorsionTorsionForce &owner)
const AmoebaTorsionTorsionForce & getOwner() const
Get the Force object from which this ForceImpl was created.
Definition: AmoebaTorsionTorsionForceImpl.h:52
~AmoebaTorsionTorsionForceImpl()
This is the internal implementation of AmoebaTorsionTorsionForce.
Definition: AmoebaTorsionTorsionForceImpl.h:47
std::map< std::string, double > getDefaultParameters()
Get a map containing the default values for all adjustable parameters defined by this ForceImpl...
Definition: AmoebaTorsionTorsionForceImpl.h:59
static OPENMM_EXPORT_AMOEBA void reorderGrid(const TorsionTorsionGrid &grid, TorsionTorsionGrid &reorderedGrid)
void initialize(ContextImpl &context)
This is called after the ForceImpl is created and before updateContextState(), calcForces(), or calcEnergy() is called on it.
A Kernel encapsulates a particular implementation of a calculation that can be performed on the data ...
Definition: Kernel.h:58
A ForceImpl provides the internal implementation of a Force.
Definition: ForceImpl.h:57
std::vector< std::string > getKernelNames()
Get the names of all Kernels used by this Force.
double calcForcesAndEnergy(ContextImpl &context, bool includeForces, bool includeEnergy, int groups)
Calculate the force on each particle generated by this ForceImpl and/or this ForceImpl's contribution...