Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

dolfin::Adaptivity Class Reference

Adaptivity controls the adaptive time-stepping. More...

#include <Adaptivity.h>

Collaboration diagram for dolfin::Adaptivity:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Adaptivity (ODE &ode)
 Constructor.

 ~Adaptivity ()
 Destructor.

Regulatorregulator (unsigned int i)
 Return time step regulator for given component.

const Regulatorregulator (unsigned int i) const
 Return time step regulator for given component.

real tolerance () const
 Return tolerance.

real maxstep () const
 Return maximum time step.

real minstep () const
 Return minimum time step.

void stabilize (real k, unsigned int m)
 Use a stabilizing time step sequence.

bool fixed () const
 Return whether we use fixed time steps or not.

real threshold () const
 Return threshold for reaching end of interval.

unsigned int size () const
 Return number of components.

void shift (Solution &u, RHS &f)
 Prepare for next time slab.

bool accept (TimeSlab &timeslab, RHS &f)
 Check if the time slab can be accepted.

void adjustMaximumTimeStep (real kmax)
 Adjust maximum time step.


Detailed Description

Adaptivity controls the adaptive time-stepping.


Constructor & Destructor Documentation

Adaptivity::Adaptivity ODE ode  ) 
 

Constructor.

Adaptivity::~Adaptivity  ) 
 

Destructor.


Member Function Documentation

bool Adaptivity::accept TimeSlab timeslab,
RHS f
 

Check if the time slab can be accepted.

void Adaptivity::adjustMaximumTimeStep real  kmax  ) 
 

Adjust maximum time step.

bool Adaptivity::fixed  )  const
 

Return whether we use fixed time steps or not.

real Adaptivity::maxstep  )  const
 

Return maximum time step.

real Adaptivity::minstep  )  const
 

Return minimum time step.

const Regulator & Adaptivity::regulator unsigned int  i  )  const
 

Return time step regulator for given component.

Regulator & Adaptivity::regulator unsigned int  i  ) 
 

Return time step regulator for given component.

void Adaptivity::shift Solution u,
RHS f
 

Prepare for next time slab.

unsigned int Adaptivity::size  )  const
 

Return number of components.

void Adaptivity::stabilize real  k,
unsigned int  m
 

Use a stabilizing time step sequence.

real Adaptivity::threshold  )  const
 

Return threshold for reaching end of interval.

real Adaptivity::tolerance  )  const
 

Return tolerance.


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


Documentation automatically generated with Doxygen on 10 Sep 2004.