ug4
|
Nedelec (or Whitney-1) base function set for tetrahedra. More...
#include <nedelec.h>
Public Types | |
typedef base_type::grad_type | grad_type |
Gradient type. More... | |
typedef ReferenceTetrahedron | reference_element_type |
Reference Element type. More... | |
typedef base_type::shape_type | shape_type |
Shape type. More... | |
Public Types inherited from ug::BaseLSFS< NedelecLSFS< ReferenceTetrahedron >, ReferenceTetrahedron::dim, MathVector< ReferenceTetrahedron::dim >, MathMatrix< ReferenceTetrahedron::dim, ReferenceTetrahedron::dim > > | |
typedef MathMatrix< ReferenceTetrahedron::dim, ReferenceTetrahedron::dim > | grad_type |
Gradient type. More... | |
typedef NedelecLSFS< ReferenceTetrahedron > | ImplType |
type of implementation More... | |
typedef MathVector< ReferenceTetrahedron::dim > | shape_type |
Shape type. More... | |
Public Member Functions | |
bool | continuous () const |
returns if space constructs continuous functions More... | |
void | grad (MathMatrix< dim, dim > &g, const size_t i, const MathVector< dim > &x) const |
evaluates the gradient of the shape function More... | |
NedelecLSFS () | |
Constructor. More... | |
size_t | num_sh () const |
bool | position (size_t i, MathVector< dim > &pos) const |
local position of DoF i More... | |
MathVector< dim > | shape (const size_t i, const MathVector< dim > &x) const |
evaluates the shape function More... | |
Public Member Functions inherited from ug::NedelecLDS< ReferenceTetrahedron > | |
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... | |
NedelecLDS () | |
constructor 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... | |
ReferenceObjectID | roid () const |
returns the type of reference element More... | |
Public Member Functions inherited from ug::BaseLSFS< NedelecLSFS< ReferenceTetrahedron >, ReferenceTetrahedron::dim, MathVector< ReferenceTetrahedron::dim >, MathMatrix< ReferenceTetrahedron::dim, ReferenceTetrahedron::dim > > | |
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 = reference_element_type::dim |
Dimension, where shape functions are defined. More... | |
static const size_t | order = 1 |
Order of Shape functions. More... | |
Static Public Attributes inherited from ug::BaseLSFS< NedelecLSFS< ReferenceTetrahedron >, ReferenceTetrahedron::dim, MathVector< ReferenceTetrahedron::dim >, MathMatrix< ReferenceTetrahedron::dim, ReferenceTetrahedron::dim > > | |
static const int | dim |
dimension of reference element More... | |
Static Protected Attributes | |
static const size_t | nsh = reference_element_type::numEdges |
number of shapes More... | |
Static Protected Attributes inherited from ug::NedelecLDS< ReferenceTetrahedron > | |
static const int | refDim |
dimension of reference element More... | |
Private Types | |
typedef BaseLSFS< NedelecLSFS< reference_element_type >, dim, MathVector< dim >, MathMatrix< dim, dim > > | base_type |
Base class. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ug::BaseLSFS< NedelecLSFS< ReferenceTetrahedron >, ReferenceTetrahedron::dim, MathVector< ReferenceTetrahedron::dim >, MathMatrix< ReferenceTetrahedron::dim, ReferenceTetrahedron::dim > > | |
ImplType & | getImpl () |
access to implementation More... | |
const ImplType & | getImpl () const |
const access to implementation More... | |
Protected Attributes inherited from ug::NedelecLDS< ReferenceTetrahedron > | |
std::vector< LocalDoF > | m_vLocalDoF |
association to elements More... | |
size_t | nsh |
number of shapes (== number of edges) More... | |
Nedelec (or Whitney-1) base function set for tetrahedra.
|
private |
Base class.
Gradient type.
Reference Element type.
Shape type.
|
inline |
Constructor.
|
inline |
returns if space constructs continuous functions
|
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 |
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_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.
|
staticprotected |
number of shapes
|
static |
Order of Shape functions.