#include <density_force.hh>
Inherits Force.
Definition at line 42 of file density_force.hh.
Create an DensityForce. The density force only makes sense for simulation boxes with orthogonal base vectors.
Definition at line 50 of file density_force.hh.
| void addParticle |
( |
Real |
mass | ) |
|
| OpenMM::ForceImpl* createImpl |
( |
| ) |
const |
|
protected |
| void defineBody |
( |
const std::vector< int > & |
indices | ) |
|
| const std::vector<int>& getBody |
( |
int |
idx | ) |
const |
| int getNumBodies |
( |
| ) |
const |
|
inline |
| int getNumParticles |
( |
| ) |
const |
|
inline |
| Real getParticleMass |
( |
int |
idx | ) |
const |
| Real getResolution |
( |
| ) |
const |
|
inline |
| Real getScaling |
( |
| ) |
const |
|
inline |
| bool isInBody |
( |
int |
idx | ) |
const |
| void setScaling |
( |
Real |
scaling | ) |
|
|
inline |
| void updateParametersInContext |
( |
OpenMM::Context & |
context | ) |
|
| bool usesPeriodicBoundaryConditions |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: