Gascoigne::StdLoop Class Reference

Implementation of diverse outer loops: mesh adaptation, time stepping... More...

#include <stdloop.h>

Inheritance diagram for Gascoigne::StdLoop:

Inheritance graph
[legend]
Collaboration diagram for Gascoigne::StdLoop:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 StdLoop ()
 ~StdLoop ()
void BasicInit (const ParamFile *paramfile, const ProblemContainer *PC, const FunctionalContainer *FC=NULL)
void run (const std::string &problemlabel)
void ClockOutput () const

Protected Member Functions

DoubleVector ComputeFunctionals (VectorInterface &f, VectorInterface &u) const
DoubleVector GetExactValues () const
virtual void EtaVisu (std::string name, int i, const DoubleVector &eta) const
virtual void EtaCellVisu (std::string name, int i, const GlobalVector &eta) const
virtual void AdaptMesh (const DoubleVector &eta)
virtual void AdaptMesh (const DoubleVector &eta, std::string refine_or_coarsen_step)
virtual DoubleVector Functionals (VectorInterface &u, VectorInterface &f)
virtual double Estimator (DoubleVector &eta, VectorInterface &u, VectorInterface &f)

Protected Attributes

StopWatch _clock_newmesh
StopWatch _clock_solve
StopWatch _clock_write
int _nmin
int _nmax
int _coarse
double _p
int _random_coarsening
std::string _estimator
std::string _extrapolate
std::string _refiner
DoubleVector _JErr
Extrapolator Extra

Detailed Description

Implementation of diverse outer loops: mesh adaptation, time stepping...


Constructor & Destructor Documentation

Gascoigne::StdLoop::StdLoop (  ) 

Gascoigne::StdLoop::~StdLoop (  ) 


Member Function Documentation

void Gascoigne::StdLoop::AdaptMesh ( const DoubleVector eta,
std::string  refine_or_coarsen_step 
) [protected, virtual]

void Gascoigne::StdLoop::AdaptMesh ( const DoubleVector eta  )  [protected, virtual]

void Gascoigne::StdLoop::BasicInit ( const ParamFile paramfile,
const ProblemContainer PC,
const FunctionalContainer FC = NULL 
) [virtual]

Reimplemented from Gascoigne::BasicLoop.

Reimplemented in Gascoigne::StdTimeLoop.

void Gascoigne::StdLoop::ClockOutput (  )  const

Reimplemented from Gascoigne::BasicLoop.

DoubleVector Gascoigne::StdLoop::ComputeFunctionals ( VectorInterface f,
VectorInterface u 
) const [protected]

double Gascoigne::StdLoop::Estimator ( DoubleVector eta,
VectorInterface u,
VectorInterface f 
) [protected, virtual]

void Gascoigne::StdLoop::EtaCellVisu ( std::string  name,
int  i,
const GlobalVector eta 
) const [protected, virtual]

void Gascoigne::StdLoop::EtaVisu ( std::string  name,
int  i,
const DoubleVector eta 
) const [protected, virtual]

DoubleVector Gascoigne::StdLoop::Functionals ( VectorInterface u,
VectorInterface f 
) [protected, virtual]

DoubleVector Gascoigne::StdLoop::GetExactValues (  )  const [protected]

void Gascoigne::StdLoop::run ( const std::string problemlabel  ) 

Reimplemented from Gascoigne::BasicLoop.

Reimplemented in Gascoigne::StdTimeLoop.


Member Data Documentation

StopWatch Gascoigne::StdLoop::_clock_newmesh [mutable, protected]

Reimplemented from Gascoigne::BasicLoop.

StopWatch Gascoigne::StdLoop::_clock_solve [mutable, protected]

Reimplemented from Gascoigne::BasicLoop.

StopWatch Gascoigne::StdLoop::_clock_write [mutable, protected]

Reimplemented from Gascoigne::BasicLoop.

int Gascoigne::StdLoop::_coarse [protected]

std::string Gascoigne::StdLoop::_estimator [protected]

std::string Gascoigne::StdLoop::_extrapolate [protected]

DoubleVector Gascoigne::StdLoop::_JErr [protected]

int Gascoigne::StdLoop::_nmax [protected]

int Gascoigne::StdLoop::_nmin [protected]

double Gascoigne::StdLoop::_p [protected]

int Gascoigne::StdLoop::_random_coarsening [protected]

std::string Gascoigne::StdLoop::_refiner [protected]

Extrapolator Gascoigne::StdLoop::Extra [protected]


The documentation for this class was generated from the following files:
Generated on Thu Sep 14 10:51:43 2006 for Gascoigne by  doxygen 1.4.7