1 #ifndef OPENMM_GBVIFORCEFIELDIMPL_H_
2 #define OPENMM_GBVIFORCEFIELDIMPL_H_
35 #include "ForceImpl.h"
36 #include "openmm/GBVIForce.h"
37 #include "openmm/Kernel.h"
56 void findScaledRadii(
int numberOfParticles,
const std::vector<std::vector<int> >& bondIndices,
57 const std::vector<double> & bondLengths, std::vector<double> & scaledRadii)
const;
67 return std::map<std::string, double>();
This is the internal implementation of a Context.
Definition: ContextImpl.h:53
const GBVIForce & getOwner() const
Get the Force object from which this ForceImpl was created.
Definition: GBVIForceImpl.h:50
void initialize(ContextImpl &context)
This is called after the ForceImpl is created and before updateContextState(), calcForces(), or calcEnergy() is called on it.
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...
void findScaledRadii(int numberOfParticles, const std::vector< std::vector< int > > &bondIndices, const std::vector< double > &bondLengths, std::vector< double > &scaledRadii) const
std::map< std::string, double > getDefaultParameters()
Get a map containing the default values for all adjustable parameters defined by this ForceImpl...
Definition: GBVIForceImpl.h:66
GBVIForceImpl(const GBVIForce &owner)
A Kernel encapsulates a particular implementation of a calculation that can be performed on the data ...
Definition: Kernel.h:58
This is the internal implementation of GBVIForce.
Definition: GBVIForceImpl.h:46
int getBondsFromForces(ContextImpl &context)
A ForceImpl provides the internal implementation of a Force.
Definition: ForceImpl.h:57
void updateContextState(ContextImpl &context)
This method is called at the beginning of each time step.
Definition: GBVIForceImpl.h:62
This class implements an implicit solvation force using the GB/VI model.
Definition: GBVIForce.h:51
std::vector< std::string > getKernelNames()
Get the names of all Kernels used by this Force.