Evaluation Filter
Evaluation filters always work on block local cell coordinates.
The concept for evaluation filters looks like as follows (class with two member functions):
- void operator()( const IBlock & block ) -> called every time a new block is processed
- bool operator()( const cell_idx_t x, const cell_idx_t y, const cell_idx_t z ) const -> called every time a new cell is evaluated might be called in parallel (must be threat-safe!) and must return true or false (true selects the cell for further processing, false skips the cell in question)
#include <EvaluationFilter.h>
◆ operator()() [1/2]
bool walberla::field::DefaultEvaluationFilter::operator() |
( |
const |
cell_idx_t, |
|
|
const |
cell_idx_t, |
|
|
const |
cell_idx_t |
|
) |
| const |
|
inline |
◆ operator()() [2/2]
void walberla::field::DefaultEvaluationFilter::operator() |
( |
const IBlock & |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: