AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

SolverControl Class Template Reference

Controls a generic adaptive solver. More...

#include <SolverControl.h>

Inheritance diagram for SolverControl:

Inheritance graph
[legend]
Collaboration diagram for SolverControl:

Collaboration graph
[legend]
List of all members.

Public Methods

 SolverControl (solver_type &solver)
 ~SolverControl ()
virtual void register_at (ControlDevice &Ctrl)
virtual void register_at (ControlDevice &Ctrl, const string &prefix)
virtual void init ()
virtual void update ()
virtual void finish ()
virtual void WriteOut (GridHierarchy &GH, vec_grid_fct_type &u, grid_fct_type &IOfunc)
virtual void ErrorNorm (GridHierarchy &GH, vec_grid_fct_type &u, double t, grid_fct_type &work)
virtual void Solve ()
void SetExactSolution (exact_solution_type *exact)
exact_solution_type & TheExactSolution ()
const exact_solution_type & TheExactSolution () const
solver_type & Solver_ ()
const solver_type & Solver_ () const
const int & NEquations () const
const int & NGhosts () const
virtual int NOutputs () const

Protected Attributes

string * CompName
solver_type & _Solver
exact_solution_type * _ExactSolution
int ENorm
ControlDevice LocCtrl

Detailed Description

template<class VectorType, class FixupType, class FlagType>
class SolverControl< VectorType, FixupType, FlagType >

Controls a generic adaptive solver.

The class allocates a GridFunction< VectorType > for the numerical solution. If error-estimation is used as a refinement criterium, an additional coarser GridFunction< VectorType > is allocated.

Author:
Ralf Deiterding
Version:
1.0
Date:
Jan-2002

Definition at line 442 of file SolverControl.h.


The documentation for this class was generated from the following file:


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04