Generic base-class to compare the numerical solution with an exact one. More...
#include <ExactSolution.h>
Public Types | |
typedef base::vec_grid_fct_type | vec_grid_fct_type |
typedef base::vec_grid_data_type | vec_grid_data_type |
typedef GridFunction< DataType, dim > | grid_fct_type |
typedef GridData< DataType, dim > | grid_data_type |
Public Member Functions | |
ExactSolution () | |
virtual | ~ExactSolution () |
virtual void | SetGrid (vec_grid_data_type &gd, grid_data_type &gdw, const int &level, const double &t) |
virtual void | register_at (ControlDevice &Ctrl, const std::string &prefix) |
virtual void | register_at (ControlDevice &Ctrl) |
virtual void | init () |
virtual void | update () |
virtual void | finish () |
virtual bool | Set (vec_grid_fct_type &u, grid_fct_type &work, const double &t) |
virtual void | ErrorNorm (vec_grid_fct_type &u, grid_fct_type &work, const double &t) |
virtual void | CalculateNorm (vec_grid_fct_type &u, DataType *&Error) |
virtual void | CalculateNorm (grid_fct_type &u, DataType *&Error) |
Protected Attributes | |
int | ENorm |
int | ENormCutOut |
int | ENormAll |
int | ENormComp |
std::string | FileName |
ControlDevice | LocCtrl |
Generic base-class to compare the numerical solution with an exact one.
typedef GridData<DataType,dim> ExactSolution< VectorType, dim >::grid_data_type |
Reimplemented in LBMF77FileExactSolution< class, dim >, GFMExactSolution< VectorType, FixupType, FlagType, dim >, F77ExactSolution< VectorType, dim >, F77FileExactSolution< VectorType, dim >, F77GFMExactSolution< VectorType, FixupType, FlagType, dim >, SchemeExactSolution< SchemeType, dim >, and SchemeExactSolution< LBMType, dim >.
typedef GridFunction<DataType,dim> ExactSolution< VectorType, dim >::grid_fct_type |
typedef base::vec_grid_data_type ExactSolution< VectorType, dim >::vec_grid_data_type |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in LBMF77FileExactSolution< class, dim >, F77ExactSolution< VectorType, dim >, F77FileExactSolution< VectorType, dim >, F77GFMExactSolution< VectorType, FixupType, FlagType, dim >, SchemeExactSolution< SchemeType, dim >, and SchemeExactSolution< LBMType, dim >.
typedef base::vec_grid_fct_type ExactSolution< VectorType, dim >::vec_grid_fct_type |
ExactSolution< VectorType, dim >::ExactSolution | ( | ) | [inline] |
virtual ExactSolution< VectorType, dim >::~ExactSolution | ( | ) | [inline, virtual] |
virtual void ExactSolution< VectorType, dim >::CalculateNorm | ( | grid_fct_type & | u, | |
DataType *& | Error | |||
) | [inline, virtual] |
virtual void ExactSolution< VectorType, dim >::CalculateNorm | ( | vec_grid_fct_type & | u, | |
DataType *& | Error | |||
) | [inline, virtual] |
virtual void ExactSolution< VectorType, dim >::ErrorNorm | ( | vec_grid_fct_type & | u, | |
grid_fct_type & | work, | |||
const double & | t | |||
) | [inline, virtual] |
Reimplemented in SchemeExactSolution< SchemeType, dim >, and SchemeExactSolution< LBMType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::Advance(), SchemeExactSolution< LBMType, dim >::ErrorNorm(), AMRSolverBase< MicroType, FixupType, FlagType, dim >::Initialize(), and AMRSolverBase< MicroType, FixupType, FlagType, dim >::Restart().
virtual void ExactSolution< VectorType, dim >::finish | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in LBMF77FileExactSolution< class, dim >, and F77FileExactSolution< VectorType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::finish().
virtual void ExactSolution< VectorType, dim >::init | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in LBMF77FileExactSolution< class, dim >, and F77FileExactSolution< VectorType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::init().
virtual void ExactSolution< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in LBMF77FileExactSolution< class, dim >, F77FileExactSolution< VectorType, dim >, SchemeExactSolution< SchemeType, dim >, and SchemeExactSolution< LBMType, dim >.
Referenced by ExactSolution< SchemeType::VectorType, dim >::register_at().
virtual void ExactSolution< VectorType, dim >::register_at | ( | ControlDevice & | Ctrl, | |
const std::string & | prefix | |||
) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in LBMF77FileExactSolution< class, dim >, F77FileExactSolution< VectorType, dim >, SchemeExactSolution< SchemeType, dim >, and SchemeExactSolution< LBMType, dim >.
Referenced by SchemeExactSolution< LBMType, dim >::register_at(), AMRSolverBase< MicroType, FixupType, FlagType, dim >::register_at(), and F77FileExactSolution< VectorType, dim >::SetupData().
virtual bool ExactSolution< VectorType, dim >::Set | ( | vec_grid_fct_type & | u, | |
grid_fct_type & | work, | |||
const double & | t | |||
) | [inline, virtual] |
Reimplemented in F77FileExactSolution< VectorType, dim >.
Referenced by ExactSolution< SchemeType::VectorType, dim >::ErrorNorm().
virtual void ExactSolution< VectorType, dim >::SetGrid | ( | vec_grid_data_type & | gd, | |
grid_data_type & | gdw, | |||
const int & | level, | |||
const double & | t | |||
) | [inline, virtual] |
Reimplemented in F77ExactSolution< VectorType, dim >, and SchemeExactSolution< LBMType, dim >.
Referenced by ExactSolution< SchemeType::VectorType, dim >::Set().
virtual void ExactSolution< VectorType, dim >::update | ( | ) | [inline, virtual] |
Reimplemented from AMRBase< VectorType, dim >.
Reimplemented in LBMF77FileExactSolution< class, dim >, and F77FileExactSolution< VectorType, dim >.
Referenced by AMRSolverBase< MicroType, FixupType, FlagType, dim >::update().
int ExactSolution< VectorType, dim >::ENorm [protected] |
int ExactSolution< VectorType, dim >::ENormAll [protected] |
int ExactSolution< VectorType, dim >::ENormComp [protected] |
int ExactSolution< VectorType, dim >::ENormCutOut [protected] |
std::string ExactSolution< VectorType, dim >::FileName [protected] |
ControlDevice ExactSolution< VectorType, dim >::LocCtrl [protected] |
Reimplemented from AMRBase< VectorType, dim >.
Referenced by SchemeExactSolution< LBMType, dim >::register_at(), and ExactSolution< SchemeType::VectorType, dim >::register_at().