OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::RestraintForceModifier Class Reference
+ Inheritance diagram for OpenMD::RestraintForceModifier:

Public Member Functions

 RestraintForceModifier (SimInfo *info)
 
void modifyForces () override
 

Protected Member Functions

RealType doRestraints (RealType scalingFactor)
 
RealType getUnscaledPotential ()
 
- Protected Member Functions inherited from OpenMD::ForceModifier
 ForceModifier (SimInfo *info)
 

Additional Inherited Members

- Protected Attributes inherited from OpenMD::ForceModifier
SimInfoinfo_ {nullptr}
 

Detailed Description

Definition at line 59 of file RestraintForceModifier.hpp.

Constructor & Destructor Documentation

◆ RestraintForceModifier()

OpenMD::RestraintForceModifier::RestraintForceModifier ( SimInfo * info)

Definition at line 69 of file RestraintForceModifier.cpp.

◆ ~RestraintForceModifier()

OpenMD::RestraintForceModifier::~RestraintForceModifier ( )
virtual

Definition at line 337 of file RestraintForceModifier.cpp.

Member Function Documentation

◆ doRestraints()

RealType OpenMD::RestraintForceModifier::doRestraints ( RealType scalingFactor)
protected

Definition at line 368 of file RestraintForceModifier.cpp.

◆ getUnscaledPotential()

RealType OpenMD::RestraintForceModifier::getUnscaledPotential ( )
inlineprotected

Definition at line 68 of file RestraintForceModifier.hpp.

◆ modifyForces()

void OpenMD::RestraintForceModifier::modifyForces ( )
overridevirtual

Implements OpenMD::ForceModifier.

Definition at line 343 of file RestraintForceModifier.cpp.


The documentation for this class was generated from the following files: