Generic base-class for GFM to compare the numerical solution with an exact one. More...
#include <GFMExactSolution.h>
Public Types | |
typedef base::vec_grid_fct_type | vec_grid_fct_type |
typedef base::grid_fct_type | grid_fct_type |
typedef base::grid_data_type | grid_data_type |
typedef AMRGFMSolver < VectorType, FixupType, FlagType, dim > | gfm_solver_type |
typedef GhostFluidMethod < VectorType, dim > | gfm_type |
Public Member Functions | |
GFMExactSolution (gfm_solver_type &solver) | |
virtual | ~GFMExactSolution () |
virtual void | CalculateNorm (vec_grid_fct_type &u, double *&Error) |
virtual void | CalculateNorm (grid_fct_type &u, double *&Error) |
gfm_type & | GFM (const int &n) |
const int & | NGFM () |
grid_fct_type & | Phi (const int &n) |
const DataType & | Cutoff (const int &n) |
Protected Attributes | |
gfm_solver_type & | _solver |
Generic base-class for GFM to compare the numerical solution with an exact one.
typedef AMRGFMSolver<VectorType,FixupType,FlagType,dim> GFMExactSolution< VectorType, FixupType, FlagType, dim >::gfm_solver_type |
Reimplemented in F77GFMExactSolution< VectorType, FixupType, FlagType, dim >.
typedef GhostFluidMethod<VectorType,dim> GFMExactSolution< VectorType, FixupType, FlagType, dim >::gfm_type |
typedef base::grid_data_type GFMExactSolution< VectorType, FixupType, FlagType, dim >::grid_data_type |
Reimplemented from ExactSolution< VectorType, dim >.
Reimplemented in F77GFMExactSolution< VectorType, FixupType, FlagType, dim >.
typedef base::grid_fct_type GFMExactSolution< VectorType, FixupType, FlagType, dim >::grid_fct_type |
Reimplemented from ExactSolution< VectorType, dim >.
typedef base::vec_grid_fct_type GFMExactSolution< VectorType, FixupType, FlagType, dim >::vec_grid_fct_type |
Reimplemented from ExactSolution< VectorType, dim >.
GFMExactSolution< VectorType, FixupType, FlagType, dim >::GFMExactSolution | ( | gfm_solver_type & | solver | ) | [inline] |
virtual GFMExactSolution< VectorType, FixupType, FlagType, dim >::~GFMExactSolution | ( | ) | [inline, virtual] |
virtual void GFMExactSolution< VectorType, FixupType, FlagType, dim >::CalculateNorm | ( | grid_fct_type & | u, | |
double *& | Error | |||
) | [inline, virtual] |
References bbox(), BeginFastIndex1, BeginFastIndex2, BeginFastIndex3, ExactSolution< VectorType, dim >::CalculateNorm(), CurrentTime(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::Cutoff(), AMRBase< VectorType, dim >::Dim(), EndFastIndex1, EndFastIndex2, EndFastIndex3, FastIndex1, FastIndex2, FastIndex3, FineLevel(), for_1, for_2, for_3, forall, GFMExactSolution< VectorType, FixupType, FlagType, dim >::GFM(), AMRBase< VectorType, dim >::GH(), GhostFluidMethod< VectorType, dim >::IsUsed(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::NGFM(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::Phi(), stepsize(), and TimeStep().
virtual void GFMExactSolution< VectorType, FixupType, FlagType, dim >::CalculateNorm | ( | vec_grid_fct_type & | u, | |
double *& | Error | |||
) | [inline, virtual] |
References bbox(), BeginFastIndex1, BeginFastIndex2, BeginFastIndex3, ExactSolution< VectorType, dim >::CalculateNorm(), CurrentTime(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::Cutoff(), AMRBase< VectorType, dim >::Dim(), EndFastIndex1, EndFastIndex2, EndFastIndex3, FastIndex1, FastIndex2, FastIndex3, FineLevel(), for_1, for_2, for_3, forall, GFMExactSolution< VectorType, FixupType, FlagType, dim >::GFM(), AMRBase< VectorType, dim >::GH(), GhostFluidMethod< VectorType, dim >::IsUsed(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::NGFM(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::Phi(), stepsize(), and TimeStep().
const DataType& GFMExactSolution< VectorType, FixupType, FlagType, dim >::Cutoff | ( | const int & | n | ) | [inline] |
gfm_type& GFMExactSolution< VectorType, FixupType, FlagType, dim >::GFM | ( | const int & | n | ) | [inline] |
References GFMExactSolution< VectorType, FixupType, FlagType, dim >::_solver, and AMRGFMSolver< VectorType, FixupType, FlagType, dim >::GFM().
Referenced by GFMExactSolution< VectorType, FixupType, FlagType, dim >::CalculateNorm(), GFMExactSolution< VectorType, FixupType, FlagType, dim >::Cutoff(), and GFMExactSolution< VectorType, FixupType, FlagType, dim >::Phi().
const int& GFMExactSolution< VectorType, FixupType, FlagType, dim >::NGFM | ( | ) | [inline] |
grid_fct_type& GFMExactSolution< VectorType, FixupType, FlagType, dim >::Phi | ( | const int & | n | ) | [inline] |
gfm_solver_type& GFMExactSolution< VectorType, FixupType, FlagType, dim >::_solver [protected] |