Foundations.hpp 3.69 KB
Newer Older
Mike Kirby's avatar
Mike Kirby committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
///////////////////////////////////////////////////////////////////////////////
//
// File Foundations.hpp
//
// For more information, please see: http://www.nektar.info
//
// The MIT License
//
// Copyright (c) 2006 Division of Applied Mathematics, Brown University (USA),
// Department of Aeronautics, Imperial College London (UK), and Scientific
// Computing and Imaging Institute, University of Utah (USA).
//
// License for the specific language governing rights and limitations under
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
//
// Description: Definition of enum lists and constants
//
///////////////////////////////////////////////////////////////////////////////

#ifndef FOUNDATIONS_H
#define FOUNDATIONS_H

bnelson's avatar
bnelson committed
39
40
#include <LibUtilities/Foundations/BasisType.h>
#include <LibUtilities/Foundations/PointsType.h>
41
42
#include <string>

Mike Kirby's avatar
Mike Kirby committed
43
namespace Nektar
Michael Turner's avatar
Michael Turner committed
44
{
Joe Frazier's avatar
Joe Frazier committed
45
    namespace LibUtilities
Michael Turner's avatar
Michael Turner committed
46
47
    {
        const char* const BasisTypeMap[] =
48
        {
49
            "NoBasisType",
50
51
52
53
54
55
            "Ortho_A",
            "Ortho_B",
            "Ortho_C",
            "Modified_A",
            "Modified_B",
            "Modified_C",
56
57
            "OrthoPyr_C",
            "ModifiedPyr_C",
58
59
            "Fourier",
            "GLL_Lagrange",
60
            "Gauss_Lagrange",
61
            "Legendre",
Sophia Han's avatar
Sophia Han committed
62
            "Chebyshev",
63
            "Monomial",
64
            "FourierSingleMode",
bnelson's avatar
bnelson committed
65
            "FourierHalfModeRe",
66
            "FourierHalfModeIm"
67
        };
Mike Kirby's avatar
Mike Kirby committed
68

bnelson's avatar
bnelson committed
69

Mike Kirby's avatar
Mike Kirby committed
70

Michael Turner's avatar
Michael Turner committed
71
        const std::string kPointsTypeStr[] =
72
        {
73
            "NoPointsType",
Joe Frazier's avatar
Joe Frazier committed
74
75
76
77
78
79
80
81
82
83
            "GaussGaussLegendre",
            "GaussRadauMLegendre",
            "GaussRadauPLegendre",
            "GaussLobattoLegendre",
            "GaussGaussChebyshev",
            "GaussRadauMChebyshev",
            "GaussRadauPChebyshev",
            "GaussLobattoChebyshev",
            "GaussRadauMAlpha0Beta1",
            "GaussRadauMAlpha0Beta2",
Sophia Han's avatar
Sophia Han committed
84
85
            "GaussRadauMAlpha1Beta0",
            "GaussRadauMAlpha2Beta0",
86
87
88
89
            "GaussKronrodLegendre",
            "GaussRadauKronrodMLegendre",
            "GaussRadauKronrodMAlpha1Beta0",
            "GaussLobattoKronrodLegendre",
Joe Frazier's avatar
Joe Frazier committed
90
91
            "PolyEvenlySpaced",
            "FourierEvenlySpaced",
92
            "FourierSingleModeSpaced",
93
            "BoundaryLayerPoints",
94
            "BoundaryLayerPointsRev",
Joe Frazier's avatar
Joe Frazier committed
95
96
            "NodalTriElec",
            "NodalTriFekete",
97
            "NodalTriEvenlySpaced",
98
            "NodalTetEvenlySpaced",
Joe Frazier's avatar
Joe Frazier committed
99
            "NodalTetElec",
Michael Turner's avatar
Michael Turner committed
100
101
            "NodalPrismEvenlySpaced",
            "NodalPrismElec",
102
103
            "NodalTriSPI",
            "NodalTetSPI",
Dave Moxey's avatar
Dave Moxey committed
104
105
106
            "NodalPrismSPI",
            "NodalQuadElec",
            "NodalHexElec"
107
        };
Mike Kirby's avatar
Mike Kirby committed
108
109
110
111
    } // end of namespace
} // end of namespace

#endif //FOUNDATIONS_H