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

This inversion potential has the form: More...

#include <HarmonicInversionType.hpp>

+ Inheritance diagram for OpenMD::HarmonicInversionType:

Public Member Functions

 HarmonicInversionType (RealType d0, RealType phi0)
 
virtual void calcForce (RealType phi, RealType &V, RealType &dVdPhi)
 
virtual InversionKey getKey ()
 

Friends

std::ostream & operator<< (std::ostream &os, HarmonicInversionType &ttt)
 

Detailed Description

This inversion potential has the form:

\[ V_{inv} = \frac{d_0}{2} \left(\phi - \phi_0\right)^2 \]

Definition at line 65 of file HarmonicInversionType.hpp.

Constructor & Destructor Documentation

◆ HarmonicInversionType()

OpenMD::HarmonicInversionType::HarmonicInversionType ( RealType d0,
RealType phi0 )
inline

Definition at line 67 of file HarmonicInversionType.hpp.

Member Function Documentation

◆ calcForce()

virtual void OpenMD::HarmonicInversionType::calcForce ( RealType phi,
RealType & V,
RealType & dVdPhi )
inlinevirtual

Implements OpenMD::InversionType.

Definition at line 70 of file HarmonicInversionType.hpp.

◆ getKey()

virtual InversionKey OpenMD::HarmonicInversionType::getKey ( )
inlinevirtual

Implements OpenMD::InversionType.

Definition at line 77 of file HarmonicInversionType.hpp.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream & os,
HarmonicInversionType & ttt )
friend

Definition at line 86 of file HarmonicInversionType.hpp.


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