ug4
|
#include <mini.h>
Public Types | |
typedef MathVector< dim > | grad_type |
Gradient type. More... | |
typedef ReferenceTetrahedron | reference_element_type |
Reference Element type. More... | |
typedef number | shape_type |
Shape type. More... | |
Public Types inherited from ug::BaseLSFS< MiniBubbleLSFS< ReferenceTetrahedron >, 3 > | |
typedef MathVector< TDim > | grad_type |
Gradient type. More... | |
typedef MiniBubbleLSFS< ReferenceTetrahedron > | ImplType |
type of implementation More... | |
typedef number | shape_type |
Shape type. More... | |
Public Member Functions | |
bool | continuous () const |
returns if space constructs continuous functions More... | |
void | grad (MathVector< dim > &g, const size_t i, const MathVector< dim > &x) const |
evaluates the gradient of the shape function More... | |
MiniBubbleLSFS () | |
Constructor. More... | |
size_t | num_sh () const |
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::MiniBubbleLDS< 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... | |
MiniBubbleLDS () | |
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::LocalDoFSet | |
int | dim () const |
returns the reference dimension More... | |
size_t | num_dof (int d, size_t id) const |
returns the number of DoFs on a sub-geometric object of dim and id More... | |
bool | operator!= (const LocalDoFSet &v) const |
inequality check More... | |
bool | operator== (const LocalDoFSet &v) const |
equality check More... | |
virtual | ~LocalDoFSet () |
virtual destructor More... | |
size_t | num_dof () const |
Public Member Functions inherited from ug::BaseLSFS< MiniBubbleLSFS< ReferenceTetrahedron >, 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 const size_t | nsh = 4+1 |
Number of shape functions. More... | |
static const size_t | order = 1 |
Order of Shape functions. More... | |
Static Public Attributes inherited from ug::BaseLSFS< MiniBubbleLSFS< ReferenceTetrahedron >, 3 > | |
static const int | dim |
dimension of reference element More... | |
Additional Inherited Members | |
Protected Member Functions inherited from ug::BaseLSFS< MiniBubbleLSFS< ReferenceTetrahedron >, 3 > | |
ImplType & | getImpl () |
access to implementation More... | |
const ImplType & | getImpl () const |
const access to implementation More... | |
Protected Attributes inherited from ug::MiniBubbleLDS< ReferenceTetrahedron > | |
std::vector< LocalDoF > | m_vLocalDoF |
association to elements More... | |
size_t | nsh |
number of shapes More... | |
Static Protected Attributes inherited from ug::MiniBubbleLDS< ReferenceTetrahedron > | |
static const int | refDim |
dimension of reference element More... | |
typedef MathVector<dim> ug::MiniBubbleLSFS< ReferenceTetrahedron >::grad_type |
Gradient type.
Reference Element type.
typedef number ug::MiniBubbleLSFS< ReferenceTetrahedron >::shape_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.
|
inlinevirtual |
returns the total number of dofs on the finite element
Reimplemented from ug::LocalDoFSet.
|
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.
|
static |
Number of shape functions.
|
static |
Order of Shape functions.