Debian Codegraph @

dune/localfunctions/nedelec/nedelecsimplex/nedelecsimplexbasis.hh

raw
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_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH
6
7 #define DUNE_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH
8
9 #include <fstream>
10 #include <dune/common/exceptions.hh>
11
12 #include <dune/localfunctions/utility/defaultbasisfactory.hh>
13 #include "nedelecsimplexinterpolation.hh"
14 #include "nedelecsimplexprebasis.hh"
15
16 namespace 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 * \f[
26 * A_{i,j} := N_j(\phi_i)
27 * \f]
28 *
29 * with linear functionals \f$N_j\f$ and basisfunctions \f$\phi_i\f$ gets assembled.
30 * Then the matrix gets inverted and is then used as a coefficient 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 * \ingroup NedelecImpl
36 */
37
38 template< unsigned int dim, class D, class R,
39 class SF=R, class CF=SF >
40 struct NedelecBasisFactory
41 : public DefaultBasisFactory< NedelecPreBasisFactory<dim,CF>,
42 NedelecL2InterpolationFactory<dim,CF>,
43 dim,dim,D,R,SF,CF >
44 {};
45 }
46
47 #endif // #ifndef DUNE_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH