|
ug4
|
Elementwise constant shape functions. More...
#include <piecewise_constant.h>
Inheritance diagram for ug::PiecewiseConstantLSFS< TRefElem >:Public Member Functions | |
| bool | continuous () const |
| returns if space constructs continuous functions | |
| bool | exact_position_available () const |
| returns if the local dof position are exact | |
| void | grad (MathVector< dim > &g, const size_t i, const MathVector< dim > &x) const |
| evaluates the shape function | |
| const LocalDoF & | local_dof (size_t dof) const |
| returns the DoFs storage | |
| size_t | num_dof () const |
| size_t | num_dof (ReferenceObjectID type) const |
| size_t | num_sh () const |
| PiecewiseConstantLSFS () | |
| Constructor. | |
| bool | position (size_t i, MathVector< dim > &pos) const |
| local position of DoF i | |
| ReferenceObjectID | roid () const |
| returns the Reference object id of the corresponding grid object | |
| number | shape (const size_t i, const MathVector< dim > &x) const |
| evaluates the shape function | |
Public Member Functions inherited from ug::BaseLSFS< PiecewiseConstantLSFS< TRefElem >, TRefElem::dim > | |
| void | grad (grad_type &g, size_t i, const MathVector< dim > &x) const |
| evaluates the gradient of the shape function | |
| void | grads (grad_type *vGrad, const MathVector< dim > &x) const |
| returns all gradients evaluated at a point | |
| void | grads (std::vector< grad_type > &vGrad, const MathVector< dim > &x) const |
| returns all gradients evaluated at a point | |
| void | grads (std::vector< std::vector< grad_type > > &vvGrad, const std::vector< MathVector< dim > > &vLocPos) const |
| returns all gradients evaluated at a point | |
| void | shape (shape_type &sh, size_t i, const MathVector< dim > &x) const |
| evaluates the shape function | |
| shape_type | shape (size_t i, const MathVector< dim > &x) const |
| evaluates the shape function | |
| void | shapes (shape_type *vShape, const MathVector< dim > &x) const |
| returns all shape functions evaluated at a point | |
| void | shapes (std::vector< shape_type > &vShape, const MathVector< dim > &x) const |
| returns all shape functions evaluated at a point | |
| void | shapes (std::vector< std::vector< shape_type > > &vvShape, const std::vector< MathVector< dim > > &vLocPos) const |
| returns all shape functions evaluated at a point | |
Static Public Attributes | |
| static const int | dim = TRefElem::dim |
| Dimension, where shape functions are defined. | |
Static Public Attributes inherited from ug::BaseLSFS< PiecewiseConstantLSFS< TRefElem >, TRefElem::dim > | |
| static const int | dim |
| dimension of reference element | |
Protected Attributes | |
| MathVector< dim > | bary |
| Barycenter. | |
| LocalDoF | m_vLocalDoF |
| association to elements | |
Additional Inherited Members | |
Public Types inherited from ug::BaseLSFS< PiecewiseConstantLSFS< TRefElem >, TRefElem::dim > | |
| typedef MathVector< TDim > | grad_type |
| Gradient type. | |
| typedef PiecewiseConstantLSFS< TRefElem > | ImplType |
| type of implementation | |
| typedef number | shape_type |
| Shape type. | |
Protected Member Functions inherited from ug::BaseLSFS< PiecewiseConstantLSFS< TRefElem >, TRefElem::dim > | |
| ImplType & | getImpl () |
| access to implementation | |
| const ImplType & | getImpl () const |
| const access to implementation | |
Elementwise constant shape functions.
|
inline |
|
inline |
returns if space constructs continuous functions
|
inline |
returns if the local dof position are exact
|
inline |
evaluates the shape function
This function returns the value of Shape Function i at an element-local evaluation point.
| [in] | i | number of DoF |
| [in] | x | Position on reference element (evaluation point) |
References ug::VecSet().
|
inline |
returns the DoFs storage
References ug::PiecewiseConstantLSFS< TRefElem >::m_vLocalDoF.
|
inline |
returns the total number of dofs on the finite element
|
inline |
returns the total number of dofs on the finite element
|
inline |
returns the total number of dofs on the finite element
|
inline |
local position of DoF i
This function returns the local position of a DoF if possible.
| [in] | i | number of DoF |
| [out] | pos | Position of DoF |
| true | if position exists |
| false | if no meaningful position available |
References ug::PiecewiseConstantLSFS< TRefElem >::bary.
|
inline |
returns the Reference object id of the corresponding grid object
|
inline |
evaluates the shape function
This function returns the value of Shape Function i at an element-local evaluation point.
| [in] | i | number of DoF |
| [in] | x | Position on reference element (evaluation point) |
|
protected |
Barycenter.
Referenced by ug::PiecewiseConstantLSFS< TRefElem >::PiecewiseConstantLSFS(), and ug::PiecewiseConstantLSFS< TRefElem >::position().
|
static |
Dimension, where shape functions are defined.
Referenced by ug::PiecewiseConstantLSFS< TRefElem >::PiecewiseConstantLSFS().
|
protected |
association to elements
Referenced by ug::PiecewiseConstantLSFS< TRefElem >::local_dof(), and ug::PiecewiseConstantLSFS< TRefElem >::PiecewiseConstantLSFS().