DUNE PDELab (git)

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