Add doxygen
This commit is contained in:
@@ -13,12 +13,20 @@
|
||||
|
||||
#include <cmath>
|
||||
|
||||
/**
|
||||
* @brief Potential generator base class
|
||||
*
|
||||
*/
|
||||
class Potential {
|
||||
public:
|
||||
virtual double potential(double r) = 0;
|
||||
virtual double force(double r) = 0;
|
||||
virtual double force(double r) = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
* @brief Lennard Jones potential generator
|
||||
*
|
||||
*/
|
||||
class LennardJones : public Potential {
|
||||
public:
|
||||
double potential(double r) override {
|
||||
|
||||
Reference in New Issue
Block a user