MPS-Basic
Loading...
Searching...
No Matches
interface.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "../particles.hpp"
4
5#include <vector>
6
7namespace PressureCalculator {
8
15class Interface {
16public:
23 virtual std::vector<double> calc(Particles& particles) = 0;
24
28 virtual ~Interface(){};
29};
30
31} // namespace PressureCalculator
A collection of particles.
Definition particles.hpp:10
Pressure calculator interface.
Definition interface.hpp:15
virtual std::vector< double > calc(Particles &particles)=0
calculate pressure
virtual ~Interface()
destructor
Definition interface.hpp:28