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


Main Page   Class Hierarchy   Compound List   File List  

AMRFlaggingRelBase Class Template Reference

Generic base-class for flagging with relative criteria. More...

#include <AMRFlaggingRelBase.h>

Inheritance diagram for AMRFlaggingRelBase:

Inheritance graph
[legend]
Collaboration diagram for AMRFlaggingRelBase:

Collaboration graph
[legend]
List of all members.

Public Methods

 AMRFlaggingRelBase (solver_type &solver)
virtual void register_at (ControlDevice &Ctrl)
virtual void register_at (ControlDevice &Ctrl, const string &prefix)
virtual void update ()
virtual void SetFlags (const int Time, const int Level, double t, double dt)
virtual int NFlags () const

Protected Methods

DataType phi (DataType theta)
virtual void FlagCellsByDifferenceRel (const int Time, const int Level)
virtual void FlagCellsByErrorRel (const int Time, const int Level)
const int & BaseFlagRel () const
void SetBaseFlagRel (const int bf)

Protected Attributes

VectorType TolGradRel
VectorType ScGradRel
VectorType TolErrEstRel
VectorType ScErrEstRel
VectorType MaxRel
VectorType ScalingGradRel
VectorType ScalingErrEstRel
int _BaseFlagRel
int _NFlagsRel

Detailed Description

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

Generic base-class for flagging with relative criteria.

As flagging-criteria a discontinuity-detection based on the ratio of consecutive gradients and Richardson error-estimation are available. A predefined limit for each component distinguishes between relative (using a prefined scaling factor) and absolute errors. extrapolation are available.

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

Definition at line 28 of file AMRFlaggingRelBase.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