MPS-Basic
|
Dirichlet Boundary Condition Generator that sets the free surface pressure to 0. More...
#include <free_surface.hpp>
Public Member Functions | |
DirichletBoundaryCondition | generate (Particles &particles) override |
Generate Dirichlet boundary condition. | |
~FreeSurface () override | |
FreeSurface (std::unique_ptr< SurfaceDetector::Interface > &&surfaceDetector) | |
Public Member Functions inherited from PressureCalculator::DirichletBoundaryConditionGenerator::Interface | |
virtual | ~Interface () |
Private Member Functions | |
void | setBoundaryCondition (Particles &particles) |
Set boundary condition for particles. It changes particle objects directly. | |
Private Attributes | |
std::unique_ptr< SurfaceDetector::Interface > | surfaceDetector |
Dirichlet Boundary Condition Generator that sets the free surface pressure to 0.
Definition at line 13 of file free_surface.hpp.
|
override |
Definition at line 22 of file free_surface.cpp.
FreeSurface::FreeSurface | ( | std::unique_ptr< SurfaceDetector::Interface > && | surfaceDetector | ) |
Definition at line 25 of file free_surface.cpp.
|
overridevirtual |
Generate Dirichlet boundary condition.
particles | Particles |
Implements PressureCalculator::DirichletBoundaryConditionGenerator::Interface.
Definition at line 8 of file free_surface.cpp.
|
private |
Set boundary condition for particles. It changes particle objects directly.
particles | Particles |
Definition at line 33 of file free_surface.cpp.
|
private |
Definition at line 25 of file free_surface.hpp.