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

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

#include "types/FixedBondType.hpp"

+ Inheritance diagram for OpenMD::FixedBondType:

Public Member Functions

 FixedBondType (RealType r0)
 
virtual void calcForce (RealType, RealType &V, RealType &dVdr)
 
- Public Member Functions inherited from OpenMD::BondType
 BondType (RealType myR0)
 
RealType getEquilibriumBondLength ()
 
void setEquilibriumBondLength (RealType myR0)
 

Additional Inherited Members

- Protected Attributes inherited from OpenMD::BondType
RealType r0
 

Detailed Description

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

Definition at line 64 of file FixedBondType.hpp.

Constructor & Destructor Documentation

◆ FixedBondType()

OpenMD::FixedBondType::FixedBondType ( RealType r0)
inline

Definition at line 66 of file FixedBondType.hpp.

◆ ~FixedBondType()

virtual OpenMD::FixedBondType::~FixedBondType ( )
inlinevirtual

Definition at line 67 of file FixedBondType.hpp.

Member Function Documentation

◆ calcForce()

virtual void OpenMD::FixedBondType::calcForce ( RealType ,
RealType & V,
RealType & dVdr )
inlinevirtual

Implements OpenMD::BondType.

Definition at line 69 of file FixedBondType.hpp.


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