|
virtual uint | n () const |
| Number of components.
|
|
virtual void | operator() (const Element &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const uint *i) const |
|
virtual void | operator() (const Element &elm, const uint *j, concepts::Array< F > &val, const uint *i) const |
|
virtual void | operator() (const Element &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const Real p, const Real t=0.0) const |
|
virtual void | operator() (const Element &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const Real2d &p, const Real t=0.0) const |
|
virtual void | operator() (const Element &elm, const concepts::Array< F > &coeff, concepts::Array< F > &val, const concepts::Real3d &p, const Real t=0.0) const |
|
virtual void | operator() (const Element< G > &elm, const Array< F > &coeff, Array< F > &val, const uint *i) const =0 |
|
virtual void | operator() (const Element< G > &elm, const uint *j, Array< F > &val, const uint *i) const =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 ElementFunction< F, G > * | clone () const =0 |
|
template<uint dim, typename F = Real, typename Q = Quad<Real>>
class hp2D::ElementFunction< dim, F, Q >
Base class for element functions for hp elements in 2D
The derivated classes have only to implement the three compute_
methods for element of type Q
, i.e. quads with different shape functions. The class can be extended to new types, like triangles, with new template parameter and new compute_
methods.
The case of scalar function with template parameter dim
= 1 is declared below.
- Author
- Kersten Schmidt, 2005
Definition at line 36 of file functionBase.hh.
template<class F , class G = typename Realtype<F>::type>
|
inlineprotectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Reimplemented in hp1D::Value< F, G >, hp1D::Grad< F, G >, hp2D::Value< F, G >, hp2D::Grad< F >, hp2D::Grad< Cmplx >, hp2D::Laplacian< F, G >, hp2D::Partial_xx< F, Q >, hp2D::Partial_yy< F, Q >, hp2D::PlCurl< F >, hp2D::PlCurl< Cmplx >, hp2D::Trace< F, G >, hp2D::TraceDeriv< F, G >, hp2D::NeumannTrace< F, G >, hp2Dedge::Value< F, G, H >, hp2Dedge::Rot< F, G >, hp2Dedge::Rot< Cmplx >, hp2D::Eddy2D_eField, hp2D::Eddy2D_dissipation, hp2D::Maxwell2D_hField, hp2D::Maxwell2D_eField, hp2D::Maxwell2D_dissipation, mechanics::Stress3D< F, G >, concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, concepts::Absolute< F, G >, vectorial::ElementFunction< F, G >, vectorial::ElementFunctionComponent< F, G >, vectorial::ElementFunctionAllComponents< F, G >, and vectorial::SymmetrizeTensor< dim, F, G >.
Definition at line 67 of file function.hh.
template<class F , class G = typename Realtype<F>::type>
Evaluates the function on precalculated quadrature points.
- Parameters
-
elm | Element |
coeff | Coefficients of local shape functions |
val | Function value |
i | multi-index of the quadrature point |
Implemented in hp1D::Value< F, G >, hp1D::Grad< F, G >, hp2D::Value< F, G >, hp2D::Laplacian< F, G >, hp3D::Value< F, G >, hp3D::Grad< F, G >, mechanics::Stress3D< F, G >, vectorial::ElementFunction< F, G >, vectorial::ElementFunctionComponent< F, G >, vectorial::ElementFunctionAllComponents< F, G >, vectorial::SymmetrizeTensor< dim, F, G >, hp3D::Laplacian< F, G >, concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.
template<class F , class G = typename Realtype<F>::type>
Evaluates the given function on a specific shape function j
(on precalculated quadrature points).
- Parameters
-
elm | Element |
j | multi-index of a shapefunction |
val | Function value |
i | multi-index of the quadrature point |
Implemented in hp1D::Value< F, G >, hp1D::Grad< F, G >, hp2D::Value< F, G >, hp2D::Laplacian< F, G >, hp3D::Value< F, G >, hp3D::Grad< F, G >, mechanics::Stress3D< F, G >, vectorial::ElementFunction< F, G >, vectorial::ElementFunctionComponent< F, G >, vectorial::ElementFunctionAllComponents< F, G >, vectorial::SymmetrizeTensor< dim, F, G >, hp3D::Laplacian< F, G >, concepts::Squared< F, G >, concepts::AbsoluteComp< F, G >, and concepts::Absolute< F, G >.