dune-localfunctions  2.8.0
raviartthomassimplexbasis.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 #ifndef DUNE_RAVIARTTHOMASBASIS_HH
4 #define DUNE_RAVIARTTHOMASBASIS_HH
5 
6 #include <fstream>
7 #include <dune/common/exceptions.hh>
8 
12 
13 namespace Dune
14 {
15  /*
16  * `RTPreBasisFactory` provides a basis for the Raviart-Thomas function space.
17  * `RaviartThomasL2InterpolationFactory` provides the linear functionals.
18  *
19  * `Defaultbasisfactory::create` first builds the function space and the linear functionals.
20  * Then the constructor of `BasisMatrix` gets called. There the matrix
21  *
22  * \begin{equation}
23  * A_{i,j} := N_j(\phi_i)
24  * \end{equation}
25  *
26  * with linear functionals $N_j$ and basisfunctions $\phi_i$ gets assembled.
27  * Then the matrix gets inverted and is then used as a coefficent matrix for the standard monomial basis.
28  *
29  * For more details on the theory see the first chapter "Construction of Local Finite Element Spaces Using the Generic Reference Elements"
30  * of the book "Advances in Dune" by Dedner, Flemisch and Klöfkorn published in 2012.
31  */
32 
33  template< unsigned int dim, class SF, class CF >
35  : public DefaultBasisFactory< RTPreBasisFactory<dim,CF>,
36  RaviartThomasL2InterpolationFactory<dim,CF>,
37  dim,dim,SF,CF >
38  {};
39 }
40 
41 #endif // #ifndef DUNE_RAVIARTTHOMASBASIS_HH
Definition: bdfmcube.hh:16
Definition: raviartthomassimplexbasis.hh:38
Definition: defaultbasisfactory.hh:36