Peano
Loading...
Searching...
No Matches
PlotFilter.h
Go to the documentation of this file.
1
// This file is part of the ExaHyPE2 project. For conditions of distribution and
2
// use, please see the copyright notice at www.peano-framework.org
3
#pragma once
4
5
#include "
peano4/datamanagement/CellMarker.h
"
6
7
#include <vector>
8
9
namespace
exahype2
{
10
class
PlotFilter;
11
}
12
13
class
exahype2::PlotFilter
{
14
private
:
23
struct
FilterEntry
{
24
tarch::la::Vector<Dimensions,double>
offset
;
25
tarch::la::Vector<Dimensions,double>
size
;
26
int
frequency
;
27
int
nextPlot
;
28
};
29
30
std::vector< FilterEntry >
_filterEntries
;
31
32
public
:
33
typedef
std::tuple<
34
tarch::la::Vector<Dimensions,double>
,
35
tarch::la::Vector<Dimensions,double>
,
36
int
37
>
FilterEntryTuple
;
38
39
void
addFilter
(
FilterEntryTuple
newEntry );
40
41
bool
plotPatch
(
const
peano4::datamanagement::CellMarker
& marker);
42
43
void
finishPlottingStep
();
44
};
CellMarker.h
exahype2::PlotFilter
Definition
PlotFilter.h:13
exahype2::PlotFilter::_filterEntries
std::vector< FilterEntry > _filterEntries
Definition
PlotFilter.h:30
exahype2::PlotFilter::addFilter
void addFilter(FilterEntryTuple newEntry)
Definition
PlotFilter.cpp:4
exahype2::PlotFilter::FilterEntryTuple
std::tuple< tarch::la::Vector< Dimensions, double >, tarch::la::Vector< Dimensions, double >, int > FilterEntryTuple
Definition
PlotFilter.h:37
exahype2::PlotFilter::plotPatch
bool plotPatch(const peano4::datamanagement::CellMarker &marker)
Definition
PlotFilter.cpp:14
exahype2::PlotFilter::finishPlottingStep
void finishPlottingStep()
Definition
PlotFilter.cpp:27
exahype2
For the generic kernels that I use here most of the time.
Definition
CellAccess.h:13
exahype2::PlotFilter::FilterEntry
One filter entry.
Definition
PlotFilter.h:23
exahype2::PlotFilter::FilterEntry::size
tarch::la::Vector< Dimensions, double > size
Definition
PlotFilter.h:25
exahype2::PlotFilter::FilterEntry::nextPlot
int nextPlot
Definition
PlotFilter.h:27
exahype2::PlotFilter::FilterEntry::offset
tarch::la::Vector< Dimensions, double > offset
Definition
PlotFilter.h:24
exahype2::PlotFilter::FilterEntry::frequency
int frequency
Definition
PlotFilter.h:26
peano4::datamanagement::CellMarker
Cell marker.
Definition
CellMarker.h:39
tarch::la::Vector
Simple vector class.
Definition
Vector.h:150
src
exahype2
PlotFilter.h
Generated on Fri Apr 25 2025 14:59:43 for Peano by
1.10.0