walberla::vtk::CellBBCellFilter Class Reference

Detailed Description

Implementation of a cell filter based on a cell bounding box.

All cells that are contained within the given cell bounding box are selected by this filter. The cell bounding box is always given in global cell coordinates and only acts on blocks on level "level_" (default=0).

#include <CellBBCellFilter.h>

Public Member Functions

 CellBBCellFilter (const CellInterval &cellBB, const uint_t level=0)
 
void operator() (CellSet &filteredCells, const IBlock &block, const StructuredBlockStorage &storage, const uint_t ghostLayers) const
 All cells (in block local cell coordinates!) that are contained within the given cell bounding box (this cell bounding box is given in global cell coordinates!) are inserted into the set "filteredCells", thereby marking these cells. More...
 

Private Attributes

const CellInterval cellBB_
 
const uint_t level_
 

Constructor & Destructor Documentation

◆ CellBBCellFilter()

walberla::vtk::CellBBCellFilter::CellBBCellFilter ( const CellInterval cellBB,
const uint_t  level = 0 
)
inline

Member Function Documentation

◆ operator()()

void walberla::vtk::CellBBCellFilter::operator() ( CellSet filteredCells,
const IBlock block,
const StructuredBlockStorage storage,
const uint_t  ghostLayers 
) const
inline

All cells (in block local cell coordinates!) that are contained within the given cell bounding box (this cell bounding box is given in global cell coordinates!) are inserted into the set "filteredCells", thereby marking these cells.

For more details on cell filters and including cells in and excluding cells from the VTK output, see the documentation of class VTKOutput. Attention: If the specified level "level_" does not match with the level the block resides on, no cells are selected.

Member Data Documentation

◆ cellBB_

const CellInterval walberla::vtk::CellBBCellFilter::cellBB_
private

◆ level_

const uint_t walberla::vtk::CellBBCellFilter::level_
private

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