Accumulate post-processing data on a scalar grid function. More...
#include <AMRAccumulation.h>
Public Types | |
typedef GridFunction< DataType, dim > | grid_fct_type |
typedef GridData< DataType, dim > | grid_data_type |
Public Member Functions | |
AMRAccumulation () | |
virtual | ~AMRAccumulation () |
virtual void | GridInitializationOp (grid_data_type &accgd) |
virtual void | GridAccumulationOp (grid_data_type &accgd, grid_data_type &gd) |
virtual void | PointAccumulationOp (DataType &AccPoint, const DataType &value) |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | register_at (ControlDevice &Ctrl) |
virtual void | finish () |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
virtual void | Initialize () |
virtual void | Accumulate (grid_fct_type &u, const int &Time, const int &Level, const double &t) |
void | AccumulateGrid (grid_data_type &gd, const BBox frombb, grid_data_type &accgd, BBox tobb, Coords offset) |
GridHierarchy & | GH () |
const GridHierarchy & | GH () const |
const int & | NGhosts () const |
const int & | Dim () const |
grid_fct_type & | AccFunc () |
const char * | AccName () |
const int & | AccLevel () const |
int | AccLevel () |
Protected Attributes | |
int | _Ghosts |
int | _Dim |
int | _AccLevel |
std::string | _AccName |
grid_fct_type * | _Accfunc |
GridHierarchy * | _Hierarchy |
ControlDevice | LocCtrl |
Accumulate post-processing data on a scalar grid function.
typedef GridData<DataType,dim> AMRAccumulation< DataType, dim >::grid_data_type |
Reimplemented in AMRGridAccumulation< DataType, dim >.
typedef GridFunction<DataType,dim> AMRAccumulation< DataType, dim >::grid_fct_type |
Reimplemented in AMRGridAccumulation< DataType, dim >.
AMRAccumulation< DataType, dim >::AMRAccumulation | ( | ) | [inline] |
virtual AMRAccumulation< DataType, dim >::~AMRAccumulation | ( | ) | [inline, virtual] |
References AMRAccumulation< DataType, dim >::_Accfunc.
grid_fct_type& AMRAccumulation< DataType, dim >::AccFunc | ( | ) | [inline] |
int AMRAccumulation< DataType, dim >::AccLevel | ( | ) | [inline] |
References AMRAccumulation< DataType, dim >::_AccLevel.
const int& AMRAccumulation< DataType, dim >::AccLevel | ( | ) | const [inline] |
References AMRAccumulation< DataType, dim >::_AccLevel.
const char* AMRAccumulation< DataType, dim >::AccName | ( | ) | [inline] |
References AMRAccumulation< DataType, dim >::_AccName.
Referenced by AMRAccumulation< DataType, dim >::SetupData().
virtual void AMRAccumulation< DataType, dim >::Accumulate | ( | grid_fct_type & | u, | |
const int & | Time, | |||
const int & | Level, | |||
const double & | t | |||
) | [inline, virtual] |
void AMRAccumulation< DataType, dim >::AccumulateGrid | ( | grid_data_type & | gd, | |
const BBox | frombb, | |||
grid_data_type & | accgd, | |||
BBox | tobb, | |||
Coords | offset | |||
) | [inline] |
References BeginFastIndex1, BeginFastIndex2, BeginFastIndex3, coarsen(), BBox< N, T >::empty(), EndFastIndex1, EndFastIndex2, EndFastIndex3, FastIndex1, FastIndex2, FastIndex3, for_1, for_2, for_3, BBox< N, T >::inside(), AMRAccumulation< DataType, dim >::PointAccumulationOp(), refine(), and BBox< N, T >::stepsize().
Referenced by AMRAccumulation< DataType, dim >::Accumulate().
const int& AMRAccumulation< DataType, dim >::Dim | ( | ) | const [inline] |
References AMRAccumulation< DataType, dim >::_Dim.
virtual void AMRAccumulation< DataType, dim >::finish | ( | ) | [inline, virtual] |
Reimplemented in AMRGridAccumulation< DataType, dim >.
References AMRAccumulation< DataType, dim >::_Accfunc.
const GridHierarchy& AMRAccumulation< DataType, dim >::GH | ( | ) | const [inline] |
References AMRAccumulation< DataType, dim >::_Hierarchy.
GridHierarchy& AMRAccumulation< DataType, dim >::GH | ( | ) | [inline] |
References AMRAccumulation< DataType, dim >::_Hierarchy.
Referenced by AMRAccumulation< DataType, dim >::Accumulate(), and AMRAccumulation< DataType, dim >::SetupData().
virtual void AMRAccumulation< DataType, dim >::GridAccumulationOp | ( | grid_data_type & | accgd, | |
grid_data_type & | gd | |||
) | [inline, virtual] |
virtual void AMRAccumulation< DataType, dim >::GridInitializationOp | ( | grid_data_type & | accgd | ) | [inline, virtual] |
Referenced by AMRAccumulation< DataType, dim >::Initialize().
virtual void AMRAccumulation< DataType, dim >::Initialize | ( | ) | [inline, virtual] |
Reimplemented in AMRGridAccumulation< DataType, dim >.
References AMRAccumulation< DataType, dim >::AccFunc(), forall, and AMRAccumulation< DataType, dim >::GridInitializationOp().
const int& AMRAccumulation< DataType, dim >::NGhosts | ( | ) | const [inline] |
References AMRAccumulation< DataType, dim >::_Ghosts.
virtual void AMRAccumulation< DataType, dim >::PointAccumulationOp | ( | DataType & | AccPoint, | |
const DataType & | value | |||
) | [inline, virtual] |
Referenced by AMRAccumulation< DataType, dim >::AccumulateGrid().
virtual void AMRAccumulation< DataType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented in AMRGridAccumulation< DataType, dim >.
References AMRAccumulation< DataType, dim >::register_at().
Referenced by AMRAccumulation< DataType, dim >::register_at().
virtual void AMRAccumulation< DataType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
virtual void AMRAccumulation< DataType, dim >::SetupData | ( | GridHierarchy * | gh, | |
const int & | ghosts | |||
) | [inline, virtual] |
Reimplemented in AMRGridAccumulation< DataType, dim >.
References AMRAccumulation< DataType, dim >::_Accfunc, AMRAccumulation< DataType, dim >::_AccLevel, AMRAccumulation< DataType, dim >::_Ghosts, AMRAccumulation< DataType, dim >::_Hierarchy, AMRAccumulation< DataType, dim >::AccFunc(), AMRAccumulation< DataType, dim >::AccName(), DAGH_All, DAGHCellCentered, DAGHFalse, DAGHNoAdaptBoundary, DAGHNoBoundary, DAGHNoComm, DAGHNoExternalGhost, DAGHTrue, AMRAccumulation< DataType, dim >::GH(), SetCheckpointFlag(), SetProlongFlag(), and TotalLevels().
grid_fct_type* AMRAccumulation< DataType, dim >::_Accfunc [protected] |
int AMRAccumulation< DataType, dim >::_AccLevel [protected] |
std::string AMRAccumulation< DataType, dim >::_AccName [protected] |
int AMRAccumulation< DataType, dim >::_Dim [protected] |
Referenced by AMRAccumulation< DataType, dim >::Dim().
int AMRAccumulation< DataType, dim >::_Ghosts [protected] |
GridHierarchy* AMRAccumulation< DataType, dim >::_Hierarchy [protected] |
ControlDevice AMRAccumulation< DataType, dim >::LocCtrl [protected] |
Referenced by AMRAccumulation< DataType, dim >::register_at().