Flow123d  jenkins-Flow123d-windows-release-multijob-285
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 101 of file fe_p.hh.

Constructor & Destructor Documentation

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

Constructor.

Initializes all variables.

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

Definition at line 18 of file fe_p.cc.

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

Definition at line 29 of file fe_p.cc.

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

Definition at line 41 of file fe_p.cc.

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

Definition at line 55 of file fe_p.cc.

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

Definition at line 73 of file fe_p.cc.

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

Definition at line 85 of file fe_p.cc.

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

Definition at line 98 of file fe_p.cc.

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

Definition at line 115 of file fe_p.cc.

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

Definition at line 141 of file fe_p.cc.

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

Definition at line 153 of file fe_p.cc.

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

Definition at line 167 of file fe_p.cc.

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

Definition at line 188 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 113 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 125 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 135 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 119 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 130 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 145 of file fe_p.hh.


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