OpenMD 3.0
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::BondType Class Referenceabstract

BondType class is responsible for calculating the force and energy of the bond. More...

#include "types/BondType.hpp"

+ Inheritance diagram for OpenMD::BondType:

Public Member Functions

 BondType (RealType myR0)
 
virtual void calcForce (RealType r, RealType &V, RealType &dVdr)=0
 
RealType getEquilibriumBondLength ()
 
void setEquilibriumBondLength (RealType myR0)
 

Protected Attributes

RealType r0
 

Detailed Description

BondType class is responsible for calculating the force and energy of the bond.

Definition at line 64 of file BondType.hpp.

Constructor & Destructor Documentation

◆ BondType()

OpenMD::BondType::BondType ( RealType myR0)
inline

Definition at line 66 of file BondType.hpp.

◆ ~BondType()

virtual OpenMD::BondType::~BondType ( )
inlinevirtual

Definition at line 67 of file BondType.hpp.

Member Function Documentation

◆ getEquilibriumBondLength()

RealType OpenMD::BondType::getEquilibriumBondLength ( )
inline

Definition at line 70 of file BondType.hpp.

◆ setEquilibriumBondLength()

void OpenMD::BondType::setEquilibriumBondLength ( RealType myR0)
inline

Definition at line 71 of file BondType.hpp.

Member Data Documentation

◆ r0

RealType OpenMD::BondType::r0
protected

Definition at line 74 of file BondType.hpp.


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