| 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_RANNACHER_TUREK_LOCALBASIS_HH |
| 6 | #define DUNE_RANNACHER_TUREK_LOCALBASIS_HH |
| 7 | |
| 8 | #include "rannacherturek2d/rannacherturek2dlocalbasis.hh" |
| 9 | #include "rannacherturek3d/rannacherturek3dlocalbasis.hh" |
| 10 | |
| 11 | namespace Dune |
| 12 | { |
| 13 | |
| 14 | /** |
| 15 | * \ingroup RannacherTurekImpl |
| 16 | \brief Rannacher-Turek shape functions |
| 17 | |
| 18 | \tparam D type to represent the field in the domain. |
| 19 | \tparam R type to represent the field in the range. |
| 20 | \tparam d domain dimension |
| 21 | |
| 22 | \nosubgrouping |
| 23 | */ |
| 24 | template< class D, class R, unsigned int d > |
| 25 | struct RannacherTurekLocalBasis; |
| 26 | |
| 27 | template< class D, class R > |
| 28 | struct RannacherTurekLocalBasis< D, R, 2 > |
| 29 | : public RannacherTurek2DLocalBasis< D, R > |
| 30 | {}; |
| 31 | |
| 32 | template< class D, class R > |
| 33 | struct RannacherTurekLocalBasis< D, R, 3 > |
| 34 | : public RannacherTurek3DLocalBasis< D, R > |
| 35 | {}; |
| 36 | |
| 37 | } // namespace Dune |
| 38 | |
| 39 | #endif // #ifndef DUNE_RANNACHER_TUREK_LOCALBASIS_HH |