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
7
namespace
PressureCalculator
{
8
15
class
Interface
{
16
public
:
23
virtual
std::vector<double>
calc
(
Particles
& particles) = 0;
24
28
virtual
~Interface
(){};
29
};
30
31
}
// namespace PressureCalculator
Particles
A collection of particles.
Definition
particles.hpp:10
PressureCalculator::Interface
Pressure calculator interface.
Definition
interface.hpp:15
PressureCalculator::Interface::calc
virtual std::vector< double > calc(Particles &particles)=0
calculate pressure
PressureCalculator::Interface::~Interface
virtual ~Interface()
destructor
Definition
interface.hpp:28
PressureCalculator
Definition
dirichlet_boundary_condition.hpp:5
particles.hpp
src
pressure_calculator
interface.hpp
Generated by
1.12.0