![]() |
#include <TimeSlab.h>
Inheritance diagram for dolfin::TimeSlab:
Public Member Functions | |
TimeSlab (real t0, real t1) | |
Create time slab, including one iteration. | |
virtual | ~TimeSlab () |
Destructor. | |
bool | within (real t) const |
Check if the given time is within the time slab. | |
bool | finished () const |
Check if the time slab reached the given end time. | |
real | starttime () const |
Return start time. | |
real | endtime () const |
Return end time. | |
real | length () const |
Return length of time slab. | |
virtual bool | accept (RHS &f, real TOL)=0 |
Check if time slab can be accepted for given tolerance. | |
virtual void | countElementGroups (unsigned int &size)=0 |
Count the number of element groups contained in the time slab. | |
virtual void | addElementGroups (NewArray< ElementGroup * > &groups, unsigned int &pos)=0 |
Add element groups contained in the time slab to the list. | |
virtual void | show (unsigned int depth=0) const=0 |
--- Output --- Display structure of time slab | |
Protected Member Functions | |
void | setsize (real K, const Adaptivity &adaptivity) |
Protected Attributes | |
real | t0 |
real | t1 |
bool | reached_endtime |
ElementGroup | group |
Friends | |
LogStream & | operator<< (LogStream &stream, const TimeSlab ×lab) |
Output. |
|
Create time slab, including one iteration.
|
|
Destructor.
|
|
Check if time slab can be accepted for given tolerance.
Implemented in dolfin::RecursiveTimeSlab, and dolfin::SimpleTimeSlab. |
|
Add element groups contained in the time slab to the list.
Implemented in dolfin::RecursiveTimeSlab, and dolfin::SimpleTimeSlab. |
|
Count the number of element groups contained in the time slab.
Implemented in dolfin::RecursiveTimeSlab, and dolfin::SimpleTimeSlab. |
|
Return end time.
|
|
Check if the time slab reached the given end time.
|
|
Return length of time slab.
|
|
|
|
--- Output --- Display structure of time slab
Implemented in dolfin::RecursiveTimeSlab, and dolfin::SimpleTimeSlab. |
|
Return start time.
|
|
Check if the given time is within the time slab.
|
|
Output.
|
|
|
|
|
|
|
|
|
Documentation automatically generated with Doxygen on 10 Sep 2004.