SPH
Classes | Public Member Functions | List of all members
FixedParticles Class Reference

Places immovable particles along boundary. More...

#include <Boundary.h>

Inheritance diagram for FixedParticles:
IBoundaryCondition Polymorphic

Classes

struct  Params
 

Public Member Functions

 FixedParticles (const RunSettings &settings, Params &&params)
 
virtual void initialize (Storage &storage) override
 Applies the boundary conditions before the derivatives are computed. More...
 
virtual void finalize (Storage &storage) override
 Applies the boundary conditions after the derivatives are computed. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Places immovable particles along boundary.

The dummy particles can have generally different material than the rest of the simulation.

Definition at line 123 of file Boundary.h.

Constructor & Destructor Documentation

◆ FixedParticles()

FixedParticles::FixedParticles ( const RunSettings settings,
Params &&  params 
)
Todo:
generalize, we assume that kernel radius = 2 and don't take eta into account

Definition at line 120 of file Boundary.cpp.

Member Function Documentation

◆ finalize()

void FixedParticles::finalize ( Storage storage)
overridevirtual

Applies the boundary conditions after the derivatives are computed.

Called every time step after equations are evaluated (finalized).

Implements IBoundaryCondition.

Definition at line 172 of file Boundary.cpp.

◆ initialize()

void FixedParticles::initialize ( Storage storage)
overridevirtual

Applies the boundary conditions before the derivatives are computed.

Called every time step after equations are initialized.

Implements IBoundaryCondition.

Definition at line 164 of file Boundary.cpp.


The documentation for this class was generated from the following files: