step/stepcore
StepCore::GasLJForce Class Reference
[Physical forces]
#include <gas.h>
List of all members.
Detailed Description
Lennard-Jones force with cut-off which acts between particles in the
Gas.
The force acts between pairs of GasParticle and equals:
where:
is the depth of the potential
is the distance at which the interparticle force is zero
is difference of GasParticle::position of the first and second particle
is a cut-off distance (can be set to infinity)
Definition at line 99 of file gas.h.
Constructor & Destructor Documentation
| StepCore::GasLJForce::GasLJForce |
( |
double |
depth = 1, |
|
|
double |
rmin = 1, |
|
|
double |
cutoff = HUGE_VAL | |
|
) |
| | [explicit] |
Member Function Documentation
| void StepCore::GasLJForce::calcABC |
( |
|
) |
[protected] |
| void StepCore::GasLJForce::calcForce |
( |
bool |
calcVariances |
) |
[virtual] |
| ObjectErrors* StepCore::GasLJForce::createObjectErrors |
( |
|
) |
[inline, protected, virtual] |
For internal use only.
Creates specific ObjectErrors-derived class (to be reimplemented in derived classes)
Reimplemented from StepCore::Item.
Definition at line 129 of file gas.h.
| double StepCore::GasLJForce::cutoff |
( |
|
) |
const [inline] |
Get cut-off distance.
Definition at line 120 of file gas.h.
| double StepCore::GasLJForce::depth |
( |
|
) |
const [inline] |
Get depth of the potential.
Definition at line 110 of file gas.h.
| double StepCore::GasLJForce::rmin |
( |
|
) |
const [inline] |
Get distance at which the interparticle force is zero.
Definition at line 115 of file gas.h.
| void StepCore::GasLJForce::setCutoff |
( |
double |
cutoff |
) |
[inline] |
Set cut-off distance.
Definition at line 122 of file gas.h.
| void StepCore::GasLJForce::setDepth |
( |
double |
depth |
) |
[inline] |
Set depth of the potential.
Definition at line 112 of file gas.h.
| void StepCore::GasLJForce::setRmin |
( |
double |
rmin |
) |
[inline] |
Set distance at which the interparticle force is zero.
Definition at line 117 of file gas.h.
Member Data Documentation
The documentation for this class was generated from the following files: