#include <function.hh>
Public Member Functions | |
Squared (ElementFunction< F, G > &fun) | |
Constructor. | |
virtual uint | n () const |
Number of components. | |
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const uint *i) const |
virtual void | operator() (const Element< G > &elm, const uint *j, Array< F > &val, const uint *i) const |
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real p, const Real t=0.0) const |
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real2d &p, const Real t=0.0) const |
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real3d &p, const Real t=0.0) const |
virtual Squared< F, G > * | clone () const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
The square of a element function (componentwise)
Definition at line 78 of file function.hh.
|
inline |
Constructor.
Definition at line 81 of file function.hh.
|
inlinevirtual |
Definition at line 82 of file function.hh.
|
inlinevirtual |
Implements concepts::ElementFunction< F, G >.
Definition at line 99 of file function.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::ElementFunction< F, G >.
|
inlinevirtual |
Number of components.
Implements concepts::ElementFunction< F, G >.
Definition at line 83 of file function.hh.
|
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 |
Implements concepts::ElementFunction< F, G >.
|
virtual |
Implements concepts::ElementFunction< F, G >.
|
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 |
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 >.