OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::CubicBendType Class Reference

#include <CubicBendType.hpp>

+ Inheritance diagram for OpenMD::CubicBendType:

Public Member Functions

 CubicBendType (RealType theta, RealType k3, RealType k2, RealType k1, RealType k0)
 
void setForceConstant (RealType k3, RealType k2, RealType k1, RealType k0)
 
void getForceConstant (RealType &k3, RealType &k2, RealType &k1, RealType &k0)
 
virtual void calcForce (RealType theta, RealType &V, RealType &dVdTheta)
 
- Public Member Functions inherited from OpenMD::BendType
 BendType (RealType theta)
 
RealType getTheta ()
 
void setTheta (RealType theta)
 

Additional Inherited Members

- Protected Attributes inherited from OpenMD::BendType
RealType theta0_
 

Detailed Description

Todo
document

Definition at line 62 of file CubicBendType.hpp.

Constructor & Destructor Documentation

◆ CubicBendType()

OpenMD::CubicBendType::CubicBendType ( RealType theta,
RealType k3,
RealType k2,
RealType k1,
RealType k0 )
inline

Definition at line 64 of file CubicBendType.hpp.

Member Function Documentation

◆ calcForce()

virtual void OpenMD::CubicBendType::calcForce ( RealType theta,
RealType & V,
RealType & dVdTheta )
inlinevirtual

Implements OpenMD::BendType.

Definition at line 84 of file CubicBendType.hpp.

◆ getForceConstant()

void OpenMD::CubicBendType::getForceConstant ( RealType & k3,
RealType & k2,
RealType & k1,
RealType & k0 )
inline

Definition at line 76 of file CubicBendType.hpp.

◆ setForceConstant()

void OpenMD::CubicBendType::setForceConstant ( RealType k3,
RealType k2,
RealType k1,
RealType k0 )
inline

Definition at line 69 of file CubicBendType.hpp.


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