ug4
|
static interface for trial spaces More...
#include <local_shape_function_set.h>
Public Types | |
typedef TGrad | grad_type |
Gradient type. | |
typedef TImpl | ImplType |
type of implementation | |
typedef TShape | shape_type |
Shape type. | |
Public Member Functions | |
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 = TDim |
dimension of reference element | |
Protected Member Functions | |
ImplType & | getImpl () |
access to implementation | |
const ImplType & | getImpl () const |
const access to implementation | |
static interface for trial spaces
typedef TGrad ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grad_type |
Gradient type.
typedef TImpl ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::ImplType |
type of implementation
typedef TShape ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shape_type |
Shape type.
|
inlineprotected |
access to implementation
Referenced by ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grad(), ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grads(), ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grads(), ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shape(), ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes().
|
inlineprotected |
const access to implementation
|
inline |
evaluates the gradient of the shape function
This function returns the gradient 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::BaseLSFS< TImpl, TDim, TShape, TGrad >::getImpl().
Referenced by ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grads().
|
inline |
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.
[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(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grads().
|
inline |
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.
[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 >::grads().
|
inline |
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.
[out] | vGrad | Vector of gradients |
[in] | x | Position on reference element (evaluation point) |
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::grads().
|
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::BaseLSFS< TImpl, TDim, TShape, TGrad >::shape().
|
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::BaseLSFS< TImpl, TDim, TShape, TGrad >::getImpl().
Referenced by ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shape(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes().
|
inline |
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.
[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(), ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes(), and ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes().
|
inline |
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.
[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 >::shapes().
|
inline |
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.
[out] | vShape | Vector of Shapes |
[in] | x | Position on reference element (evaluation point) |
References ug::BaseLSFS< TImpl, TDim, TShape, TGrad >::shapes().
|
static |
dimension of reference element