Flow123d
JS_before_hm-1575-ga41e096
|
#include <discrete_space.hh>
Public Member Functions | |
EqualOrderDiscreteSpace (Mesh *mesh, MixedPtr< FiniteElement > fe) | |
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... | |
MixedPtr< FiniteElement > | fe () 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... | |
virtual | ~DiscreteSpace () |
Destructor. More... | |
Private Member Functions | |
template<IntDim dim> | |
void | _init_n_dofs () |
Private Attributes | |
MixedPtr< FiniteElement > | fe_ |
std::vector< unsigned int > | _n_elem_dofs |
std::vector< unsigned int > | _n_edge_dofs |
std::vector< unsigned int > | _n_node_dofs |
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 92 of file discrete_space.hh.
|
inline |
Definition at line 94 of file discrete_space.hh.
|
inlineprivate |
Definition at line 120 of file discrete_space.hh.
|
overridevirtual |
Return Mixed of finite element objects.
TODO: The function should be in foem fe(const ElementAccessor<3> &). But we do not in fact depend on the element accessor now. This is temporary solution, which would work only if its type is EqualOrderDiscreteSpace. Otherwise, the general way would require a new "element FE handler" that would manage FEValues for all FE types within a given DiscreteSpace.
Implements DiscreteSpace.
Definition at line 23 of file discrete_space.cc.
|
inlineoverridevirtual |
Number of dofs associated to edge.
Implements DiscreteSpace.
Definition at line 109 of file discrete_space.hh.
|
inlineoverridevirtual |
Number of dofs associated to element (not shared by adjacent elements).
Implements DiscreteSpace.
Definition at line 106 of file discrete_space.hh.
|
inlineoverridevirtual |
Number of dofs associated to node. nid
is the node index in the mesh tree.
Implements DiscreteSpace.
Definition at line 112 of file discrete_space.hh.
|
private |
Definition at line 134 of file discrete_space.hh.
|
private |
Definition at line 133 of file discrete_space.hh.
|
private |
Definition at line 135 of file discrete_space.hh.
|
private |
Definition at line 132 of file discrete_space.hh.