Flow123d  JS_before_hm-989-g79825ac
Public Member Functions | Private 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, MixedPtr< FiniteElement > fe)
 
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...
 
MixedPtr< FiniteElementfe (const ElementAccessor< 3 > &cell) const override
 Return Mixed of finite element objects. More...
 
- 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...
 
virtual ~DiscreteSpace ()
 Destructor. More...
 

Private Member Functions

template<IntDim dim>
void _init_n_dofs ()
 

Private Attributes

MixedPtr< FiniteElementfe_
 
std::vector< unsigned int > _n_elem_dofs
 
std::vector< unsigned int > _n_edge_dofs
 
std::vector< unsigned int > _n_node_dofs
 

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,
MixedPtr< FiniteElement fe 
)
inline

Definition at line 85 of file discrete_space.hh.

Member Function Documentation

template<IntDim dim>
void EqualOrderDiscreteSpace::_init_n_dofs ( )
inlineprivate

Definition at line 111 of file discrete_space.hh.

MixedPtr< FiniteElement > EqualOrderDiscreteSpace::fe ( const ElementAccessor< 3 > &  ) const
overridevirtual

Return Mixed of finite element objects.

Implements DiscreteSpace.

Definition at line 23 of file discrete_space.cc.

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

Number of dofs associated to edge.

Implements DiscreteSpace.

Definition at line 100 of file discrete_space.hh.

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

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

Implements DiscreteSpace.

Definition at line 97 of file discrete_space.hh.

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

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

Implements DiscreteSpace.

Definition at line 103 of file discrete_space.hh.

Member Data Documentation

std::vector<unsigned int> EqualOrderDiscreteSpace::_n_edge_dofs
private

Definition at line 125 of file discrete_space.hh.

std::vector<unsigned int> EqualOrderDiscreteSpace::_n_elem_dofs
private

Definition at line 124 of file discrete_space.hh.

std::vector<unsigned int> EqualOrderDiscreteSpace::_n_node_dofs
private

Definition at line 126 of file discrete_space.hh.

MixedPtr<FiniteElement> EqualOrderDiscreteSpace::fe_
private

Definition at line 123 of file discrete_space.hh.


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