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


Public Types | |
| enum | Type { cg, dg } |
Public Member Functions | |
| Element (unsigned int q, unsigned int index, real t0, real t1) | |
| Constructor. | |
| virtual | ~Element () |
| Destructor. | |
| virtual Type | type () const=0 |
| Return type of element. | |
| unsigned int | order () const |
| Return order of element. | |
| virtual unsigned int | size () const=0 |
| Return number of degrees of freedom. | |
| virtual real | value (real t) const=0 |
| Return value of element at given time. | |
| virtual real | value (unsigned int node, real t) const=0 |
| Return value of element at given time, perhaps at the given node (optimized version). | |
| real | value (unsigned int node) const |
| Return value of element at given node within element. | |
| virtual real | initval () const=0 |
| Return initial value of element. | |
| real | endval () const |
| Return value of element at the end point. | |
| virtual real | ddx () const=0 |
| Return derivative at the end point. | |
| virtual void | update (real u0)=0 |
| Update initial value. | |
| void | update (unsigned int node, real value) |
| Update given value. | |
| virtual real | update (RHS &f)=0 |
| Update element (iteration). | |
| virtual real | update (RHS &f, real *values)=0 |
| Update element (iteration), non-destructive. | |
| virtual real | update (RHS &f, real alpha)=0 |
| Update element (iteration), damped version. | |
| virtual real | update (RHS &f, real alpha, real *values)=0 |
| Update element (iteration), damped version, non-destructive. | |
| virtual real | updateLocalNewton (RHS &f)=0 |
| Update element (iteration), local Newton version. | |
| virtual real | updateLocalNewton (RHS &f, real *values)=0 |
| Update element (iteration), local Newton version, non-destructive. | |
| virtual void | set (real u0)=0 |
| Set all element values to the given value. | |
| virtual void | set (const real *const values)=0 |
| Set element values to given values (not including initial data). | |
| virtual void | get (real *const values) const=0 |
| Get element values (not including initial data). | |
| bool | within (real t) const |
| Check if given time is within the element (inline optimized). | |
| unsigned int | index () const |
| Return component index. | |
| real | starttime () const |
| Return the left end-point. | |
| real | endtime () const |
| Return the right end-point. | |
| real | timestep () const |
| Return the size of the time step (inline optimized). | |
| real | computeResidual (RHS &f) |
| virtual bool | accept (real TOL, real r)=0 |
| Check if element can be accepted for given tolerance. | |
| virtual real | computeDiscreteResidual (RHS &f)=0 |
| virtual real | computeElementResidual (RHS &f)=0 |
| virtual real | computeTimeStep (real TOL, real r, real kmax) const=0 |
Protected Member Functions | |
| virtual void | feval (RHS &f)=0 |
| virtual real | integral (unsigned int i) const=0 |
Protected Attributes | |
| unsigned int | q |
| unsigned int | _index |
| Component index. | |
| real | t0 |
| real | t1 |
| real * | values |
Static Protected Attributes | |
| Vector | f |
| NewArray< Matrix > | A |
| NewArray< Vector > | x |
| NewArray< Vector > | b |
|
|
|
|
||||||||||||||||||||
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Check if element can be accepted for given tolerance.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
|
|
||||||||||||||||
|
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Return derivative at the end point.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Return the right end-point.
|
|
|
Return value of element at the end point.
|
|
|
|
|
|
Get element values (not including initial data).
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Return component index.
|
|
|
Return initial value of element.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
|
|
|
Return order of element.
|
|
|
Set element values to given values (not including initial data).
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Set all element values to the given value.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Return number of degrees of freedom.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Return the left end-point.
|
|
|
Return the size of the time step (inline optimized).
|
|
|
Return type of element.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
||||||||||||||||
|
Update element (iteration), damped version, non-destructive.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
||||||||||||
|
Update element (iteration), damped version.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
||||||||||||
|
Update element (iteration), non-destructive.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Update element (iteration).
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
||||||||||||
|
Update given value.
|
|
|
Update initial value.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
||||||||||||
|
Update element (iteration), local Newton version, non-destructive.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Update element (iteration), local Newton version.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Return value of element at given node within element.
|
|
||||||||||||
|
Return value of element at given time, perhaps at the given node (optimized version).
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Return value of element at given time.
Implemented in dolfin::cGqElement, and dolfin::dGqElement. |
|
|
Check if given time is within the element (inline optimized).
|
|
|
Component index.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
![]()
Documentation automatically generated with Doxygen on 10 Sep 2004.