Flow123d  release_2.2.0-20-gb8056ca
Public Member Functions | Public Attributes | List of all members
DofDistribution< degree, dim > Class Template Reference

Distribution of dofs for polynomial finite elements. More...

#include <fe_p.hh>

Collaboration diagram for DofDistribution< degree, dim >:
Collaboration graph
[legend]

Public Member Functions

 DofDistribution ()
 Constructor. More...
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 
template<>
 DofDistribution ()
 

Public Attributes

unsigned int number_of_dofs
 Total number of degrees of freedom at one finite element. More...
 
unsigned int number_of_single_dofs [dim+1]
 Number of single dofs at one geometrical entity of the given dimension (point, line, triangle, tetrahedron). More...
 
unsigned int number_of_pairs [dim+1]
 Number of pairs of dofs at one geometrical entity of the given dimension (applicable to lines and triangles). More...
 
unsigned int number_of_triples [dim+1]
 Number of triples of dofs associated to one triangle. More...
 
unsigned int number_of_sextuples [dim+1]
 Number of sextuples of dofs associated to one triangle. More...
 
std::vector< arma::vec::fixed< dim > > unit_support_points
 Support points. More...
 

Detailed Description

template<unsigned int degree, unsigned int dim>
class DofDistribution< degree, dim >

Distribution of dofs for polynomial finite elements.

The class holds the information on the total number of dofs as well as the number of dofs associated to geometrical entities such as points, lines, triangles and tetrahedra. Moreover, some dofs are grouped to pairs, triples or sextuples which are invariant to rotation/reflection of the element.

The coordinates of unit support points are provided. The values at support points uniquely determine the finite element function.

Definition at line 90 of file fe_p.hh.

Constructor & Destructor Documentation

template<unsigned int degree, unsigned int dim>
DofDistribution< degree, dim >::DofDistribution ( )

Constructor.

Initializes all variables.

Here is the caller graph for this function:

template<>
DofDistribution< 0, 1 >::DofDistribution ( )

Definition at line 28 of file fe_p.cc.

template<>
DofDistribution< 1, 1 >::DofDistribution ( )

Definition at line 39 of file fe_p.cc.

template<>
DofDistribution< 2, 1 >::DofDistribution ( )

Definition at line 51 of file fe_p.cc.

template<>
DofDistribution< 3, 1 >::DofDistribution ( )

Definition at line 66 of file fe_p.cc.

template<>
DofDistribution< 0, 2 >::DofDistribution ( )

Definition at line 86 of file fe_p.cc.

template<>
DofDistribution< 1, 2 >::DofDistribution ( )

Definition at line 98 of file fe_p.cc.

template<>
DofDistribution< 2, 2 >::DofDistribution ( )

Definition at line 111 of file fe_p.cc.

template<>
DofDistribution< 3, 2 >::DofDistribution ( )

Definition at line 131 of file fe_p.cc.

template<>
DofDistribution< 0, 3 >::DofDistribution ( )

Definition at line 164 of file fe_p.cc.

template<>
DofDistribution< 1, 3 >::DofDistribution ( )

Definition at line 176 of file fe_p.cc.

template<>
DofDistribution< 2, 3 >::DofDistribution ( )

Definition at line 190 of file fe_p.cc.

template<>
DofDistribution< 3, 3 >::DofDistribution ( )

Definition at line 217 of file fe_p.cc.

Member Data Documentation

template<unsigned int degree, unsigned int dim>
unsigned int DofDistribution< degree, dim >::number_of_dofs

Total number of degrees of freedom at one finite element.

Definition at line 102 of file fe_p.hh.

template<unsigned int degree, unsigned int dim>
unsigned int DofDistribution< degree, dim >::number_of_pairs[dim+1]

Number of pairs of dofs at one geometrical entity of the given dimension (applicable to lines and triangles).

Definition at line 114 of file fe_p.hh.

template<unsigned int degree, unsigned int dim>
unsigned int DofDistribution< degree, dim >::number_of_sextuples[dim+1]

Number of sextuples of dofs associated to one triangle.

Definition at line 124 of file fe_p.hh.

template<unsigned int degree, unsigned int dim>
unsigned int DofDistribution< degree, dim >::number_of_single_dofs[dim+1]

Number of single dofs at one geometrical entity of the given dimension (point, line, triangle, tetrahedron).

Definition at line 108 of file fe_p.hh.

template<unsigned int degree, unsigned int dim>
unsigned int DofDistribution< degree, dim >::number_of_triples[dim+1]

Number of triples of dofs associated to one triangle.

Definition at line 119 of file fe_p.hh.

template<unsigned int degree, unsigned int dim>
std::vector<arma::vec::fixed<dim> > DofDistribution< degree, dim >::unit_support_points

Support points.

Support points are points in the reference element where function values determine the dofs. In case of Lagrangean finite elements the dof values are precisely the function values at unit_support_points.

Definition at line 134 of file fe_p.hh.


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