Dune Core Modules (2.9.1)

nedelecsimplexbasis.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 (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_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH
6
7#define DUNE_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH
8
9#include <fstream>
11
12#include <dune/localfunctions/utility/defaultbasisfactory.hh>
13#include "nedelecsimplexinterpolation.hh"
14#include "nedelecsimplexprebasis.hh"
15
16namespace Dune
17{
18 /*
19 * `NedelecPreBasisFactory` provides a basis for the Nedelec function space.
20 * `NedelecL2InterpolationFactory` provides the linear functionals.
21 *
22 * `Defaultbasisfactory::create` first builds the function space and the linear functionals.
23 * Then the constructor of `BasisMatrix` gets called. There the matrix
24 *
25 * \begin{equation}
26 * A_{i,j} := N_j(\phi_i)
27 * \end{equation}
28 *
29 * with linear functionals $N_j$ and basisfunctions $\phi_i$ gets assembled.
30 * Then the matrix gets inverted and is then used as a coefficent matrix for the standard monomial basis.
31 *
32 * For more details on the theory see the first chapter "Construction of Local Finite Element Spaces Using the Generic Reference Elements"
33 * of the book "Advances in Dune" by Dedner, Flemisch and Klöfkorn published in 2012.
34 */
35
36 template< unsigned int dim, class SF, class CF >
37 struct NedelecBasisFactory
38 : public DefaultBasisFactory< NedelecPreBasisFactory<dim,CF>,
39 NedelecL2InterpolationFactory<dim,CF>,
40 dim,dim,SF,CF >
41 {};
42}
43
44#endif // #ifndef DUNE_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_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 21, 23:30, 2024)