Flow123d
DF_mechanic_bench-4968b1b
|
#include <discrete_space.hh>
Public Member Functions | |
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 duplicate_nodes object. More... | |
virtual unsigned int | n_edge_dofs (const Edge &edge) const =0 |
Number of dofs associated to edge. More... | |
virtual unsigned int | n_elem_dofs (const ElementAccessor< 3 > &cell) const =0 |
Number of dofs associated to element (not shared by adjacent elements). More... | |
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 MixedPtr< FiniteElement > | fe () const =0 |
virtual | ~DiscreteSpace () |
Destructor. More... | |
Protected Member Functions | |
DiscreteSpace (MeshBase *mesh) | |
Constructor. More... | |
Protected Attributes | |
MeshBase * | mesh_ |
Abstract class for definition of finite element functions on the mesh. This should include
Definition at line 41 of file discrete_space.hh.
|
inlinevirtual |
Destructor.
Definition at line 74 of file discrete_space.hh.
|
inlineprotected |
Constructor.
Definition at line 80 of file discrete_space.hh.
|
pure virtual |
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.
Implemented in EqualOrderDiscreteSpace.
|
pure virtual |
Number of dofs associated to edge.
Implemented in EqualOrderDiscreteSpace.
|
pure virtual |
Number of dofs associated to element (not shared by adjacent elements).
Implemented in EqualOrderDiscreteSpace.
|
inline |
Number of dofs associated to generalized n-face (node, line, triangle or tetrahedron).
Definition at line 55 of file discrete_space.hh.
|
pure virtual |
Number of dofs associated to node. nid
is the node index in the mesh duplicate_nodes object.
Implemented in EqualOrderDiscreteSpace.
|
protected |
Definition at line 83 of file discrete_space.hh.