![]() |
#include <Solution.h>
Inheritance diagram for dolfin::Solution:
Public Types | |
enum | Action { create = 0, update } |
Save debug info. More... | |
Public Member Functions | |
Solution (ODE &ode, Function &u) | |
Constructor. | |
~Solution () | |
Destructor. | |
Element * | createElement (Element::Type type, unsigned int q, unsigned int index, real t0, real t1) |
Create a new element. | |
Element * | element (unsigned int i, real t) |
Return element for given component at given time (null if not found). | |
Element * | first (unsigned int i) |
Return first element element for given component (null if no elements). | |
Element * | last (unsigned int i) |
Return last element for given component (null if no elements). | |
real | operator() (unsigned int i, unsigned int node, real t) |
Evaluation (same as function u()). | |
real | u (unsigned int i, real t) |
Return value for given component at given time. | |
real | u (unsigned int i, unsigned int node, real t) |
Return value for given component at given time (optimized version). | |
real | k (unsigned int i, real t) |
Return time step at given time. | |
real | r (unsigned int i, real t, RHS &f) |
Return residual at given time. | |
unsigned int | size () const |
Return number of components. | |
Element::Type | method (unsigned int i) |
Return method to use for given component. | |
unsigned int | order (unsigned int i) |
Return order to use for given component. | |
void | setlast (unsigned int i, real value) |
Modify end-time value for given component (next initial value). | |
void | shift (real t0) |
Prepare for next time slab (propagate values). | |
void | save (real t0) |
Save solution to disk. | |
void | reset () |
Reset current element block. | |
void | debug (Element &element, Action action) |
|
Save debug info.
|
|
Constructor.
|
|
Destructor.
|
|
Create a new element.
|
|
|
|
Return element for given component at given time (null if not found).
|
|
Return first element element for given component (null if no elements).
|
|
Return time step at given time.
|
|
Return last element for given component (null if no elements).
|
|
Return method to use for given component.
|
|
Evaluation (same as function u()).
|
|
Return order to use for given component.
|
|
Return residual at given time.
|
|
Reset current element block.
|
|
Save solution to disk.
|
|
Modify end-time value for given component (next initial value).
|
|
Prepare for next time slab (propagate values).
|
|
Return number of components.
|
|
Return value for given component at given time (optimized version).
|
|
Return value for given component at given time.
|
Documentation automatically generated with Doxygen on 10 Sep 2004.