OpenMD 3.2
Molecular Dynamics in the Open
Loading...
Searching...
No Matches
OpenMD::LJ Class Reference
Inheritance diagram for OpenMD::LJ:

Public Member Functions

void setForceField (ForceField *ff)
void setSimulatedAtomTypes (AtomTypeSet &simtypes)
void addType (AtomType *atomType)
void addExplicitInteraction (AtomType *atype1, AtomType *atype2, RealType sigma, RealType epsilon)
virtual void calcForce (InteractionData &idat)
virtual string getName ()
virtual int getHash ()
virtual RealType getSuggestedCutoffRadius (pair< AtomType *, AtomType * > atypes)
Public Member Functions inherited from OpenMD::VanDerWaalsInteraction
virtual InteractionFamily getFamily ()

Detailed Description

Definition at line 65 of file LJ.hpp.

Constructor & Destructor Documentation

◆ LJ()

OpenMD::LJ::LJ ( )

Definition at line 60 of file LJ.cpp.

Member Function Documentation

◆ addExplicitInteraction()

void OpenMD::LJ::addExplicitInteraction ( AtomType * atype1,
AtomType * atype2,
RealType sigma,
RealType epsilon )

Definition at line 210 of file LJ.cpp.

◆ addType()

void OpenMD::LJ::addType ( AtomType * atomType)

Definition at line 160 of file LJ.cpp.

◆ calcForce()

void OpenMD::LJ::calcForce ( InteractionData & idat)
virtual

Implements OpenMD::NonBondedInteraction.

Definition at line 256 of file LJ.cpp.

◆ getHash()

virtual int OpenMD::LJ::getHash ( )
inlinevirtual

Implements OpenMD::NonBondedInteraction.

Definition at line 78 of file LJ.hpp.

◆ getName()

virtual string OpenMD::LJ::getName ( )
inlinevirtual

Implements OpenMD::NonBondedInteraction.

Definition at line 77 of file LJ.hpp.

◆ getSuggestedCutoffRadius()

RealType OpenMD::LJ::getSuggestedCutoffRadius ( pair< AtomType *, AtomType * > atypes)
virtual

Implements OpenMD::NonBondedInteraction.

Definition at line 321 of file LJ.cpp.

◆ setForceField()

void OpenMD::LJ::setForceField ( ForceField * ff)
inline

Definition at line 68 of file LJ.hpp.

◆ setSimulatedAtomTypes()

void OpenMD::LJ::setSimulatedAtomTypes ( AtomTypeSet & simtypes)
inline

Definition at line 69 of file LJ.hpp.


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