SPH
Public Member Functions | List of all members
PeriodicBoundary Class Reference

Boundary condition moving all particles passed through the domain to the other side of the domain. More...

#include <Boundary.h>

Inheritance diagram for PeriodicBoundary:
IBoundaryCondition Polymorphic

Public Member Functions

 PeriodicBoundary (const Box &domain)
 
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

Boundary condition moving all particles passed through the domain to the other side of the domain.

Definition at line 213 of file Boundary.h.

Constructor & Destructor Documentation

◆ PeriodicBoundary()

PeriodicBoundary::PeriodicBoundary ( const Box domain)
explicit

Definition at line 308 of file Boundary.cpp.

Member Function Documentation

◆ finalize()

void PeriodicBoundary::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 368 of file Boundary.cpp.

◆ initialize()

void PeriodicBoundary::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 317 of file Boundary.cpp.


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