![]() |
#include <Iteration.h>
Inheritance diagram for dolfin::Iteration:


Public Types | |
| enum | State { nonstiff, stiff1, stiff2, stiff3, stiff, newton } |
Public Member Functions | |
| Iteration (Solution &u, RHS &f, FixedPointIteration &fixpoint, unsigned int maxiter, real tol, real maxdiv, real maxconv, unsigned int depth) | |
| Constructor. | |
| virtual | ~Iteration () |
| Destructor. | |
| virtual State | state () const=0 |
| Return current state (type of iteration). | |
| virtual void | start (ElementGroupList &list)=0 |
| virtual void | start (ElementGroup &group)=0 |
| virtual void | start (Element &element)=0 |
| virtual void | update (ElementGroupList &list, Increments &d)=0 |
| Update group list. | |
| virtual void | update (ElementGroup &group, Increments &d)=0 |
| Update element group. | |
| virtual void | update (Element &element, Increments &d)=0 |
| Update element. | |
| virtual void | stabilize (ElementGroupList &list, const Increments &d, unsigned int n)=0 |
| Stabilize group list iteration. | |
| virtual void | stabilize (ElementGroup &group, const Increments &d, unsigned int n)=0 |
| Stabilize element group iteration. | |
| virtual void | stabilize (Element &element, const Increments &d, unsigned int n)=0 |
| Stabilize element iteration. | |
| virtual bool | converged (ElementGroupList &list, const Increments &d, unsigned int n)=0 |
| Check convergence for group list. | |
| virtual bool | converged (ElementGroup &group, const Increments &d, unsigned int n)=0 |
| Check convergence for element group. | |
| virtual bool | converged (Element &element, const Increments &d, unsigned int n)=0 |
| Check convergence for element. | |
| virtual bool | diverged (ElementGroupList &list, const Increments &d, unsigned int n, State &newstate)=0 |
| Check divergence for group list. | |
| virtual bool | diverged (ElementGroup &group, const Increments &d, unsigned int n, State &newstate)=0 |
| Check divergence for element group. | |
| virtual bool | diverged (Element &element, const Increments &d, unsigned int n, State &newstate)=0 |
| Check divergence for element. | |
| virtual void | report () const=0 |
| Write a status report. | |
| void | stabilization (real &alpha, unsigned int &m) const |
| Return stabilization parameters. | |
| unsigned int | depth () const |
| Return current depth. | |
| void | down () |
| Increase depth. | |
| void | up () |
| Decrease depth. | |
| void | init (ElementGroup &group) |
| Update initial data for element group. | |
| void | init (Element &element) |
| void | reset (ElementGroupList &list) |
| Reset group list. | |
| void | reset (ElementGroup &group) |
| Reset element group. | |
| void | reset (Element &element) |
| real | residual (ElementGroupList &list) |
| real | residual (ElementGroup &group) |
| real | residual (Element &element) |
| bool | accept () const |
Protected Member Functions | |
| bool | stabilize (const Increments &d, unsigned int n, real r) |
| real | computeDivergence (ElementGroupList &list) |
| real | computeDivergence (ElementGroup &group) |
| void | updateUnstabilized (ElementGroupList &list, Increments &d) |
| void | updateUnstabilized (ElementGroup &group, Increments &d) |
| real | computeAlpha (real rho) const |
| unsigned int | computeSteps (real rho) const |
| void | initInitialData (real t0) |
| void | initData (Values &values, unsigned int size) |
| unsigned int | dataSize (ElementGroupList &list) |
| unsigned int | dataSize (ElementGroup &group) |
| void | copyData (ElementGroupList &list, Values &values) |
| void | copyData (Values &values, ElementGroupList &list) |
| void | copyData (ElementGroup &group, Values &values) |
| void | copyData (Values &values, ElementGroup &group) |
| bool | positive (real number) const |
Protected Attributes | |
| Solution & | u |
| RHS & | f |
| FixedPointIteration & | fixpoint |
| unsigned int | maxiter |
| real | maxdiv |
| real | maxconv |
| real | tol |
| real | alpha |
| real | gamma |
| real | d0 |
| unsigned int | m |
| unsigned int | j |
| unsigned int | _depth |
| Values | x0 |
| Values | x1 |
| Values | u0 |
| bool | _accept |
|
|
|
|
||||||||||||||||||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
Check convergence for element.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||||||
|
Check convergence for element group.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||||||
|
Check convergence for group list.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Return current depth.
|
|
||||||||||||||||||||
|
Check divergence for element.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||||||||||
|
Check divergence for element group.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||||||||||
|
Check divergence for group list.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
|
Increase depth.
|
|
|
|
|
|
Update initial data for element group.
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
Write a status report.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
|
|
|
|
Reset element group.
|
|
|
Reset group list.
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
Return stabilization parameters.
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
Stabilize element iteration.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||||||
|
Stabilize element group iteration.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||||||
|
Stabilize group list iteration.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
|
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
|
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
|
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
|
Return current state (type of iteration).
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
|
Decrease depth.
|
|
||||||||||||
|
Update element.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||
|
Update element group.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||
|
Update group list.
Implemented in dolfin::AdaptiveIterationLevel1, dolfin::AdaptiveIterationLevel2, dolfin::AdaptiveIterationLevel3, dolfin::NewtonIteration, and dolfin::NonStiffIteration. |
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![]()
Documentation automatically generated with Doxygen on 10 Sep 2004.