Flow123d  release_3.0.0-1091-gb6fa18e
Public Member Functions | Private Attributes | List of all members
EqualOrderDiscreteSpace Class Reference

#include <discrete_space.hh>

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

Public Member Functions

 EqualOrderDiscreteSpace (Mesh *mesh, FiniteElement< 0 > *fe0, FiniteElement< 1 > *fe1, FiniteElement< 2 > *fe2, FiniteElement< 3 > *fe3)
 
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...
 
FiniteElement< 0 > * fe0d (const ElementAccessor< 3 > &cell) const override
 
FiniteElement< 1 > * fe1d (const ElementAccessor< 3 > &cell) const override
 
FiniteElement< 2 > * fe2d (const ElementAccessor< 3 > &cell) const override
 
FiniteElement< 3 > * fe3d (const ElementAccessor< 3 > &cell) 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...
 
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
 

Private Attributes

FiniteElement< 0 > * fe0_
 
FiniteElement< 1 > * fe1_
 
FiniteElement< 2 > * fe2_
 
FiniteElement< 3 > * fe3_
 

Additional Inherited Members

- Protected Member Functions inherited from DiscreteSpace
 DiscreteSpace (Mesh *mesh)
 Constructor. More...
 
- Protected Attributes inherited from DiscreteSpace
Meshmesh_
 

Detailed Description

Implementation of DiscreteSpace when all elements have the same FiniteElement.

Definition at line 86 of file discrete_space.hh.

Constructor & Destructor Documentation

EqualOrderDiscreteSpace::EqualOrderDiscreteSpace ( Mesh mesh,
FiniteElement< 0 > *  fe0,
FiniteElement< 1 > *  fe1,
FiniteElement< 2 > *  fe2,
FiniteElement< 3 > *  fe3 
)
inline

Definition at line 89 of file discrete_space.hh.

Member Function Documentation

FiniteElement<0>* EqualOrderDiscreteSpace::fe0d ( const ElementAccessor< 3 > &  cell) const
inlineoverridevirtual

Implements DiscreteSpace.

Definition at line 98 of file discrete_space.hh.

Here is the caller graph for this function:

FiniteElement<1>* EqualOrderDiscreteSpace::fe1d ( const ElementAccessor< 3 > &  cell) const
inlineoverridevirtual

Implements DiscreteSpace.

Definition at line 99 of file discrete_space.hh.

Here is the caller graph for this function:

FiniteElement<2>* EqualOrderDiscreteSpace::fe2d ( const ElementAccessor< 3 > &  cell) const
inlineoverridevirtual

Implements DiscreteSpace.

Definition at line 100 of file discrete_space.hh.

Here is the caller graph for this function:

FiniteElement<3>* EqualOrderDiscreteSpace::fe3d ( const ElementAccessor< 3 > &  cell) const
inlineoverridevirtual

Implements DiscreteSpace.

Definition at line 101 of file discrete_space.hh.

Here is the caller graph for this function:

unsigned int EqualOrderDiscreteSpace::n_edge_dofs ( const Edge edge) const
overridevirtual

Number of dofs associated to edge.

Implements DiscreteSpace.

Definition at line 56 of file discrete_space.cc.

unsigned int EqualOrderDiscreteSpace::n_elem_dofs ( const ElementAccessor< 3 > &  cell) const
overridevirtual

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

Implements DiscreteSpace.

Definition at line 26 of file discrete_space.cc.

unsigned int EqualOrderDiscreteSpace::n_node_dofs ( unsigned int  nid) const
overridevirtual

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

Implements DiscreteSpace.

Definition at line 87 of file discrete_space.cc.

Member Data Documentation

FiniteElement<0>* EqualOrderDiscreteSpace::fe0_
private

Definition at line 106 of file discrete_space.hh.

FiniteElement<1>* EqualOrderDiscreteSpace::fe1_
private

Definition at line 107 of file discrete_space.hh.

FiniteElement<2>* EqualOrderDiscreteSpace::fe2_
private

Definition at line 108 of file discrete_space.hh.

FiniteElement<3>* EqualOrderDiscreteSpace::fe3_
private

Definition at line 109 of file discrete_space.hh.


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