33 #ifndef __H__UG__LIB_DISC__LOCAL_SHAPE_FUNCTION_SET__LAGRANGEP1__LAGRANGEP1__
34 #define __H__UG__LIB_DISC__LOCAL_SHAPE_FUNCTION_SET__LAGRANGEP1__LAGRANGEP1__
36 #include "../local_finite_element_provider.h"
37 #include "../local_dof_set.h"
51 template <
typename TRefElem>
54 public BaseLSFS<LagrangeP1<TRefElem>, TRefElem::dim>
77 static const size_t nsh = TRefElem::numCorners;
static interface for trial spaces
Definition: local_shape_function_set.h:176
number shape_type
Shape type.
Definition: local_shape_function_set.h:185
Lagrange DoF Set.
Definition: lagrange_local_dof.h:55
Lagrange shape functions of first order.
Definition: lagrangep1.h:55
bool position(size_t i, MathVector< dim > &pos) const
local position of DoF i
bool continuous() const
returns if space constructs continuous functions
Definition: lagrangep1.h:84
static const size_t nsh
Number of shape functions.
Definition: lagrangep1.h:77
TRefElem reference_element_type
Reference Element type.
Definition: lagrangep1.h:68
static const int dim
Dimension, where shape functions are defined.
Definition: lagrangep1.h:71
static const size_t order
Order of Shape functions.
Definition: lagrangep1.h:74
size_t num_sh() const
Definition: lagrangep1.h:87
shape_type shape(size_t i, const MathVector< dim > &x) const
evaluates the shape function
LagrangeP1()
constructor
Definition: lagrangep1.h:81
void grad(grad_type &value, size_t i, const MathVector< dim > &x) const
evaluates the gradient of the shape function
BaseLSFS< LagrangeP1< TRefElem >, TRefElem::dim > base_type
base class
Definition: lagrangep1.h:57
base_type::shape_type shape_type
Shape type.
Definition: lagrangep1.h:61
base_type::grad_type grad_type
Gradient type.
Definition: lagrangep1.h:64
a mathematical Vector with N entries.
Definition: math_vector.h:97