Molecular Dynamics Simulation  1.0
LennardJonesForce.h
Go to the documentation of this file.
1 #pragma once
2 
4 
11  public:
21  std::array<double, 3UL> calculateForce(const Particle& p, const Particle& q) const override;
22 
26  explicit operator std::string() const override;
27 };
Class to calculate the Lennard-Jones force between particles. Implements the interface PairwiseForceS...
std::array< double, 3UL > calculateForce(const Particle &p, const Particle &q) const override
Calculates the Lennard-Jones forces between two particles.
Interface for pairwise force source classes.
Class to represent a particle.
Definition: Particle.h:26