Public Member Functions | List of all members
NohRemove Class Reference

Noh problem Removal strategy class. More...

#include <noh_amr.hpp>

Inheritance diagram for NohRemove:
Inheritance graph
[legend]
Collaboration diagram for NohRemove:
Collaboration graph
[legend]

Public Member Functions

 NohRemove (double Vmin)
 Class constructor. More...
 
 ~NohRemove ()
 Class destructor.
 
vector< int > CellsToRemove (Tessellation const &tess, vector< ComputationalCell > const &cells, double time) const
 Removal abstract class. Can't remove neighboring cells or cells near peiodic boundary. Use CheckOutput to check correctness. More...
 
- Public Member Functions inherited from RemovalStrategy
void CheckOutput (Tessellation const &tess, vector< int > &ToRemove) const
 Checks if the removed list is good, throws an error if not. More...
 
vector< int > RemoveNeighbors (vector< double > const &merits, vector< int > const &candidates, Tessellation const &tess) const
 Removes neighboring points and cells near the boundary which are not rigid walls. More...
 
vector< int > RemoveNearBoundary (vector< int > const &ToRemove, Tessellation const &tess) const
 Removed from the list cells near periodic boundaries. More...
 
virtual ~RemovalStrategy (void)
 Virtual destructor.
 

Detailed Description

Noh problem Removal strategy class.

Definition at line 34 of file noh_amr.hpp.

Constructor & Destructor Documentation

◆ NohRemove()

NohRemove::NohRemove ( double  Vmin)
explicit

Class constructor.

Parameters
VminThe minimum volume below which to remove the cell

Definition at line 35 of file noh_amr.cpp.

Member Function Documentation

◆ CellsToRemove()

vector< int > NohRemove::CellsToRemove ( Tessellation const &  tess,
vector< ComputationalCell > const &  cells,
double  time 
) const
virtual

Removal abstract class. Can't remove neighboring cells or cells near peiodic boundary. Use CheckOutput to check correctness.

Parameters
tessThe tessellation
cellsThe hydro primitives
timeThe sim time
Returns
The cells to remove

Implements RemovalStrategy.

Definition at line 42 of file noh_amr.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

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