ug4
|
#include <crouzeix_raviart.h>
Public Member Functions | |
void | grad (MathVector< dim > &g, const size_t i, const MathVector< dim > &x) const |
evaluates the gradient of the shape function More... | |
bool | position (size_t i, MathVector< dim > &pos) const |
local position of DoF i More... | |
number | shape (const size_t i, const MathVector< dim > &x) const |
evaluates the shape function More... | |
Public Member Functions inherited from ug::CrouzeixRaviartBase< ReferencePrism > | |
bool | continuous () const |
returns if space constructs continuous functions More... | |
CrouzeixRaviartBase () | |
constructor More... | |
bool | exact_position_available () const |
returns if the local dof position are exact More... | |
const LocalDoF & | local_dof (size_t dof) const |
returns the dof storage More... | |
size_t | num_dof () const |
returns the total number of DoFs on the finite element More... | |
size_t | num_dof (ReferenceObjectID type) const |
returns the number of DoFs on a sub-geometric object type More... | |
size_t | num_sh () const |
ReferenceObjectID | roid () const |
returns the type of reference element More... | |
Public Member Functions inherited from ug::BaseLSFS< CrouzeixRaviartLSFS< ReferencePrism >, 3 > | |
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... | |
Static Public Attributes | |
static const int | dim = 3 |
Dimension, where shape functions are defined. More... | |
Static Public Attributes inherited from ug::CrouzeixRaviartBase< ReferencePrism > | |
static const int | dim |
dimension of reference element More... | |
static const size_t | nsh |
Number of shape functions. More... | |
Static Public Attributes inherited from ug::BaseLSFS< CrouzeixRaviartLSFS< ReferencePrism >, 3 > | |
static const int | dim |
dimension of reference element More... | |
Additional Inherited Members | |
Public Types inherited from ug::BaseLSFS< CrouzeixRaviartLSFS< ReferencePrism >, 3 > | |
typedef MathVector< TDim > | grad_type |
Gradient type. More... | |
typedef CrouzeixRaviartLSFS< ReferencePrism > | ImplType |
type of implementation More... | |
typedef number | shape_type |
Shape type. More... | |
Protected Member Functions inherited from ug::BaseLSFS< CrouzeixRaviartLSFS< ReferencePrism >, 3 > | |
ImplType & | getImpl () |
access to implementation More... | |
const ImplType & | getImpl () const |
const access to implementation More... | |
Protected Attributes inherited from ug::CrouzeixRaviartBase< ReferencePrism > | |
LocalDoF | m_vLocalDoF [nsh] |
association to elements More... | |
|
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_THROW.
|
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_THROW.
|
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_THROW.
|
static |
Dimension, where shape functions are defined.