Foundations.hpp 3.63 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
56
57
            "Ortho_A",
            "Ortho_B",
            "Ortho_C",
            "Modified_A",
            "Modified_B",
            "Modified_C",
            "Fourier",
            "GLL_Lagrange",
58
            "Gauss_Lagrange",
59
            "Legendre",
Sophia Han's avatar
Sophia Han committed
60
            "Chebyshev",
61
            "Monomial",
62
            "FourierSingleMode",
bnelson's avatar
bnelson committed
63
            "FourierHalfModeRe",
64
            "FourierHalfModeIm"
65
        };
Mike Kirby's avatar
Mike Kirby committed
66

bnelson's avatar
bnelson committed
67

Mike Kirby's avatar
Mike Kirby committed
68

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

#endif //FOUNDATIONS_H