#include <Dynamics.h>
Public Member Functions | |
| Dynamics (Matter *matter, const DynamicsConfig &config) | |
| Dynamics (Matter *matter, const Parameters ¶meters) | |
| ~Dynamics () | |
| void | setTemperature (double temperature) |
| void | oneStep (int stepNumber=-1) |
| void | velocityVerlet () |
| void | run () |
| void | andersenCollision () |
| void | setThermalVelocity () |
| void | rescaleVelocity () |
| void | noseHooverVerlet () |
| Nose-Hoover chain thermostat (Martyna-Klein-Tuckerman algorithm). | |
| void | langevinVerlet () |
| Langevin dynamics (velocity-Verlet with friction and random forces). | |
Static Public Attributes | |
| static const char | ANDERSEN [] = "andersen" |
| static const char | NOSE_HOOVER [] = "nose_hoover" |
| static const char | LANGEVIN [] = "langevin" |
| static const char | NONE [] = "none" |
Private Attributes | |
| long | nAtoms {0} |
| long | nFreeCoords {0} |
| Matter * | matter |
| DynamicsConfig | m_config |
| double | dt {0.0} |
| double | kB {0.0} |
| double | temperature {0.0} |
| double | vxi1 {0.0} |
| double | vxi2 {0.0} |
| double | xi1 {0.0} |
| double | xi2 {0.0} |
| eonc::log::Scoped | log |
Definition at line 54 of file Dynamics.h.
| Dynamics::Dynamics | ( | Matter * | matter, |
| const DynamicsConfig & | config ) |
Definition at line 24 of file Dynamics.cpp.
|
inline |
Definition at line 65 of file Dynamics.h.
|
default |
| void Dynamics::andersenCollision | ( | ) |
Definition at line 139 of file Dynamics.cpp.
| void Dynamics::langevinVerlet | ( | ) |
Langevin dynamics (velocity-Verlet with friction and random forces).
Definition at line 247 of file Dynamics.cpp.
| void Dynamics::noseHooverVerlet | ( | ) |
Nose-Hoover chain thermostat (Martyna-Klein-Tuckerman algorithm).
Two chain variables (xi1, xi2) with velocities (vxi1, vxi2).
Definition at line 184 of file Dynamics.cpp.
| void Dynamics::oneStep | ( | int | stepNumber = -1 | ) |
Definition at line 41 of file Dynamics.cpp.
| void Dynamics::rescaleVelocity | ( | ) |
Definition at line 175 of file Dynamics.cpp.
| void Dynamics::run | ( | ) |
Definition at line 82 of file Dynamics.cpp.
| void Dynamics::setTemperature | ( | double | temperature | ) |
Definition at line 37 of file Dynamics.cpp.
| void Dynamics::setThermalVelocity | ( | ) |
Definition at line 160 of file Dynamics.cpp.
| void Dynamics::velocityVerlet | ( | ) |
Definition at line 69 of file Dynamics.cpp.
|
static |
Definition at line 57 of file Dynamics.h.
|
private |
Definition at line 86 of file Dynamics.h.
|
private |
Definition at line 87 of file Dynamics.h.
|
static |
Definition at line 59 of file Dynamics.h.
|
private |
Definition at line 90 of file Dynamics.h.
|
private |
Definition at line 84 of file Dynamics.h.
|
private |
Definition at line 83 of file Dynamics.h.
|
private |
Definition at line 81 of file Dynamics.h.
|
private |
Definition at line 81 of file Dynamics.h.
|
static |
Definition at line 60 of file Dynamics.h.
|
static |
Definition at line 58 of file Dynamics.h.
|
private |
Definition at line 88 of file Dynamics.h.
|
private |
Definition at line 89 of file Dynamics.h.
|
private |
Definition at line 89 of file Dynamics.h.
|
private |
Definition at line 89 of file Dynamics.h.
|
private |
Definition at line 89 of file Dynamics.h.