OpenMD  2.5
Molecular Dynamics in the Open
OpenMD::FixedBondType Class Reference

#include "types/FixedBondType.hpp"

Inheritance diagram for OpenMD::FixedBondType:
OpenMD::BondType

Public Member Functions

 FixedBondType (RealType r0)
 
virtual ~FixedBondType ()
 
virtual void calcForce (RealType r, RealType &V, RealType &dVdr)
 
- Public Member Functions inherited from OpenMD::BondType
 BondType (RealType myR0)
 
virtual ~BondType ()
 
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 63 of file FixedBondType.hpp.

Constructor & Destructor Documentation

◆ FixedBondType()

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

Definition at line 65 of file FixedBondType.hpp.

◆ ~FixedBondType()

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

Definition at line 66 of file FixedBondType.hpp.

Member Function Documentation

◆ calcForce()

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

Implements OpenMD::BondType.

Definition at line 68 of file FixedBondType.hpp.


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