Flow123d  JS_before_hm-989-g79825ac
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DiscreteSpace Class Referenceabstract

#include <discrete_space.hh>

Inheritance diagram for DiscreteSpace:
Inheritance graph
[legend]
Collaboration diagram for DiscreteSpace:
Collaboration graph
[legend]

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...
 
virtual MixedPtr< FiniteElementfe (const ElementAccessor< 3 > &) const =0
 Return Mixed of finite element objects. More...
 
virtual ~DiscreteSpace ()
 Destructor. More...
 

Protected Member Functions

 DiscreteSpace (Mesh *mesh)
 Constructor. More...
 

Protected Attributes

Meshmesh_
 

Detailed Description

Abstract class for definition of finite element functions on the mesh. This should include

Definition at line 41 of file discrete_space.hh.

Constructor & Destructor Documentation

virtual DiscreteSpace::~DiscreteSpace ( )
inlinevirtual

Destructor.

Definition at line 65 of file discrete_space.hh.

DiscreteSpace::DiscreteSpace ( Mesh mesh)
inlineprotected

Constructor.

Definition at line 71 of file discrete_space.hh.

Member Function Documentation

virtual MixedPtr<FiniteElement> DiscreteSpace::fe ( const ElementAccessor< 3 > &  ) const
pure virtual

Return Mixed of finite element objects.

Implemented in EqualOrderDiscreteSpace.

Here is the caller graph for this function:

virtual unsigned int DiscreteSpace::n_edge_dofs ( const Edge edge) const
pure virtual

Number of dofs associated to edge.

Implemented in EqualOrderDiscreteSpace.

virtual unsigned int DiscreteSpace::n_elem_dofs ( const ElementAccessor< 3 > &  cell) const
pure virtual

Number of dofs associated to element (not shared by adjacent elements).

Implemented in EqualOrderDiscreteSpace.

template<unsigned int dim>
unsigned int DiscreteSpace::n_face_dofs ( unsigned int  face_id)
inline

Number of dofs associated to generalized n-face (node, line, triangle or tetrahedron).

Definition at line 55 of file discrete_space.hh.

virtual unsigned int DiscreteSpace::n_node_dofs ( unsigned int  nid) const
pure virtual

Number of dofs associated to node. nid is the node index in the mesh tree.

Implemented in EqualOrderDiscreteSpace.

Member Data Documentation

Mesh* DiscreteSpace::mesh_
protected

Definition at line 74 of file discrete_space.hh.


The documentation for this class was generated from the following file: