Emdee
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
VashishtaTwoParticleForce Class Reference

The VashishtaTwoParticleForce class defines the interaction between two particles in the Vashishta-Kalia-Rino-Ebbsjø potential. More...

#include <vashishtatwoparticleforce.h>

Inheritance diagram for VashishtaTwoParticleForce:
Inheritance graph
[legend]
Collaboration diagram for VashishtaTwoParticleForce:
Collaboration graph
[legend]

Public Member Functions

 VashishtaTwoParticleForce ()
 
void calculateAndApplyForce (Atom *atom1, Atom *atom2)
 
void calculateAndApplyForce (Atom *atom1, Atom *atom2, const Vector3 &atomOffset)
 
int comboHash (int v[])
 
- Public Member Functions inherited from TwoParticleForce
 TwoParticleForce ()
 
void setNewtonsThirdLawEnabled (bool enable)
 
bool isNewtonsThirdLawEnabled ()
 
void setCalculatePressureEnabled (bool enable)
 
bool isCalculatePressureEnabled ()
 
void setCalculatePotentialEnabled (bool enable)
 
bool isCalculatePotentialEnabled ()
 
double cutoffRadius () const
 
void setCutoffRadius (double cutoffRadius)
 

Public Attributes

vec H
 
vec eta
 
int nParticleTypes
 
Vector3 rVec
 
Vector3 force
 
double invsqrtpi
 

Detailed Description

The VashishtaTwoParticleForce class defines the interaction between two particles in the Vashishta-Kalia-Rino-Ebbsjø potential.

Constructor & Destructor Documentation

VashishtaTwoParticleForce::VashishtaTwoParticleForce ( )

Member Function Documentation

void VashishtaTwoParticleForce::calculateAndApplyForce ( Atom atom1,
Atom atom2 
)
virtual

Reimplemented from TwoParticleForce.

void VashishtaTwoParticleForce::calculateAndApplyForce ( Atom atom1,
Atom atom2,
const Vector3 atomOffset 
)
virtual

Implements TwoParticleForce.

int VashishtaTwoParticleForce::comboHash ( int  v[])

Member Data Documentation

vec VashishtaTwoParticleForce::eta
Vector3 VashishtaTwoParticleForce::force
vec VashishtaTwoParticleForce::H
double VashishtaTwoParticleForce::invsqrtpi
int VashishtaTwoParticleForce::nParticleTypes
Vector3 VashishtaTwoParticleForce::rVec

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