The approximated function in a FE space. More...
#include <function.hh>


Public Member Functions | |
| virtual Value< F, G > * | clone () const |
| 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 concepts::Real3d &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 Real p, const Real t=0.0) const |
| virtual void | operator() (const concepts::Element< G > &elm, const uint *j, concepts::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 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 Element< G > &elm, const Array< F > &coeff, Array< F > &val, const Real p, const Real t=0.0) const =0 |
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 Real2d &p, const Real t=0.0) const =0 |
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 =0 |
Evaluates the function value in an arbitrary point p of physical space. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| bool | compute_ (const hp1D::Element< G > *elm, const concepts::Array< F > &coeff, F &val, const uint i) const |
| bool | compute_ (const hp1D::Element< G > *elm, const concepts::Array< F > &coeff, F &val, const Real p, const Real t=0.0) const |
| bool | compute_ (const hp1D::Element< G > *elm, const uint j, F &val, const uint i) const |
The approximated function in a FE space.
Definition at line 24 of file function.hh.
| virtual Value<F,G>* hp1D::Value< F, G >::clone | ( | ) | const [inline, virtual] |
Implements concepts::ElementFunction< F, G >.
Definition at line 47 of file function.hh.
| bool hp1D::Value< F, G >::compute_ | ( | const hp1D::Element< G > * | elm, |
| const concepts::Array< F > & | coeff, | ||
| F & | val, | ||
| const uint | i | ||
| ) | const [private] |
| bool hp1D::Value< F, G >::compute_ | ( | const hp1D::Element< G > * | elm, |
| const uint | j, | ||
| F & | val, | ||
| const uint | i | ||
| ) | const [private] |
| bool hp1D::Value< F, G >::compute_ | ( | const hp1D::Element< G > * | elm, |
| const concepts::Array< F > & | coeff, | ||
| F & | val, | ||
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [private] |
| virtual std::ostream& hp1D::Value< F, G >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::ElementFunction< F, G >.
| virtual uint hp1D::Value< F, G >::n | ( | ) | const [inline, virtual] |
Number of components.
Implements concepts::ElementFunction< F, G >.
Definition at line 27 of file function.hh.
| virtual void hp1D::Value< F, G >::operator() | ( | const concepts::Element< G > & | elm, |
| const concepts::Array< F > & | coeff, | ||
| concepts::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 hp1D::Value< F, G >::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] |
| virtual void hp1D::Value< F, G >::operator() | ( | const concepts::Element< G > & | elm, |
| const uint * | j, | ||
| concepts::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 hp1D::Value< F, G >::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] |
| virtual void concepts::ElementFunction< F, G >::operator() | ( | const Element< G > & | elm, |
| const Array< F > & | coeff, | ||
| Array< F > & | val, | ||
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
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 concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.
| virtual void concepts::ElementFunction< F, G >::operator() | ( | const Element< G > & | elm, |
| const Array< F > & | coeff, | ||
| Array< F > & | val, | ||
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
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 concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.
| virtual void hp1D::Value< F, G >::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] |
| virtual void concepts::ElementFunction< F, G >::operator() | ( | const Element< G > & | elm, |
| const Array< F > & | coeff, | ||
| Array< F > & | val, | ||
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
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 concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.