MPS-Basic
Loading...
Searching...
No Matches
interface.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../particle.hpp
"
4
#include "
../particles.hpp
"
5
6
namespace
SurfaceDetector
{
7
class
Interface
{
8
public
:
15
virtual
bool
isFreeSurface
(
const
Particles
& particles,
const
Particle
& particle) = 0;
16
virtual
~Interface
() =
default
;
17
};
18
}
// namespace SurfaceDetector
Particle
Class for particle in MPS method.
Definition
particle.hpp:47
Particles
A collection of particles.
Definition
particles.hpp:10
SurfaceDetector::Interface
Definition
interface.hpp:7
SurfaceDetector::Interface::~Interface
virtual ~Interface()=default
SurfaceDetector::Interface::isFreeSurface
virtual bool isFreeSurface(const Particles &particles, const Particle &particle)=0
Whether the particle is on the free surface.
SurfaceDetector
Definition
distribution.hpp:5
particle.hpp
particles.hpp
src
surface_detector
interface.hpp
Generated by
1.12.0