Molecular Dynamics Simulation  1.0
LennardJonesRepulsiveForce.h
Go to the documentation of this file.
1 #pragma once
2 
4 
12  public:
22  std::array<double, 3UL> calculateForce(const Particle& p, const Particle& q) const override;
23 
27  explicit operator std::string() const override;
28 };
Class to calculate the only the repulisve part of the Lennard-Jones force between particles....
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.
Interface for pairwise force source classes.
Class to represent a particle.
Definition: Particle.h:26