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

#include "types/FixedBondType.hpp"

Inheritance diagram for OpenMD::FixedBondType:

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)

Definition at line 65 of file FixedBondType.hpp.

◆ ~FixedBondType()

virtual OpenMD::FixedBondType::~FixedBondType ( )

Definition at line 66 of file FixedBondType.hpp.

Member Function Documentation

◆ calcForce()

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

Implements OpenMD::BondType.

Definition at line 68 of file FixedBondType.hpp.

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