18 lines
351 B
C++
18 lines
351 B
C++
/**
|
|
* @file Potentials.hpp
|
|
* @author jun <jun@firmwarejun.net>
|
|
* @brief Potentials declarations
|
|
* @version 0.1
|
|
* @date 2023-07-25
|
|
*
|
|
* Copyright (c) 2023 jun <https://git.firmwarejun.net/jun/MolecularDynamics2>
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
class Potential {
|
|
public:
|
|
virtual double potential(double r) = 0;
|
|
virtual double force(double r) = 0;
|
|
}; |