// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- // vi: set et ts=4 sw=2 sts=2: // SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root // SPDX-License-Identifier: LicenseRef-GPL-2.0-only-with-DUNE-exception #ifndef DUNE_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH #define DUNE_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH #include #include #include #include "nedelecsimplexinterpolation.hh" #include "nedelecsimplexprebasis.hh" namespace Dune { /** * `NedelecPreBasisFactory` provides a basis for the Nedelec function space. * `NedelecL2InterpolationFactory` provides the linear functionals. * * `Defaultbasisfactory::create` first builds the function space and the linear functionals. * Then the constructor of `BasisMatrix` gets called. There the matrix * * \f[ * A_{i,j} := N_j(\phi_i) * \f] * * with linear functionals \f$N_j\f$ and basisfunctions \f$\phi_i\f$ gets assembled. * Then the matrix gets inverted and is then used as a coefficient matrix for the standard monomial basis. * * For more details on the theory see the first chapter "Construction of Local Finite Element Spaces Using the Generic Reference Elements" * of the book "Advances in Dune" by Dedner, Flemisch and Klöfkorn published in 2012. * * \ingroup NedelecImpl */ template< unsigned int dim, class D, class R, class SF=R, class CF=SF > struct NedelecBasisFactory : public DefaultBasisFactory< NedelecPreBasisFactory, NedelecL2InterpolationFactory, dim,dim,D,R,SF,CF > {}; } #endif // #ifndef DUNE_LOCALFUNCTIONS_NEDELEC_NEDELECSIMPLEX_NEDELECSIMPLEXBASIS_HH