Nektar++
Foundations.hpp
Go to the documentation of this file.
1 ///////////////////////////////////////////////////////////////////////////////
2 //
3 // File Foundations.hpp
4 //
5 // For more information, please see: http://www.nektar.info
6 //
7 // The MIT License
8 //
9 // Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
10 // Department of Aeronautics, Imperial College London (UK), and Scientific
11 // Computing and Imaging Institute, University of Utah (USA).
12 //
13 // Permission is hereby granted, free of charge, to any person obtaining a
14 // copy of this software and associated documentation files (the "Software"),
15 // to deal in the Software without restriction, including without limitation
16 // the rights to use, copy, modify, merge, publish, distribute, sublicense,
17 // and/or sell copies of the Software, and to permit persons to whom the
18 // Software is furnished to do so, subject to the following conditions:
19 //
20 // The above copyright notice and this permission notice shall be included
21 // in all copies or substantial portions of the Software.
22 //
23 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
24 // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
26 // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
27 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
28 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
29 // DEALINGS IN THE SOFTWARE.
30 //
31 // Description: Definition of enum lists and constants
32 //
33 ///////////////////////////////////////////////////////////////////////////////
34 
35 #ifndef FOUNDATIONS_H
36 #define FOUNDATIONS_H
37 
40 #include <string>
41 
42 namespace Nektar
43 {
44  namespace LibUtilities
45  {
46  const char* const BasisTypeMap[] =
47  {
48  "NoBasisType",
49  "Ortho_A",
50  "Ortho_B",
51  "Ortho_C",
52  "Modified_A",
53  "Modified_B",
54  "Modified_C",
55  "OrthoPyr_C",
56  "ModifiedPyr_C",
57  "Fourier",
58  "GLL_Lagrange",
59  "Gauss_Lagrange",
60  "Legendre",
61  "Chebyshev",
62  "Monomial",
63  "FourierSingleMode",
64  "FourierHalfModeRe",
65  "FourierHalfModeIm"
66  };
67 
68 
69 
70  const std::string kPointsTypeStr[] =
71  {
72  "NoPointsType",
73  "GaussGaussLegendre",
74  "GaussRadauMLegendre",
75  "GaussRadauPLegendre",
76  "GaussLobattoLegendre",
77  "GaussGaussChebyshev",
78  "GaussRadauMChebyshev",
79  "GaussRadauPChebyshev",
80  "GaussLobattoChebyshev",
81  "GaussRadauMAlpha0Beta1",
82  "GaussRadauMAlpha0Beta2",
83  "GaussRadauMAlpha1Beta0",
84  "GaussRadauMAlpha2Beta0",
85  "GaussKronrodLegendre",
86  "GaussRadauKronrodMLegendre",
87  "GaussRadauKronrodMAlpha1Beta0",
88  "GaussLobattoKronrodLegendre",
89  "PolyEvenlySpaced",
90  "FourierEvenlySpaced",
91  "FourierSingleModeSpaced",
92  "BoundaryLayerPoints",
93  "BoundaryLayerPointsRev",
94  "NodalTriElec",
95  "NodalTriFekete",
96  "NodalTriEvenlySpaced",
97  "NodalTetEvenlySpaced",
98  "NodalTetElec",
99  "NodalPrismEvenlySpaced",
100  "NodalPrismElec",
101  "NodalTriSPI",
102  "NodalTetSPI",
103  "NodalPrismSPI",
104  "NodalQuadElec",
105  "NodalHexElec"
106  };
107  } // end of namespace
108 } // end of namespace
109 
110 #endif //FOUNDATIONS_H
const char *const BasisTypeMap[]
Definition: Foundations.hpp:46
const std::string kPointsTypeStr[]
Definition: Foundations.hpp:70
The above copyright notice and this permission notice shall be included.
Definition: CoupledSolver.h:1