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

Helper tool for 1D tests, projects all particles onto a 1D line. More...

#include <Boundary.h>

Inheritance diagram for Projection1D:
IBoundaryCondition Polymorphic

Public Member Functions

 Projection1D (const Interval &domain)
 Constructs using range as 1D domain. More...
 
virtual void initialize (Storage &UNUSED(storage)) override
 
virtual void finalize (Storage &storage) override
 Applies the boundary conditions after the derivatives are computed. More...
 
- Public Member Functions inherited from IBoundaryCondition
virtual void initialize (Storage &storage)=0
 Applies the boundary conditions before the derivatives are computed. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Helper tool for 1D tests, projects all particles onto a 1D line.

Definition at line 257 of file Boundary.h.

Constructor & Destructor Documentation

◆ Projection1D()

Projection1D::Projection1D ( const Interval domain)
explicit

Constructs using range as 1D domain.

Definition at line 440 of file Boundary.cpp.

Member Function Documentation

◆ finalize()

void Projection1D::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 443 of file Boundary.cpp.

◆ initialize()

virtual void Projection1D::initialize ( Storage UNUSEDstorage)
inlineoverridevirtual

Definition at line 266 of file Boundary.h.


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