Flow123d
release_3.0.0-968-gc87a28e79
|
Go to the documentation of this file.
19 #ifndef DISCRETE_SPACE_HH_
20 #define DISCRETE_SPACE_HH_
42 virtual unsigned int n_node_dofs(
unsigned int nid)
const = 0;
48 template<
unsigned int dim>
51 ASSERT(
false).error(
"Not implemented.");
56 template<
unsigned int dim>
91 unsigned int n_node_dofs(
unsigned int nid)
const override;
FiniteElement< 1 > * fe1_
virtual FiniteElement< 3 > * fe3d(const ElementAccessor< 3 > &) const =0
FiniteElement< 2 > * fe2_
#define ASSERT(expr)
Allow use shorter versions of macro names if these names is not used with external library.
unsigned int n_elem_dofs(const ElementAccessor< 3 > &cell) const override
Number of dofs associated to element (not shared by adjacent elements).
virtual ~DiscreteSpace()
Destructor.
DiscreteSpace(Mesh *mesh)
Constructor.
virtual FiniteElement< 1 > * fe1d(const ElementAccessor< 3 > &) const =0
EqualOrderDiscreteSpace(Mesh *mesh, FiniteElement< 0 > *fe0, FiniteElement< 1 > *fe1, FiniteElement< 2 > *fe2, FiniteElement< 3 > *fe3)
FiniteElement< 1 > * fe1d(const ElementAccessor< 3 > &cell) const override
FiniteElement< 2 > * fe2d(const ElementAccessor< 3 > &cell) const override
FiniteElement< dim > * fe(const ElementAccessor< 3 > &) const
Return finite element object for given element.
unsigned int n_face_dofs(unsigned int face_id)
Number of dofs associated to generalized n-face (node, line, triangle or tetrahedron).
virtual unsigned int n_node_dofs(unsigned int nid) const =0
Number of dofs associated to node. nid is the node index in the mesh tree.
FiniteElement< 0 > * fe0d(const ElementAccessor< 3 > &cell) const override
virtual unsigned int n_elem_dofs(const ElementAccessor< 3 > &cell) const =0
Number of dofs associated to element (not shared by adjacent elements).
Abstract class for the description of a general finite element on a reference simplex in dim dimensio...
virtual FiniteElement< 2 > * fe2d(const ElementAccessor< 3 > &) const =0
unsigned int n_node_dofs(unsigned int nid) const override
Number of dofs associated to node. nid is the node index in the mesh tree.
FiniteElement< 0 > * fe0_
FiniteElement< 3 > * fe3d(const ElementAccessor< 3 > &cell) const override
FiniteElement< 3 > * fe3_
virtual FiniteElement< 0 > * fe0d(const ElementAccessor< 3 > &) const =0