Flow123d
release_3.0.0-904-gff06a57
|
#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 tree. 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... | |
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 |
Protected Member Functions | |
DiscreteSpace (Mesh *mesh) | |
Constructor. More... | |
virtual FiniteElement< 0 > * | fe0d (const ElementAccessor< 3 > &) const =0 |
virtual FiniteElement< 1 > * | fe1d (const ElementAccessor< 3 > &) const =0 |
virtual FiniteElement< 2 > * | fe2d (const ElementAccessor< 3 > &) const =0 |
virtual FiniteElement< 3 > * | fe3d (const ElementAccessor< 3 > &) const =0 |
Protected Attributes | |
Mesh * | mesh_ |
Abstract class for definition of finite element functions on the mesh. This should include
Definition at line 38 of file discrete_space.hh.
|
inlinevirtual |
Destructor.
Definition at line 63 of file discrete_space.hh.
|
inlineprotected |
Constructor.
Definition at line 69 of file discrete_space.hh.
FiniteElement<dim>* DiscreteSpace::fe | ( | const ElementAccessor< 3 > & | ) | const |
Return finite element object for given element.
FiniteElement<0>* DiscreteSpace::fe | ( | const ElementAccessor< 3 > & | cell | ) | const |
Definition at line 119 of file discrete_space.cc.
FiniteElement<1>* DiscreteSpace::fe | ( | const ElementAccessor< 3 > & | cell | ) | const |
Definition at line 120 of file discrete_space.cc.
FiniteElement<2>* DiscreteSpace::fe | ( | const ElementAccessor< 3 > & | cell | ) | const |
Definition at line 121 of file discrete_space.cc.
FiniteElement<3>* DiscreteSpace::fe | ( | const ElementAccessor< 3 > & | cell | ) | const |
Definition at line 122 of file discrete_space.cc.
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
protectedpure virtual |
|
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 52 of file discrete_space.hh.
|
pure virtual |
Number of dofs associated to node. nid
is the node index in the mesh tree.
Implemented in EqualOrderDiscreteSpace.
|
protected |
Definition at line 77 of file discrete_space.hh.