Flow123d  release_3.0.0-1094-g626f1a1
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...
 
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

Meshmesh_
 

Detailed Description

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

Definition at line 38 of file discrete_space.hh.

Constructor & Destructor Documentation

virtual DiscreteSpace::~DiscreteSpace ( )
inlinevirtual

Destructor.

Definition at line 63 of file discrete_space.hh.

DiscreteSpace::DiscreteSpace ( Mesh mesh)
inlineprotected

Constructor.

Definition at line 69 of file discrete_space.hh.

Member Function Documentation

template<unsigned int dim>
FiniteElement<dim>* DiscreteSpace::fe ( const ElementAccessor< 3 > &  ) const

Return finite element object for given element.

Here is the caller graph for this function:

template<>
FiniteElement<0>* DiscreteSpace::fe ( const ElementAccessor< 3 > &  cell) const

Definition at line 119 of file discrete_space.cc.

template<>
FiniteElement<1>* DiscreteSpace::fe ( const ElementAccessor< 3 > &  cell) const

Definition at line 120 of file discrete_space.cc.

template<>
FiniteElement<2>* DiscreteSpace::fe ( const ElementAccessor< 3 > &  cell) const

Definition at line 121 of file discrete_space.cc.

template<>
FiniteElement<3>* DiscreteSpace::fe ( const ElementAccessor< 3 > &  cell) const

Definition at line 122 of file discrete_space.cc.

virtual FiniteElement<0>* DiscreteSpace::fe0d ( const ElementAccessor< 3 > &  ) const
protectedpure virtual

Implemented in EqualOrderDiscreteSpace.

Here is the caller graph for this function:

virtual FiniteElement<1>* DiscreteSpace::fe1d ( const ElementAccessor< 3 > &  ) const
protectedpure virtual

Implemented in EqualOrderDiscreteSpace.

Here is the caller graph for this function:

virtual FiniteElement<2>* DiscreteSpace::fe2d ( const ElementAccessor< 3 > &  ) const
protectedpure virtual

Implemented in EqualOrderDiscreteSpace.

Here is the caller graph for this function:

virtual FiniteElement<3>* DiscreteSpace::fe3d ( const ElementAccessor< 3 > &  ) const
protectedpure virtual

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.

Here is the caller graph for this function:

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.

Here is the caller graph for this function:

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 52 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.

Here is the caller graph for this function:

Member Data Documentation

Mesh* DiscreteSpace::mesh_
protected

Definition at line 77 of file discrete_space.hh.


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