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

"types/PolynomialBendType.hpp" More...

#include <PolynomialBendType.hpp>

+ Inheritance diagram for OpenMD::PolynomialBendType:

Public Member Functions

 PolynomialBendType (RealType theta)
 
void setCoefficient (int power, RealType coefficient)
 
RealType getCoefficient (int power)
 
void calcForce (RealType theta, RealType &V, RealType &dVdr)
 
- Public Member Functions inherited from OpenMD::BendType
 BendType (RealType theta)
 
RealType getTheta ()
 
void setTheta (RealType theta)
 

Friends

std::ostream & operator<< (std::ostream &os, PolynomialBendType &pbt)
 

Additional Inherited Members

- Protected Attributes inherited from OpenMD::BendType
RealType theta0_
 

Detailed Description

"types/PolynomialBendType.hpp"

Todo
documentation

Definition at line 67 of file PolynomialBendType.hpp.

Constructor & Destructor Documentation

◆ PolynomialBendType()

OpenMD::PolynomialBendType::PolynomialBendType ( RealType theta)
inline

Definition at line 69 of file PolynomialBendType.hpp.

Member Function Documentation

◆ calcForce()

void OpenMD::PolynomialBendType::calcForce ( RealType theta,
RealType & V,
RealType & dVdr )
inlinevirtual

Implements OpenMD::BendType.

Definition at line 79 of file PolynomialBendType.hpp.

◆ getCoefficient()

RealType OpenMD::PolynomialBendType::getCoefficient ( int power)
inline

Definition at line 75 of file PolynomialBendType.hpp.

◆ setCoefficient()

void OpenMD::PolynomialBendType::setCoefficient ( int power,
RealType coefficient )
inline

Definition at line 71 of file PolynomialBendType.hpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
PolynomialBendType & pbt )
friend

Definition at line 91 of file PolynomialBendType.hpp.


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