Flow123d
release_3.0.0-1073-g8f35d56
|
#include <discrete_space.hh>
Public Member Functions | |
EqualOrderDiscreteSpace (Mesh *mesh, FiniteElement< 0 > *fe0, FiniteElement< 1 > *fe1, FiniteElement< 2 > *fe2, FiniteElement< 3 > *fe3) | |
unsigned int | n_elem_dofs (const ElementAccessor< 3 > &cell) const override |
Number of dofs associated to element (not shared by adjacent elements). More... | |
unsigned int | n_edge_dofs (const Edge &edge) const override |
Number of dofs associated to edge. More... | |
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. More... | |
FiniteElement< 0 > * | fe0d (const ElementAccessor< 3 > &cell) const override |
FiniteElement< 1 > * | fe1d (const ElementAccessor< 3 > &cell) const override |
FiniteElement< 2 > * | fe2d (const ElementAccessor< 3 > &cell) const override |
FiniteElement< 3 > * | fe3d (const ElementAccessor< 3 > &cell) const override |
Public Member Functions inherited from DiscreteSpace | |
template<unsigned int dim> | |
unsigned int | n_face_dofs (unsigned int face_id) |
Number of dofs associated to generalized n-face (node, line, triangle or tetrahedron). More... | |
template<unsigned int dim> | |
FiniteElement< dim > * | fe (const ElementAccessor< 3 > &) const |
Return finite element object for given element. More... | |
virtual | ~DiscreteSpace () |
Destructor. More... | |
template<> | |
FiniteElement< 0 > * | fe (const ElementAccessor< 3 > &cell) const |
template<> | |
FiniteElement< 1 > * | fe (const ElementAccessor< 3 > &cell) const |
template<> | |
FiniteElement< 2 > * | fe (const ElementAccessor< 3 > &cell) const |
template<> | |
FiniteElement< 3 > * | fe (const ElementAccessor< 3 > &cell) const |
Private Attributes | |
FiniteElement< 0 > * | fe0_ |
FiniteElement< 1 > * | fe1_ |
FiniteElement< 2 > * | fe2_ |
FiniteElement< 3 > * | fe3_ |
Additional Inherited Members | |
Protected Member Functions inherited from DiscreteSpace | |
DiscreteSpace (Mesh *mesh) | |
Constructor. More... | |
Protected Attributes inherited from DiscreteSpace | |
Mesh * | mesh_ |
Implementation of DiscreteSpace when all elements have the same FiniteElement.
Definition at line 86 of file discrete_space.hh.
|
inline |
Definition at line 89 of file discrete_space.hh.
|
inlineoverridevirtual |
Implements DiscreteSpace.
Definition at line 98 of file discrete_space.hh.
|
inlineoverridevirtual |
Implements DiscreteSpace.
Definition at line 99 of file discrete_space.hh.
|
inlineoverridevirtual |
Implements DiscreteSpace.
Definition at line 100 of file discrete_space.hh.
|
inlineoverridevirtual |
Implements DiscreteSpace.
Definition at line 101 of file discrete_space.hh.
|
overridevirtual |
Number of dofs associated to edge.
Implements DiscreteSpace.
Definition at line 56 of file discrete_space.cc.
|
overridevirtual |
Number of dofs associated to element (not shared by adjacent elements).
Implements DiscreteSpace.
Definition at line 26 of file discrete_space.cc.
|
overridevirtual |
Number of dofs associated to node. nid
is the node index in the mesh tree.
Implements DiscreteSpace.
Definition at line 87 of file discrete_space.cc.
|
private |
Definition at line 106 of file discrete_space.hh.
|
private |
Definition at line 107 of file discrete_space.hh.
|
private |
Definition at line 108 of file discrete_space.hh.
|
private |
Definition at line 109 of file discrete_space.hh.