dune-localfunctions  2.9.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 // SPDX-FileCopyrightInfo: Copyright (C) DUNE Project contributors, see file LICENSE.md in module root
4 // SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception
5 #ifndef DUNE_RAVIARTTHOMASBASIS_HH
6 #define DUNE_RAVIARTTHOMASBASIS_HH
7 
8 #include <fstream>
9 #include <dune/common/exceptions.hh>
10 
14 
15 namespace Dune
16 {
17  /*
18  * `RTPreBasisFactory` provides a basis for the Raviart-Thomas function space.
19  * `RaviartThomasL2InterpolationFactory` provides the linear functionals.
20  *
21  * `Defaultbasisfactory::create` first builds the function space and the linear functionals.
22  * Then the constructor of `BasisMatrix` gets called. There the matrix
23  *
24  * \begin{equation}
25  * A_{i,j} := N_j(\phi_i)
26  * \end{equation}
27  *
28  * with linear functionals $N_j$ and basisfunctions $\phi_i$ gets assembled.
29  * Then the matrix gets inverted and is then used as a coefficent matrix for the standard monomial basis.
30  *
31  * For more details on the theory see the first chapter "Construction of Local Finite Element Spaces Using the Generic Reference Elements"
32  * of the book "Advances in Dune" by Dedner, Flemisch and Klöfkorn published in 2012.
33  */
34 
35  template< unsigned int dim, class SF, class CF >
37  : public DefaultBasisFactory< RTPreBasisFactory<dim,CF>,
38  RaviartThomasL2InterpolationFactory<dim,CF>,
39  dim,dim,SF,CF >
40  {};
41 }
42 
43 #endif // #ifndef DUNE_RAVIARTTHOMASBASIS_HH
Definition: bdfmcube.hh:18
Definition: raviartthomassimplexbasis.hh:40
Definition: defaultbasisfactory.hh:38