Flow123d  release_3.0.0-880-gc768b7a
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_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 83 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 86 of file discrete_space.hh.

Member Function Documentation

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

Implements DiscreteSpace.

Definition at line 93 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 94 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 95 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 96 of file discrete_space.hh.

Here is the caller graph for this function:

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 56 of file discrete_space.cc.

Member Data Documentation

FiniteElement<0>* EqualOrderDiscreteSpace::fe0_
private

Definition at line 101 of file discrete_space.hh.

FiniteElement<1>* EqualOrderDiscreteSpace::fe1_
private

Definition at line 102 of file discrete_space.hh.

FiniteElement<2>* EqualOrderDiscreteSpace::fe2_
private

Definition at line 103 of file discrete_space.hh.

FiniteElement<3>* EqualOrderDiscreteSpace::fe3_
private

Definition at line 104 of file discrete_space.hh.


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