The component wise absolute value of a element function. More...
#include <function.hh>


Public Member Functions | |
| AbsoluteComp (ElementFunction< F, G > &fun) | |
| Constructor. | |
| virtual AbsoluteComp< F, G > * | clone () const |
| virtual uint | n () const |
| Number of components. | |
| virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real2d &p, const Real t=0.0) const |
Evaluates the function value in an arbitrary point p of physical space. | |
| virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real3d &p, const Real t=0.0) const |
Evaluates the function value in an arbitrary point p of physical space. | |
| virtual void | operator() (const Element< G > &elm, const uint *j, Array< F > &val, const uint *i) const |
Evaluates the given function on a specific shape function j (on precalculated quadrature points). | |
| virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const uint *i) const |
| Evaluates the function on precalculated quadrature points. | |
| virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real p, const Real t=0.0) const |
Evaluates the function value in an arbitrary point p of physical space. | |
| virtual | ~AbsoluteComp () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| void | absolute_ (Array< F > &val) const |
| Method for the absolute value. | |
Private Attributes | |
| ElementFunction< F, G > & | fun_ |
| FE Function for which the square is to taken. | |
The component wise absolute value of a element function.
Unless the absolute value is real, the restriction of the methods allow for complex coefficients only complex output. For this case the complex number has only a real part.
Definition at line 124 of file function.hh.
| concepts::AbsoluteComp< F, G >::AbsoluteComp | ( | ElementFunction< F, G > & | fun | ) | [inline] |
Constructor.
Definition at line 127 of file function.hh.
| virtual concepts::AbsoluteComp< F, G >::~AbsoluteComp | ( | ) | [inline, virtual] |
Definition at line 128 of file function.hh.
| void concepts::AbsoluteComp< F, G >::absolute_ | ( | Array< F > & | val | ) | const [private] |
Method for the absolute value.
| virtual AbsoluteComp<F,G>* concepts::AbsoluteComp< F, G >::clone | ( | ) | const [inline, virtual] |
Implements concepts::ElementFunction< F, G >.
Definition at line 144 of file function.hh.

| virtual std::ostream& concepts::AbsoluteComp< F, G >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::ElementFunction< F, G >.
| virtual uint concepts::AbsoluteComp< F, G >::n | ( | ) | const [inline, virtual] |
Number of components.
Implements concepts::ElementFunction< F, G >.
Definition at line 129 of file function.hh.
| virtual void concepts::AbsoluteComp< F, G >::operator() | ( | const Element< G > & | elm, |
| const Array< F > & | coeff, | ||
| Array< F > & | val, | ||
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Evaluates the function value in an arbitrary point p of physical space.
| elm | Element |
| coeff | Coefficients of local shape functions |
| val | Function value |
| p | Point in space in local element coordinates |
| t | Point in time |
Implements concepts::ElementFunction< F, G >.
| virtual void concepts::AbsoluteComp< F, G >::operator() | ( | const Element< G > & | elm, |
| const Array< F > & | coeff, | ||
| Array< F > & | val, | ||
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Evaluates the function value in an arbitrary point p of physical space.
| elm | Element |
| coeff | Coefficients of local shape functions |
| val | Function value |
| p | Point in space in local element coordinates |
| t | Point in time |
Implements concepts::ElementFunction< F, G >.
| virtual void concepts::AbsoluteComp< F, G >::operator() | ( | const Element< G > & | elm, |
| const Array< F > & | coeff, | ||
| Array< F > & | val, | ||
| const uint * | i | ||
| ) | const [virtual] |
Evaluates the function on precalculated quadrature points.
| elm | Element |
| coeff | Coefficients of local shape functions |
| val | Function value |
| i | multi-index of the quadrature point |
Implements concepts::ElementFunction< F, G >.
| virtual void concepts::AbsoluteComp< F, G >::operator() | ( | const Element< G > & | elm, |
| const uint * | j, | ||
| Array< F > & | val, | ||
| const uint * | i | ||
| ) | const [virtual] |
Evaluates the given function on a specific shape function j (on precalculated quadrature points).
| elm | Element |
| j | multi-index of a shapefunction |
| val | Function value |
| i | multi-index of the quadrature point |
Implements concepts::ElementFunction< F, G >.
| virtual void concepts::AbsoluteComp< F, G >::operator() | ( | const Element< G > & | elm, |
| const Array< F > & | coeff, | ||
| Array< F > & | val, | ||
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Evaluates the function value in an arbitrary point p of physical space.
| elm | Element |
| coeff | Coefficients of local shape functions |
| val | Function value |
| p | Point in space in local element coordinates |
| t | Point in time |
Implements concepts::ElementFunction< F, G >.
ElementFunction<F,G>& concepts::AbsoluteComp< F, G >::fun_ [private] |
FE Function for which the square is to taken.
Definition at line 149 of file function.hh.