Dune Core Modules (unstable)

localbasis.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_LOCALFUNCTIONS_COMMON_LOCALBASIS_HH
6 #define DUNE_LOCALFUNCTIONS_COMMON_LOCALBASIS_HH
7 
8 namespace Dune
9 {
10 
33  template<class DF, int n, class D, class RF, int m, class R, class J>
35  {
37  typedef DF DomainFieldType;
38 
40  constexpr static int dimDomain = n;
41 
43  typedef D DomainType;
44 
46  typedef RF RangeFieldType;
47 
49  constexpr static int dimRange = m;
50 
52  typedef R RangeType;
53 
60  typedef J JacobianType;
61  };
62 
63 }
64 #endif
Dune namespace.
Definition: alignedallocator.hh:13
Type traits for LocalBasisVirtualInterface.
Definition: localbasis.hh:35
constexpr static int dimDomain
dimension of the domain
Definition: localbasis.hh:40
D DomainType
domain type
Definition: localbasis.hh:43
constexpr static int dimRange
dimension of the range
Definition: localbasis.hh:49
J JacobianType
Type to represent derivative.
Definition: localbasis.hh:60
RF RangeFieldType
Export type for range field.
Definition: localbasis.hh:46
DF DomainFieldType
Export type for domain field.
Definition: localbasis.hh:37
R RangeType
range type
Definition: localbasis.hh:52
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 27, 22:29, 2024)