Evaluates MR prediction operator. More...
#include <MRPrediction.h>
Public Types | |
| typedef base::vec_grid_fct_type | vec_grid_fct_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 |
| typedef base::vec_grid_fct_type | vec_grid_fct_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 | |
| MRPrediction () | |
| virtual | ~MRPrediction () |
| 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 | FlagByMRPrediction (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) |
| MRPrediction () | |
| virtual | ~MRPrediction () |
| virtual void | register_at (ControlDevice &Ctrl) |
| virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
| virtual void | update () |
| 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 | FlagByMRPrediction (grid_fct_type &work, flag_fct_type &flags, const int &Time, const int &Level, const DataType &TolVal, const FlagType &FlagValue) |
| virtual void | OutputName (char *name, int cnt) |
Public Attributes | |
| max_vector_type | Tol |
| int | ThresholdNorm [MAXCOMPONENTS] |
| int | Relative [MAXCOMPONENTS] |
Protected Attributes | |
| double | GlobalVolume |
Evaluates MR prediction operator.
| typedef base::flag_fct_type MRPrediction< VectorType, FlagType, dim >::flag_fct_type |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| typedef base::flag_fct_type MRPrediction< VectorType, FlagType, dim >::flag_fct_type |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| typedef base::grid_data_type MRPrediction< VectorType, FlagType, dim >::grid_data_type |
| typedef base::grid_data_type MRPrediction< VectorType, FlagType, dim >::grid_data_type |
| typedef base::grid_fct_type MRPrediction< VectorType, FlagType, dim >::grid_fct_type |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| typedef base::grid_fct_type MRPrediction< VectorType, FlagType, dim >::grid_fct_type |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| typedef base::max_vector_type MRPrediction< VectorType, FlagType, dim >::max_vector_type |
| typedef base::max_vector_type MRPrediction< VectorType, FlagType, dim >::max_vector_type |
| typedef base::vec_grid_fct_type MRPrediction< VectorType, FlagType, dim >::vec_grid_fct_type |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| typedef base::vec_grid_fct_type MRPrediction< VectorType, FlagType, dim >::vec_grid_fct_type |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| MRPrediction< VectorType, FlagType, dim >::MRPrediction | ( | ) | [inline] |
| virtual MRPrediction< VectorType, FlagType, dim >::~MRPrediction | ( | ) | [inline, virtual] |
| MRPrediction< VectorType, FlagType, dim >::MRPrediction | ( | ) | [inline] |
References MRPrediction< VectorType, FlagType, dim >::Tol.
| virtual MRPrediction< VectorType, FlagType, dim >::~MRPrediction | ( | ) | [inline, virtual] |
| virtual bool MRPrediction< VectorType, FlagType, dim >::FlagByMRPrediction | ( | grid_fct_type & | work, | |
| flag_fct_type & | flags, | |||
| const int & | Time, | |||
| const int & | Level, | |||
| const DataType & | TolVal, | |||
| const FlagType & | FlagValue | |||
| ) | [inline, virtual] |
| virtual bool MRPrediction< VectorType, FlagType, dim >::FlagByMRPrediction | ( | 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, FastIndex1, FastIndex2, FastIndex3, for_1, for_2, for_3, forall, MRPrediction< VectorType, FlagType, dim >::GlobalVolume, max(), MaxLevel(), MaxVal(), min(), MinVal(), BBox< N, T >::refine(), BBox< N, T >::size(), BBox< N, T >::stepsize(), TimeStep(), and MRPrediction< VectorType, FlagType, dim >::Tol.
Referenced by MRPrediction< VectorType, FlagType, dim >::SetFlags().
| virtual void MRPrediction< VectorType, FlagType, dim >::OutputName | ( | char * | name, | |
| int | cnt | |||
| ) | [inline, virtual] |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| virtual void MRPrediction< VectorType, FlagType, dim >::OutputName | ( | char * | name, | |
| int | cnt | |||
| ) | [inline, virtual] |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| virtual void MRPrediction< VectorType, FlagType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
| const std::string & | prefix | |||
| ) | [inline, virtual] |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
References ControlDevice::getSubDevice(), RegisterAt(), and MRPrediction< VectorType, FlagType, dim >::Tol.
| virtual void MRPrediction< VectorType, FlagType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| virtual void MRPrediction< VectorType, FlagType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
| const std::string & | prefix | |||
| ) | [inline, virtual] |
| virtual void MRPrediction< VectorType, FlagType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
| virtual bool MRPrediction< 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] |
| virtual bool MRPrediction< 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] |
Reimplemented in F77MRPrediction< VectorType, FlagType, dim >.
References equals_from(), MRPrediction< VectorType, FlagType, dim >::FlagByMRPrediction(), forall, MRPrediction< VectorType, FlagType, dim >::Relative, MRPrediction< VectorType, FlagType, dim >::ThresholdNorm, TimeStep(), and MRPrediction< VectorType, FlagType, dim >::Tol.
| virtual void MRPrediction< VectorType, FlagType, dim >::SetupData | ( | GridHierarchy * | gh, | |
| const int & | ghosts | |||
| ) | [inline, virtual] |
| virtual void MRPrediction< VectorType, FlagType, dim >::update | ( | ) | [inline, virtual] |
References MRPrediction< VectorType, FlagType, dim >::Tol.
| virtual void MRPrediction< VectorType, FlagType, dim >::update | ( | ) | [inline, virtual] |
References MRPrediction< VectorType, FlagType, dim >::Tol.
double MRPrediction< VectorType, FlagType, dim >::GlobalVolume [protected] |
| int MRPrediction< VectorType, FlagType, dim >::Relative[MAXCOMPONENTS] |
| int MRPrediction< VectorType, FlagType, dim >::ThresholdNorm[MAXCOMPONENTS] |
| max_vector_type MRPrediction< VectorType, FlagType, dim >::Tol |
Referenced by MRPrediction< VectorType, FlagType, dim >::FlagByMRPrediction(), MRPrediction< VectorType, FlagType, dim >::MRPrediction(), MRPrediction< VectorType, FlagType, dim >::register_at(), MRPrediction< VectorType, FlagType, dim >::SetFlags(), and MRPrediction< VectorType, FlagType, dim >::update().
1.6.3