#include <function.hh>
Public Member Functions | |
ElementFunction (const uint vdim, uint arrayWidth=0) | |
virtual uint | n () const |
Number of components. | |
virtual void | operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const uint *i) const |
Evaluates the function on precalculated quadrature points. | |
virtual void | operator() (const concepts::Element< G > &elm, const uint *j, concepts::Array< F > &val, const uint *i) const |
virtual void | operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const Real p, const Real t=0.0) const |
virtual void | operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const concepts::Real2d &p, const Real t=0.0) const |
virtual void | operator() (const concepts::Element< G > &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const concepts::Real3d &p, const Real t=0.0) const |
virtual ElementFunction< F, G > * | clone () const |
virtual void | put (const concepts::ElementFunction< F, G > &vdata, const uint a=0, const uint b=0) |
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real p, const Real t=0.0) const =0 |
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real2d &p, const Real t=0.0) const =0 |
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real3d &p, const Real t=0.0) const =0 |
virtual void | insert (F &vdata, const int a=0, const int b=0) |
Add a component. | |
virtual const F * | get (const int a, const int b=0) const |
Get a component. | |
uint | vdim () const |
Returns number of components. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
uint | vdim_ |
Number of components. | |
uint | idx_ |
Index of the last added component. | |
concepts::Array< F * > | vdata_ |
Storage. | |
Vector valued element function.
Not to each component of the solution an element function has to be applied. E.g. only the second component can be taken.
Definition at line 31 of file function.hh.
|
inline |
Definition at line 34 of file function.hh.
|
virtual |
Implements concepts::ElementFunction< F, G >.
|
inlinevirtualinherited |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::ElementFunction< F, G >.
|
virtualinherited |
Add a component.
Definition at line 94 of file vectorial.hh.
|
virtual |
Number of components.
Implements concepts::ElementFunction< F, G >.
|
virtual |
Evaluates the function value in an arbitrary point p
of physical space
|
virtual |
Evaluates the function on precalculated quadrature points.
Implements concepts::ElementFunction< F, G >.
|
virtual |
Evaluates the given function on a specific shape function j
(on precalculated quadrature points).
Implements concepts::ElementFunction< F, G >.
|
pure virtualinherited |
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 |
Implemented in hp3D::Laplacian< F, G >, concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.
|
pure virtualinherited |
Implemented in hp3D::Laplacian< F, G >.
|
virtual |
Add a component, it will not deleted here.
vdata | the element function for solution component a |
a | the index of the solution component the element function shall be applied |
b | dummy variable |
|
inlineinherited |
Returns number of components.
Definition at line 77 of file vectorial.hh.
|
protectedinherited |
Index of the last added component.
Definition at line 82 of file vectorial.hh.
|
mutableprotectedinherited |
Storage.
Definition at line 84 of file vectorial.hh.
|
protectedinherited |
Number of components.
Definition at line 80 of file vectorial.hh.