MRVectorPrediction< VectorType, FlagType, dim > Class Template Reference
Evaluates vector-valued MR prediction operator.
More...
#include <MRPrediction.h>
List of all members.
Public Types |
typedef base::vec_grid_fct_type | vec_grid_fct_type |
typedef base::vec_grid_data_type | vec_grid_data_type |
typedef base::grid_fct_type | grid_fct_type |
typedef base::flag_fct_type | flag_fct_type |
typedef base::max_vector_type | max_vector_type |
typedef base::grid_data_type | grid_data_type |
Public Member Functions |
| MRVectorPrediction () |
virtual | ~MRVectorPrediction () |
virtual void | register_at (ControlDevice &Ctrl) |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | update () |
virtual void | SetupData (GridHierarchy *gh, const int &ghosts) |
virtual bool | SetFlags (vec_grid_fct_type &u, grid_fct_type &work, flag_fct_type &flags, const int &cnt, const int &Time, const int &Level, const double &t, const FlagType &FlagValue) |
virtual bool | FlagByMRVectorPrediction (vec_grid_fct_type &u, grid_fct_type &work, flag_fct_type &flags, const int &Time, const int &Level, const DataType &TolVal, const int &ThresholdVal, const int &RelVal, const FlagType &FlagValue) |
virtual void | OutputName (char *name, int cnt) |
Public Attributes |
max_vector_type | Tol |
int | ThresholdNorm [MAXCOMPONENTS] |
int | Relative [MAXCOMPONENTS] |
Protected Attributes |
int | MaxMomentum |
double | GlobalVolume |
Detailed Description
template<class VectorType, class FlagType, int dim>
class MRVectorPrediction< VectorType, FlagType, dim >
Evaluates vector-valued MR prediction operator.
- Author:
- Ralf Deiterding
- Version:
- 1.0
- Date:
- Dec-2015
Member Typedef Documentation
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
Constructor & Destructor Documentation
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
Member Function Documentation
template<class VectorType , class FlagType , int dim>
virtual bool MRVectorPrediction< VectorType, FlagType, dim >::FlagByMRVectorPrediction |
( |
vec_grid_fct_type & |
u, |
|
|
grid_fct_type & |
work, |
|
|
flag_fct_type & |
flags, |
|
|
const int & |
Time, |
|
|
const int & |
Level, |
|
|
const DataType & |
TolVal, |
|
|
const int & |
ThresholdVal, |
|
|
const int & |
RelVal, |
|
|
const FlagType & |
FlagValue | |
|
) |
| | [inline, virtual] |
References BeginFastIndex1, BeginFastIndex2, BeginFastIndex3, coarsen(), EndFastIndex1, EndFastIndex2, EndFastIndex3, fabs(), FastIndex1, FastIndex2, FastIndex3, for_1, for_2, for_3, forall, MRVectorPrediction< VectorType, FlagType, dim >::GlobalVolume, Max(), max(), maxcomp(), MaxLevel(), MRVectorPrediction< VectorType, FlagType, dim >::MaxMomentum, MaxVal(), min(), MinVal(), BBox< N, T >::refine(), BBox< N, T >::size(), sqrt(), BBox< N, T >::stepsize(), TimeStep(), and MRVectorPrediction< VectorType, FlagType, dim >::Tol.
Referenced by MRVectorPrediction< VectorType, FlagType, dim >::SetFlags().
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
References ControlDevice::getSubDevice(), MRVectorPrediction< VectorType, FlagType, dim >::MaxMomentum, RegisterAt(), MRVectorPrediction< VectorType, FlagType, dim >::Relative, MRVectorPrediction< VectorType, FlagType, dim >::ThresholdNorm, and MRVectorPrediction< VectorType, FlagType, dim >::Tol.
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
virtual bool MRVectorPrediction< VectorType, FlagType, dim >::SetFlags |
( |
vec_grid_fct_type & |
u, |
|
|
grid_fct_type & |
work, |
|
|
flag_fct_type & |
flags, |
|
|
const int & |
cnt, |
|
|
const int & |
Time, |
|
|
const int & |
Level, |
|
|
const double & |
t, |
|
|
const FlagType & |
FlagValue | |
|
) |
| | [inline, virtual] |
References MRVectorPrediction< VectorType, FlagType, dim >::FlagByMRVectorPrediction(), forall, MRVectorPrediction< VectorType, FlagType, dim >::Relative, MRVectorPrediction< VectorType, FlagType, dim >::ThresholdNorm, TimeStep(), and MRVectorPrediction< VectorType, FlagType, dim >::Tol.
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
Member Data Documentation
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
template<class VectorType , class FlagType , int dim>
Referenced by MRVectorPrediction< VectorType, FlagType, dim >::FlagByMRVectorPrediction(), MRVectorPrediction< VectorType, FlagType, dim >::MRVectorPrediction(), MRVectorPrediction< VectorType, FlagType, dim >::register_at(), MRVectorPrediction< VectorType, FlagType, dim >::SetFlags(), and MRVectorPrediction< VectorType, FlagType, dim >::update().
The documentation for this class was generated from the following file: