FEAT 3
Finite Element Analysis Toolbox
Loading...
Searching...
No Matches
variant.hpp
1// FEAT3: Finite Element Analysis Toolbox, Version 3
2// Copyright (C) 2010 by Stefan Turek & the FEAT group
3// FEAT3 is released under the GNU General Public License version 3,
4// see the file 'copyright.txt' in the top level directory for details.
5
6#pragma once
7
8// includes, FEAT
9#include <kernel/space/base.hpp>
10
11namespace FEAT
12{
13 namespace Space
14 {
15 namespace Discontinuous
16 {
20 namespace Variant
21 {
25 template<int degree_ = 0>
26 struct StdPolyP
27 {
29 static constexpr int local_degree = degree_;
30
31 static String name()
32 {
33 return String("StdPolyP<") + stringify(degree_) + ">";
34 }
35 };
36 } // namespace Variant
37 } // namespace Discontinuous
38 } // namespace Space
39} // namespace FEAT
String class implementation.
Definition: string.hpp:46
FEAT namespace.
Definition: adjactor.hpp:12
String stringify(const T_ &item)
Converts an item into a String.
Definition: string.hpp:944
Standard discontinous parametric P_k variant.
Definition: variant.hpp:27
static constexpr int local_degree
This variant's local polynomial degree.
Definition: variant.hpp:29