A collection of all restraints pertaining to a specific topology for the purposes of one simulation, energy minimization, or even a single molecular mechanics calculation.
More...
|
| | RestraintApparatus (const RestraintApparatus &original) |
| | The copy constructor works like any other object containing POINTER-kind Hybrids.
|
| |
| | RestraintApparatus (RestraintApparatus &&original) |
| | The move constructor also works like other objects containing POINTER-kind Hybrids.
|
| |
| RestraintApparatus & | operator= (const RestraintApparatus &other) |
| | Copy assignment operator.
|
| |
| RestraintApparatus & | operator= (RestraintApparatus &&other) |
| | Move assignment operator.
|
| |
|
int | getTotalRestraintCount () const |
| | Get the total number of restraints in this apparatus.
|
| |
|
int | getPositionalRestraintCount () const |
| | Get the number of positional restraints.
|
| |
|
int | getDistanceRestraintCount () const |
| | Get the number of distance restraints.
|
| |
|
int | getAngleRestraintCount () const |
| | Get the number of angle restraints.
|
| |
|
int | getDihedralRestraintCount () const |
| | Get the number of dihedral restraints.
|
| |
|
bool | getTimeDependence () const |
| | Get an indication of whether this apparatus uses time-dependent restraints.
|
| |
|
const AtomGraph * | getTopologyPointer () const |
| | Get a pointer to the topology that this restraint collection supplements.
|
| |
| RestraintKit< double, double2, double4 > | dpData (HybridTargetLevel tier=HybridTargetLevel::HOST) const |
| | Get a double-precision abstract of this apparatus.
|
| |
| RestraintKit< float, float2, float4 > | spData (HybridTargetLevel tier=HybridTargetLevel::HOST) const |
| | Get a single-precision abstract of this apparatus.
|
| |
|
const int * | getApplicationStepPointer (int order, RestraintStage stage, HybridTargetLevel tier=HybridTargetLevel::HOST) const |
| | Get an integer pointer into one of the restraint initial or final application step parameter arrays, specified by the order of the restraint.
|
| |
|
const double2 * | getHarmonicStiffnessPointer (int order, RestraintStage stage, HybridTargetLevel tier=HybridTargetLevel::HOST) const |
| | Get a double-precision pointer into one of the restraint k(2,3) parameter arrays, specified by the order of the restraint and the initial or final condition.
|
| |
|
const double4 * | getDisplacementPointer (int order, RestraintStage stage, HybridTargetLevel tier=HybridTargetLevel::HOST) const |
| | Get a double-precision pointer into one of the displacement r(1,2,3,4) parameter arrays, specified by the order of the restraint and the initial or final condition.
|
| |
|
std::vector< BoundedRestraint > | getRestraintList () const |
| | Produce a vector of all the restraints in this apparatus, essentially the inverse of the constructor.
|
| |
|
const RestraintApparatus * | getSelfPointer () const |
| | Get a const pointer to the object itself, in case the object has been passed by const reference.
|
| |
|
| | RestraintApparatus (const AtomGraph *ag_in=nullptr) |
| | The constructor takes a vector of individual restraints.
|
| |
|
| RestraintApparatus (const std::vector< BoundedRestraint > &rbasis, const AtomGraph *ag_in=nullptr) |
| |
| void | addRestraints (const std::vector< BoundedRestraint > &new_rest) |
| | Add restraints to the apparatus.
|
| |
|
void | addRestraint (const BoundedRestraint &new_rest) |
| |
A collection of all restraints pertaining to a specific topology for the purposes of one simulation, energy minimization, or even a single molecular mechanics calculation.