OpenMD 3.1
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::PolynomialBondType Class Reference

"types/PolynomialBondType.hpp" More...

#include <PolynomialBondType.hpp>

+ Inheritance diagram for OpenMD::PolynomialBondType:

Public Member Functions

 PolynomialBondType (RealType r0)
 
void setCoefficient (int power, RealType coefficient)
 
RealType getCoefficient (int power)
 
void calcForce (RealType r, RealType &V, RealType &dVdr)
 
- Public Member Functions inherited from OpenMD::BondType
 BondType (RealType myR0)
 
RealType getEquilibriumBondLength ()
 
void setEquilibriumBondLength (RealType myR0)
 

Friends

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

Additional Inherited Members

- Protected Attributes inherited from OpenMD::BondType
RealType r0
 

Detailed Description

"types/PolynomialBondType.hpp"

Todo
documentation

Definition at line 65 of file PolynomialBondType.hpp.

Constructor & Destructor Documentation

◆ PolynomialBondType()

OpenMD::PolynomialBondType::PolynomialBondType ( RealType r0)
inline

Definition at line 67 of file PolynomialBondType.hpp.

Member Function Documentation

◆ calcForce()

void OpenMD::PolynomialBondType::calcForce ( RealType r,
RealType & V,
RealType & dVdr )
inlinevirtual

Implements OpenMD::BondType.

Definition at line 77 of file PolynomialBondType.hpp.

◆ getCoefficient()

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

Definition at line 73 of file PolynomialBondType.hpp.

◆ setCoefficient()

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

Definition at line 69 of file PolynomialBondType.hpp.

Friends And Related Symbol Documentation

◆ operator<<

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

Definition at line 89 of file PolynomialBondType.hpp.


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