F77FileExactSolution< VectorType, dim > Class Template Reference

Application of initial conditions. More...

#include <F77FileExactSolution.h>

Inheritance diagram for F77FileExactSolution< VectorType, dim >:
F77ExactSolution< VectorType, dim > F77ExactBase< VectorType, dim > ExactSolution< VectorType, dim > AMRBase< VectorType, dim > controlable

List of all members.

Public Types

typedef F77FileInput
< VectorType, dim > 
file_input_type
typedef F77UpdateLevelTransfer
< Vector< DataType, 1 >, dim > 
level_transfer_type
typedef base::vec_grid_fct_type vec_grid_fct_type
typedef base::grid_fct_type grid_fct_type
typedef base::generic_func_type generic_func_type
typedef base::vec_grid_data_type vec_grid_data_type
typedef base::grid_data_type grid_data_type

Public Member Functions

 F77FileExactSolution (generic_func_type initial)
 F77FileExactSolution (generic_func_type exact, generic_func_type in, generic_func_type prolong)
 F77FileExactSolution (generic_func_type exact, generic_func_type out, generic_func_type in, generic_func_type prolong)
 F77FileExactSolution (generic_func_type exact, generic_func_type out, generic_func_type in, generic_func_type prolong, generic_func_type restrct)
 F77FileExactSolution (generic_func_type exact, generic_func_type out, generic_func_type in, generic_func_type prolong, generic_func_type restrct, generic_func_type update)
virtual ~F77FileExactSolution ()
virtual void register_at (ControlDevice &Ctrl)
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void init ()
virtual void update ()
virtual void finish ()
virtual void SetupData (GridHierarchy *gh, const int &ghosts)
virtual bool Set (vec_grid_fct_type &u, grid_fct_type &work, const double &t)

Protected Attributes

int _ReadInFirst
double _PhysicalTime
double _TimeDelta
file_input_type_FileInput
level_transfer_type_LevelTransfer

Detailed Description

template<class VectorType, int dim>
class F77FileExactSolution< VectorType, dim >

Application of initial conditions.

At first, the user-supplied function f_out() is called to extract the relevant data from the numerical solution. Then, the data is overwritten (usually only in part) by the data read from files and finally transformed backwards by calling the user-supplied function f_in(). Note that the transformation operations have to be done for the entire hierarchy to allow correct prolongation utilizing a function f_prolong.

Author:
Ralf Deiterding
Version:
1.0
Date:
Dec-2008

Member Typedef Documentation

template<class VectorType , int dim>
typedef F77FileInput<VectorType,dim> F77FileExactSolution< VectorType, dim >::file_input_type
template<class VectorType , int dim>
typedef base::generic_func_type F77FileExactSolution< VectorType, dim >::generic_func_type
template<class VectorType , int dim>
typedef base::grid_data_type F77FileExactSolution< VectorType, dim >::grid_data_type
template<class VectorType , int dim>
typedef base::grid_fct_type F77FileExactSolution< VectorType, dim >::grid_fct_type

Reimplemented from ExactSolution< VectorType, dim >.

template<class VectorType , int dim>
typedef F77UpdateLevelTransfer<Vector<DataType,1>, dim> F77FileExactSolution< VectorType, dim >::level_transfer_type
template<class VectorType , int dim>
typedef base::vec_grid_data_type F77FileExactSolution< VectorType, dim >::vec_grid_data_type
template<class VectorType , int dim>
typedef base::vec_grid_fct_type F77FileExactSolution< VectorType, dim >::vec_grid_fct_type

Reimplemented from ExactSolution< VectorType, dim >.


Constructor & Destructor Documentation

template<class VectorType , int dim>
F77FileExactSolution< VectorType, dim >::F77FileExactSolution ( generic_func_type  initial  )  [inline]
template<class VectorType , int dim>
F77FileExactSolution< VectorType, dim >::F77FileExactSolution ( generic_func_type  exact,
generic_func_type  out,
generic_func_type  in,
generic_func_type  prolong,
generic_func_type  restrct,
generic_func_type  update 
) [inline]
template<class VectorType , int dim>
virtual F77FileExactSolution< VectorType, dim >::~F77FileExactSolution (  )  [inline, virtual]

Member Function Documentation

template<class VectorType , int dim>
virtual void F77FileExactSolution< VectorType, dim >::finish (  )  [inline, virtual]

Reimplemented from ExactSolution< VectorType, dim >.

template<class VectorType , int dim>
virtual void F77FileExactSolution< VectorType, dim >::init (  )  [inline, virtual]

Reimplemented from ExactSolution< VectorType, dim >.

template<class VectorType , int dim>
virtual void F77FileExactSolution< VectorType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]

Reimplemented from ExactSolution< VectorType, dim >.

template<class VectorType , int dim>
virtual void F77FileExactSolution< VectorType, dim >::register_at ( ControlDevice Ctrl  )  [inline, virtual]

Reimplemented from ExactSolution< VectorType, dim >.

template<class VectorType , int dim>
virtual bool F77FileExactSolution< VectorType, dim >::Set ( vec_grid_fct_type u,
grid_fct_type work,
const double &  t 
) [inline, virtual]

Reimplemented from ExactSolution< VectorType, dim >.

template<class VectorType , int dim>
virtual void F77FileExactSolution< VectorType, dim >::SetupData ( GridHierarchy gh,
const int &  ghosts 
) [inline, virtual]
template<class VectorType , int dim>
virtual void F77FileExactSolution< VectorType, dim >::update (  )  [inline, virtual]

Reimplemented from ExactSolution< VectorType, dim >.


Member Data Documentation

template<class VectorType , int dim>
file_input_type* F77FileExactSolution< VectorType, dim >::_FileInput [protected]
template<class VectorType , int dim>
double F77FileExactSolution< VectorType, dim >::_PhysicalTime [protected]
template<class VectorType , int dim>
int F77FileExactSolution< VectorType, dim >::_ReadInFirst [protected]
template<class VectorType , int dim>
double F77FileExactSolution< VectorType, dim >::_TimeDelta [protected]

The documentation for this class was generated from the following file:
Generated on Thu Jun 30 02:19:30 2016 for AMROC Fluid-solver Framework by  doxygen 1.6.3