F77FileInitialCondition< VectorType, dim > Class Template Reference

Application of initial conditions. More...

#include <F77FileInitialCondition.h>

Inheritance diagram for F77FileInitialCondition< VectorType, dim >:
F77InitialCondition< VectorType, dim > InitialCondition< 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

Public Member Functions

 F77FileInitialCondition (generic_func_type initial)
 F77FileInitialCondition (generic_func_type initial, generic_func_type in, generic_func_type prolong)
 F77FileInitialCondition (generic_func_type initial, generic_func_type out, generic_func_type in, generic_func_type prolong)
 F77FileInitialCondition (generic_func_type initial, generic_func_type out, generic_func_type in, generic_func_type prolong, generic_func_type restrct)
 F77FileInitialCondition (generic_func_type initial, generic_func_type out, generic_func_type in, generic_func_type prolong, generic_func_type restrct, generic_func_type update)
virtual ~F77FileInitialCondition ()
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 void Set (vec_grid_fct_type &u, grid_fct_type &work, const int Level)

Protected Attributes

int _ReadInFirst
file_input_type_FileInput
level_transfer_type_LevelTransfer

Detailed Description

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

Application of initial conditions.

The class uses a generic interface to f_initial for the 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:
Oct-2005

Member Typedef Documentation

template<class VectorType , int dim>
typedef F77FileInput<VectorType,dim> F77FileInitialCondition< VectorType, dim >::file_input_type
template<class VectorType , int dim>
typedef base::generic_func_type F77FileInitialCondition< VectorType, dim >::generic_func_type
template<class VectorType , int dim>
typedef base::grid_fct_type F77FileInitialCondition< VectorType, dim >::grid_fct_type
template<class VectorType , int dim>
typedef F77UpdateLevelTransfer<Vector<DataType,1>, dim> F77FileInitialCondition< VectorType, dim >::level_transfer_type
template<class VectorType , int dim>
typedef base::vec_grid_fct_type F77FileInitialCondition< VectorType, dim >::vec_grid_fct_type

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from AMRBase< VectorType, dim >.

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

Reimplemented from AMRBase< VectorType, dim >.

template<class VectorType , int dim>
virtual void F77FileInitialCondition< VectorType, dim >::register_at ( ControlDevice Ctrl,
const std::string &  prefix 
) [inline, virtual]
template<class VectorType , int dim>
virtual void F77FileInitialCondition< VectorType, dim >::register_at ( ControlDevice Ctrl  )  [inline, virtual]
template<class VectorType , int dim>
virtual void F77FileInitialCondition< VectorType, dim >::Set ( vec_grid_fct_type u,
grid_fct_type work,
const int  Level 
) [inline, virtual]

Reimplemented from InitialCondition< VectorType, dim >.

References RegisterAt().

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

Reimplemented from AMRBase< VectorType, dim >.


Member Data Documentation

template<class VectorType , int dim>
int F77FileInitialCondition< VectorType, dim >::_ReadInFirst [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