Dune Core Modules (2.8.0)

raviartthomassimplexbasis.hh
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>
8
9#include <dune/localfunctions/utility/defaultbasisfactory.hh>
10#include "raviartthomassimplexinterpolation.hh"
11#include "raviartthomassimplexprebasis.hh"
12
13namespace 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 >
34 struct RaviartThomasBasisFactory
35 : public DefaultBasisFactory< RTPreBasisFactory<dim,CF>,
36 RaviartThomasL2InterpolationFactory<dim,CF>,
37 dim,dim,SF,CF >
38 {};
39}
40
41#endif // #ifndef DUNE_RAVIARTTHOMASBASIS_HH
A few common exception classes.
Dune namespace.
Definition: alignedallocator.hh:11
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 22, 23:33, 2024)