|
Molecular Dynamics Simulation
1.0
|
Class to calculate the only the repulisve part of the Lennard-Jones force between particles. Implements the interface PairwiseForceSource. More...
#include <LennardJonesRepulsiveForce.h>


Public Member Functions | |
| std::array< double, 3UL > | calculateForce (const Particle &p, const Particle &q) const override |
| Calculates only the repulsive part of the Lennard-Jones forces between two particles. More... | |
| operator std::string () const override | |
| Returns "Lennard-Jones (Repulsive Only)" as name of the force. More... | |
Public Member Functions inherited from PairwiseForceSource | |
| virtual | ~PairwiseForceSource ()=default |
| Virtual destructor for correct cleanup of derived classes. More... | |
Class to calculate the only the repulisve part of the Lennard-Jones force between particles. Implements the interface PairwiseForceSource.
Implementation of the force calculation to simulate the repulsive part of Lennard-Jones forces between particles.
Definition at line 11 of file LennardJonesRepulsiveForce.h.
|
overridevirtual |
Calculates only the repulsive part of the Lennard-Jones forces between two particles.
Calculates the Lennard-Jones force which q exerts on p
Implements PairwiseForceSource.
Definition at line 5 of file LennardJonesRepulsiveForce.cpp.
|
explicitoverridevirtual |
Returns "Lennard-Jones (Repulsive Only)" as name of the force.
Implements PairwiseForceSource.
Definition at line 20 of file LennardJonesRepulsiveForce.cpp.