dune-localfunctions
2.10
Loading...
Searching...
No Matches
dune
localfunctions
raviartthomas
raviartthomassimplex
raviartthomassimplexbasis.hh
Go to the documentation of this file.
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>
9
#include <dune/common/exceptions.hh>
10
11
#include <
dune/localfunctions/utility/defaultbasisfactory.hh
>
12
#include "
raviartthomassimplexinterpolation.hh
"
13
#include "
raviartthomassimplexprebasis.hh
"
14
15
namespace
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
defaultbasisfactory.hh
raviartthomassimplexprebasis.hh
raviartthomassimplexinterpolation.hh
Dune
Definition
bdfmcube.hh:18
Dune::RaviartThomasBasisFactory
Definition
raviartthomassimplexbasis.hh:40
Dune::DefaultBasisFactory
Definition
defaultbasisfactory.hh:38
Generated by
1.9.8