step/stepcore
StepCore::GasLJForce Class Reference
  #include <gas.h>
Inheritance diagram for StepCore::GasLJForce:

| Public Member Functions | |
| GasLJForce (double depth=1, double rmin=1, double cutoff=HUGE_VAL) | |
| void | calcForce (bool calcVariances) | 
| double | cutoff () const | 
| double | depth () const | 
| GasLJForceErrors * | gasLJForceErrors () | 
| double | rmin () const | 
| void | setCutoff (double cutoff) | 
| void | setDepth (double depth) | 
| void | setRmin (double rmin) | 
|  Public Member Functions inherited from StepCore::Item | |
| Item (const QString &name=QString()) | |
| Item (const Item &item) | |
| virtual | ~Item () | 
| Color | color () const | 
| void | deleteObjectErrors () | 
| ItemGroup * | group () const | 
| ObjectErrors * | objectErrors () | 
| Item & | operator= (const Item &item) | 
| void | setColor (Color color) | 
| virtual void | setGroup (ItemGroup *group) | 
| virtual void | setWorld (World *world) | 
| ObjectErrors * | tryGetObjectErrors () const | 
| World * | world () const | 
| virtual void | worldItemRemoved (Item *item STEPCORE_UNUSED) | 
|  Public Member Functions inherited from StepCore::Object | |
| Object (const QString &name=QString()) | |
| virtual | ~Object () | 
| const QString & | name () const | 
| void | setName (const QString &name) | 
|  Public Member Functions inherited from StepCore::Force | |
| virtual | ~Force () | 
| Protected Member Functions | |
| void | calcABC () | 
| ObjectErrors * | createObjectErrors () | 
| Protected Attributes | |
| double | _a | 
| double | _b | 
| double | _c | 
| double | _cutoff | 
| double | _depth | 
| double | _rmin | 
| double | _rmin12 | 
| double | _rmin6 | 
|  Protected Attributes inherited from StepCore::Object | |
| QString | _name | 
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 depth of the potential
  is the distance at which the interparticle force is zero
 is the distance at which the interparticle force is zero
  is difference of GasParticle::position of the first and second particle
 is difference of GasParticle::position of the first and second particle
  is a cut-off distance (can be set to infinity)
 is a cut-off distance (can be set to infinity) 
Constructor & Destructor Documentation
| 
 | explicit | 
Constructs GasLJForce.
Member Function Documentation
| 
 | virtual | 
| 
 | inlineprotectedvirtual | 
Creates specific ObjectErrors-derived class (to be reimplemented in derived classes)
Reimplemented from StepCore::Item.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Get (and possibly create) GasLJForceErrors object.
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
| 
 | inline | 
Member Data Documentation
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
            Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
 KDE API Reference
    KDE API Reference