|
void | grad (grad_type &g, size_t i, const MathVector< dim > &x) const |
| evaluates the gradient of the shape function More...
|
|
void | grads (grad_type *vGrad, const MathVector< dim > &x) const |
| returns all gradients evaluated at a point More...
|
|
void | grads (std::vector< grad_type > &vGrad, const MathVector< dim > &x) const |
| returns all gradients evaluated at a point More...
|
|
void | grads (std::vector< std::vector< grad_type > > &vvGrad, const std::vector< MathVector< dim > > &vLocPos) const |
| returns all gradients evaluated at a point More...
|
|
void | shape (shape_type &sh, size_t i, const MathVector< dim > &x) const |
| evaluates the shape function More...
|
|
shape_type | shape (size_t i, const MathVector< dim > &x) const |
| evaluates the shape function More...
|
|
void | shapes (shape_type *vShape, const MathVector< dim > &x) const |
| returns all shape functions evaluated at a point More...
|
|
void | shapes (std::vector< shape_type > &vShape, const MathVector< dim > &x) const |
| returns all shape functions evaluated at a point More...
|
|
void | shapes (std::vector< std::vector< shape_type > > &vvShape, const std::vector< MathVector< dim > > &vLocPos) const |
| returns all shape functions evaluated at a point More...
|
|
template<typename TImpl, int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
class ug::BaseLSFS< TImpl, TDim, TShape, TGrad >
static interface for trial spaces
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
returns all gradients evaluated at a point
This function returns the gradients of all Shape Functions at an element-local evaluation point in an array.
- Parameters
-
[out] | vGrad | Vector of gradients |
[in] | x | Position on reference element (evaluation point) |
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::getImpl(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grad().
Referenced by ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grads().
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
returns all gradients evaluated at a point
This function returns the gradients of all Shape Functions at an element-local evaluation point in an array.
- Parameters
-
[out] | vGrad | Vector of gradients |
[in] | x | Position on reference element (evaluation point) |
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grads().
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
evaluates the shape function
This function returns the value of Shape Function i at an element-local evaluation point.
- Parameters
-
[in] | i | number of DoF |
[in] | x | Position on reference element (evaluation point) |
- Returns
- shape function value at point
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shape().
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
evaluates the shape function
This function returns the value of Shape Function i at an element-local evaluation point.
- Parameters
-
[in] | i | number of DoF |
[in] | x | Position on reference element (evaluation point) |
- Returns
- shape function value at point
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::getImpl().
Referenced by ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shape(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes().
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
returns all shape functions evaluated at a point
This function returns the values of all Shape Functions at an element-local evaluation point in an array.
- Parameters
-
[out] | vShape | Vector of Shapes |
[in] | x | Position on reference element (evaluation point) |
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::getImpl(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shape().
Referenced by ug::FV1InnerBoundaryElemDisc< TImpl, TDomain >::prep_err_est_elem(), ug::FV1InnerBoundaryElemDisc< TImpl, TDomain >::prep_err_est_elem_loop(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes().
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
template<typename TImpl , int TDim, typename TShape = number, typename TGrad = MathVector<TDim>>
returns all shape functions evaluated at a point
This function returns the values of all Shape Functions at an element-local evaluation point in an array.
- Parameters
-
[out] | vShape | Vector of Shapes |
[in] | x | Position on reference element (evaluation point) |
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes().