AMRSolver< VectorType, FixupType, FlagType, dim > Class Template Reference

Generic implementation of the Berger-Oliger method. More...

#include <AMRSolver.h>

Inheritance diagram for AMRSolver< VectorType, FixupType, FlagType, dim >:
AMRSolverBase< VectorType, FixupType, FlagType, dim > Solver controlable AMRGFMSolver< VectorType, FixupType, FlagType, dim > AMRGFMSolver< MicroType, FixupType, FlagType, DIM > AMRGFMSolver< VectorType, FixupType, FlagType, DIM > AMRPreAdaptSolver< VectorType, FixupType, FlagType, dim > AMRCoupledGFMSolver< VectorType, FixupType, FlagType, dim > AMRELCGFMSolver< VectorType, FixupType, FlagType, dim > AMRELCGFMSolver< VectorType, FixupType, FlagType, DIM >

List of all members.

Public Types

typedef GridData< FlagType, dim > flag_data_type
typedef base::vec_grid_fct_type vec_grid_fct_type
typedef base::vec_grid_data_type vec_grid_data_type
typedef base::grid_fct_type grid_fct_type
typedef base::grid_data_type grid_data_type
typedef base::integrator_type integrator_type
typedef
base::initial_condition_type 
initial_condition_type
typedef
base::boundary_conditions_type 
boundary_conditions_type
typedef base::leveltransfer_type leveltransfer_type
typedef base::flagging_type flagging_type
typedef base::fixup_type fixup_type

Public Member Functions

 AMRSolver (integrator_type &integ, initial_condition_type &init, boundary_conditions_type &bc)
virtual ~AMRSolver ()
virtual void register_at (ControlDevice &Ctrl, const std::string &prefix)
virtual void register_at (ControlDevice &Ctrl)
virtual void SetupData ()
virtual void Initialize_ (const double &dt_start)
virtual bool Restart_ (const char *CheckpointFile)
virtual void Checkpointing_ (const char *CheckpointFile)
virtual void Restart_ (std::stringstream &CheckpointStr)
virtual void Checkpointing_ (std::stringstream &CheckpointStr)
virtual double Tick (int VariableTimeStepping, const double dtv[], const double cflv[], int &Rejections)
virtual double IntegrateLevel (vec_grid_fct_type &u, const int Time, const int Level, double t, double dt, bool DoFixup, double tc, const int which)
virtual double UpdateLevel (vec_grid_fct_type &u, const int &Time, const int &Level, double t, double dtl, bool DoFixup, double tc, const int &which, const int &mpass)
virtual void SetBndry (vec_grid_fct_type &u, const int Time, const int Level, double t)
const int & Bufferwidth () const
int Bufferwidth ()

Protected Member Functions

virtual void RegridLevel (const int Time, const int BaseLevel, BBoxList &bblist, bool TakeListOnFinestLevel)
virtual void RecomposeGridHierarchy (const int Time, const int Level, bool ShadowAllowed, bool DoFixup, bool RecomposeBaseLev, bool RecomposeHighLev)
virtual void BeforeLevelStep (const int Level)
virtual void AfterLevelStep (const int Level)
virtual void AdvanceLevel (const int Level, int RegridEvery, bool RegridDone, bool ShadowAllowed, bool DoFixup, bool RecomposeBaseLev, bool RecomposeHighLev)
void CheckLevel (vec_grid_fct_type &u, const int &time, const int &level, const double &t, const char *text)
BBox BoundaryBBox (const BBox &whole, const int s)

Protected Attributes

int FixupPar
int RegridEvery
double MinEfficiency
int BlockWidth
int OverlapWidth
int BufferWidth
int NestingBuffer
int NoTimeRefine
int AdaptBndTimeInterpolate
int PlotFlags
double * t
double * dt
double * cfl_new

Detailed Description

template<class VectorType, class FixupType, class FlagType, int dim>
class AMRSolver< VectorType, FixupType, FlagType, dim >

Generic implementation of the Berger-Oliger method.

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

Member Typedef Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
typedef GridData<FlagType,dim> AMRSolver< VectorType, FixupType, FlagType, dim >::flag_data_type

Constructor & Destructor Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
AMRSolver< VectorType, FixupType, FlagType, dim >::AMRSolver ( integrator_type integ,
initial_condition_type init,
boundary_conditions_type bc 
) [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual AMRSolver< VectorType, FixupType, FlagType, dim >::~AMRSolver (  )  [inline, virtual]

Member Function Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRSolver< VectorType, FixupType, FlagType, dim >::AdvanceLevel ( const int  Level,
int  RegridEvery,
bool  RegridDone,
bool  ShadowAllowed,
bool  DoFixup,
bool  RecomposeBaseLev,
bool  RecomposeHighLev 
) [inline, protected, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRSolver< VectorType, FixupType, FlagType, dim >::AfterLevelStep ( const int  Level  )  [inline, protected, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRSolver< VectorType, FixupType, FlagType, dim >::BeforeLevelStep ( const int  Level  )  [inline, protected, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
BBox AMRSolver< VectorType, FixupType, FlagType, dim >::BoundaryBBox ( const BBox whole,
const int  s 
) [inline, protected]
template<class VectorType, class FixupType, class FlagType, int dim>
int AMRSolver< VectorType, FixupType, FlagType, dim >::Bufferwidth (  )  [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
const int& AMRSolver< VectorType, FixupType, FlagType, dim >::Bufferwidth (  )  const [inline]
template<class VectorType, class FixupType, class FlagType, int dim>
void AMRSolver< VectorType, FixupType, FlagType, dim >::CheckLevel ( vec_grid_fct_type u,
const int &  time,
const int &  level,
const double &  t,
const char *  text 
) [inline, protected]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRSolver< VectorType, FixupType, FlagType, dim >::Checkpointing_ ( std::stringstream &  CheckpointStr  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRSolver< VectorType, FixupType, FlagType, dim >::RecomposeGridHierarchy ( const int  Time,
const int  Level,
bool  ShadowAllowed,
bool  DoFixup,
bool  RecomposeBaseLev,
bool  RecomposeHighLev 
) [inline, protected, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRSolver< VectorType, FixupType, FlagType, dim >::RegridLevel ( const int  Time,
const int  BaseLevel,
BBoxList bblist,
bool  TakeListOnFinestLevel 
) [inline, protected, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual void AMRSolver< VectorType, FixupType, FlagType, dim >::Restart_ ( std::stringstream &  CheckpointStr  )  [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual double AMRSolver< VectorType, FixupType, FlagType, dim >::Tick ( int  VariableTimeStepping,
const double  dtv[],
const double  cflv[],
int &  Rejections 
) [inline, virtual]
template<class VectorType, class FixupType, class FlagType, int dim>
virtual double AMRSolver< VectorType, FixupType, FlagType, dim >::UpdateLevel ( vec_grid_fct_type u,
const int &  Time,
const int &  Level,
double  t,
double  dtl,
bool  DoFixup,
double  tc,
const int &  which,
const int &  mpass 
) [inline, virtual]

Member Data Documentation

template<class VectorType, class FixupType, class FlagType, int dim>
int AMRSolver< VectorType, FixupType, FlagType, dim >::BlockWidth [protected]
template<class VectorType, class FixupType, class FlagType, int dim>
double AMRSolver< VectorType, FixupType, FlagType, dim >::MinEfficiency [protected]
template<class VectorType, class FixupType, class FlagType, int dim>
int AMRSolver< VectorType, FixupType, FlagType, dim >::NestingBuffer [protected]
template<class VectorType, class FixupType, class FlagType, int dim>
int AMRSolver< VectorType, FixupType, FlagType, dim >::PlotFlags [protected]

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