vectorial::ElementFunctionComponent< F, G > Class Template Referenceabstract
Element function for selecting one scalar component of the vectorial solution. More...
#include <function.hh>
Public Member Functions | |
virtual ElementFunctionComponent< F, G > * | clone () const |
virtual ElementFunction< F, Real > * | clone () const=0 |
ElementFunctionComponent (uint vdim, const concepts::ElementFunction< F, G > &fun, const uint component) | |
virtual uint | n () const |
virtual uint | n () const=0 |
Number of components. More... | |
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 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 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 uint *i) const |
virtual void | operator() (const concepts::Element< G > &elm, const uint *j, concepts::Array< F > &val, const uint *i) const |
virtual void | operator() (const Element< Real > &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. More... | |
virtual void | operator() (const Element< Real > &elm, const Array< F > &coeff, Array< F > &val, const Real2d &p, const Real t=0.0) const=0 |
virtual void | operator() (const Element< Real > &elm, const Array< F > &coeff, Array< F > &val, const Real3d &p, const Real t=0.0) const=0 |
virtual void | operator() (const Element< Real > &elm, const Array< F > &coeff, Array< F > &val, const uint *i) const=0 |
Evaluates the function on precalculated quadrature points. More... | |
virtual void | operator() (const Element< Real > &elm, const uint *j, Array< F > &val, const uint *i) const=0 |
Evaluates the given function on a specific shape function j (on precalculated quadrature points). More... | |
virtual | ~ElementFunctionComponent () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Member Functions | |
ElementFunctionComponent (ElementFunction< F, G > *fun, uint n) | |
Private constructor. More... | |
Private Attributes | |
std::unique_ptr< ElementFunction< F, G > > | fun_ |
Vectorial element function with one component. More... | |
uint | n_ |
Number of components. More... | |
Detailed Description
template<class F, class G = Real>
class vectorial::ElementFunctionComponent< F, G >
Element function for selecting one scalar component of the vectorial solution.
Definition at line 91 of file function.hh.
Constructor & Destructor Documentation
◆ ElementFunctionComponent() [1/2]
vectorial::ElementFunctionComponent< F, G >::ElementFunctionComponent | ( | uint | vdim, |
const concepts::ElementFunction< F, G > & | fun, | ||
const uint | component | ||
) |
◆ ~ElementFunctionComponent()
|
inlinevirtual |
Definition at line 97 of file function.hh.
◆ ElementFunctionComponent() [2/2]
|
inlineprivate |
Private constructor.
Definition at line 143 of file function.hh.
Member Function Documentation
◆ clone() [1/2]
|
inlinevirtual |
Definition at line 99 of file function.hh.
◆ clone() [2/2]
|
pure virtualinherited |
◆ info()
|
inlineprotectedvirtual |
Reimplemented from concepts::ElementFunction< F, Real >.
Definition at line 132 of file function.hh.
◆ n() [1/2]
|
inlinevirtual |
Definition at line 104 of file function.hh.
◆ n() [2/2]
|
pure virtualinherited |
Number of components.
◆ operator()() [1/10]
|
virtual |
◆ operator()() [2/10]
|
virtual |
◆ operator()() [3/10]
|
virtual |
◆ operator()() [4/10]
|
virtual |
◆ operator()() [5/10]
|
virtual |
◆ operator()() [6/10]
|
pure virtualinherited |
Evaluates the function value in an arbitrary point p
of physical space.
- Parameters
-
elm Element coeff Coefficients of local shape functions val Function value p Point in space in local element coordinates t Point in time
◆ operator()() [7/10]
|
pure virtualinherited |
◆ operator()() [8/10]
|
pure virtualinherited |
◆ operator()() [9/10]
|
pure virtualinherited |
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
◆ operator()() [10/10]
|
pure virtualinherited |
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
Member Data Documentation
◆ fun_
|
private |
Vectorial element function with one component.
Definition at line 140 of file function.hh.
◆ n_
|
private |
Number of components.
Definition at line 138 of file function.hh.
The documentation for this class was generated from the following file:
- vectorial/function.hh