Nektar++
NekTypeDefs.hpp
Go to the documentation of this file.
1///////////////////////////////////////////////////////////////////////////////
2//
3// File: NekTypeDefs.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: TypeDefs for Nek Matrices and vector.
32//
33//
34///////////////////////////////////////////////////////////////////////////////
35
36#ifndef NEKTAR_LIB_UTILITIES_NEK_TYPEDEFS_HPP
37#define NEKTAR_LIB_UTILITIES_NEK_TYPEDEFS_HPP
38
42
45
46namespace Nektar
47{
49
52
56
60
61typedef NekMatrix<
63 BlockMatrixTag>
65typedef NekMatrix<
67 BlockMatrixTag>
70 ScaledMatrixTag>,
71 BlockMatrixTag>,
72 BlockMatrixTag>
74
75typedef std::shared_ptr<DNekMat> DNekMatSharedPtr;
76typedef std::shared_ptr<DNekScalMat> DNekScalMatSharedPtr;
77typedef std::shared_ptr<DNekBlkMat> DNekBlkMatSharedPtr;
78typedef std::shared_ptr<BlkMatDNekBlkMat> BlkMatDNekBlkMatSharedPtr;
79typedef std::shared_ptr<DNekScalBlkMat> DNekScalBlkMatSharedPtr;
80typedef std::shared_ptr<BlkMatDNekScalBlkMat> BlkMatDNekScalBlkMatSharedPtr;
81typedef std::shared_ptr<BlkMatDNekScalBlkMat> BlkMatDNekScalBlkMatSharedPtr;
82
86
88typedef std::shared_ptr<DNekLinSys> DNekLinSysSharedPtr;
89
91typedef std::shared_ptr<DNekScalLinSys> DNekScalLinSysSharedPtr;
92
94
96
99
103
107
108typedef NekMatrix<
110 BlockMatrixTag>
112typedef NekMatrix<
114 BlockMatrixTag>
117 ScaledMatrixTag>,
118 BlockMatrixTag>,
119 BlockMatrixTag>
121
122typedef std::shared_ptr<SNekMat> SNekMatSharedPtr;
123typedef std::shared_ptr<SNekScalMat> SNekScalMatSharedPtr;
124typedef std::shared_ptr<SNekBlkMat> SNekBlkMatSharedPtr;
125typedef std::shared_ptr<BlkMatSNekBlkMat> BlkMatSNekBlkMatSharedPtr;
126typedef std::shared_ptr<SNekScalBlkMat> SNekScalBlkMatSharedPtr;
127typedef std::shared_ptr<BlkMatSNekScalBlkMat> BlkMatSNekScalBlkMatSharedPtr;
128typedef std::shared_ptr<BlkMatSNekScalBlkMat> BlkMatSNekScalBlkMatSharedPtr;
129
133
135
136} // namespace Nektar
137
138#endif // NEKTAR_LIB_UTILITIES_NEK_TYPEDEFS_HPP
static Array< OneD, DNekBlkMatSharedPtr > NullArrayDNekBlkMatSharedPtr
Definition: NekTypeDefs.hpp:93
NekMatrix< NekMatrix< NekMatrix< NekDouble, StandardMatrixTag >, ScaledMatrixTag >, BlockMatrixTag > DNekScalBlkMat
Definition: NekTypeDefs.hpp:68
LinearSystem DNekScalLinSys
Definition: NekTypeDefs.hpp:90
static Array< OneD, SNekBlkMatSharedPtr > NullArraySNekBlkMatSharedPtr
NekMatrix< NekMatrix< NekMatrix< NekMatrix< NekDouble, StandardMatrixTag >, ScaledMatrixTag >, BlockMatrixTag >, BlockMatrixTag > BlkMatDNekScalBlkMat
Definition: NekTypeDefs.hpp:73
std::shared_ptr< BlkMatDNekBlkMat > BlkMatDNekBlkMatSharedPtr
Definition: NekTypeDefs.hpp:78
static SNekScalMatSharedPtr NullSNekScalMatSharedPtr
NekMatrix< NekMatrix< NekDouble, StandardMatrixTag >, ScaledMatrixTag > DNekScalMat
std::shared_ptr< DNekScalLinSys > DNekScalLinSysSharedPtr
Definition: NekTypeDefs.hpp:91
std::shared_ptr< SNekBlkMat > SNekBlkMatSharedPtr
std::shared_ptr< DNekScalMat > DNekScalMatSharedPtr
NekMatrix< DenseMatrix, BlockMatrixTag > BlockMatrix
Definition: NekTypeDefs.hpp:59
std::shared_ptr< DNekBlkMat > DNekBlkMatSharedPtr
Definition: NekTypeDefs.hpp:77
std::shared_ptr< SNekMat > SNekMatSharedPtr
static DNekScalBlkMatSharedPtr NullDNekScalBlkMatSharedPtr
Definition: NekTypeDefs.hpp:85
NekMatrix< NekMatrix< NekSingle, StandardMatrixTag >, ScaledMatrixTag > SNekScalMat
std::shared_ptr< BlkMatDNekScalBlkMat > BlkMatDNekScalBlkMatSharedPtr
Definition: NekTypeDefs.hpp:80
NekMatrix< NekMatrix< NekSingle, StandardMatrixTag >, BlockMatrixTag > SNekBlkMat
NekMatrix< NekMatrix< NekMatrix< NekDouble, StandardMatrixTag >, BlockMatrixTag >, BlockMatrixTag > BlkMatDNekBlkMat
Definition: NekTypeDefs.hpp:64
NekMatrix< NekDouble, StandardMatrixTag > DNekMat
Definition: NekTypeDefs.hpp:50
std::shared_ptr< DNekLinSys > DNekLinSysSharedPtr
Definition: NekTypeDefs.hpp:88
static SNekMatSharedPtr NullSNekMatSharedPtr
NekMatrix< NekMatrix< NekMatrix< NekSingle, StandardMatrixTag >, BlockMatrixTag >, BlockMatrixTag > BlkMatSNekBlkMat
std::shared_ptr< BlkMatSNekBlkMat > BlkMatSNekBlkMatSharedPtr
NekMatrix< NekSingle, StandardMatrixTag > SNekMat
Definition: NekTypeDefs.hpp:97
NekMatrix< NekSingle, StandardMatrixTag > SDenseMatrix
Definition: NekTypeDefs.hpp:98
NekMatrix< NekMatrix< NekDouble, StandardMatrixTag >, BlockMatrixTag > DNekBlkMat
Definition: NekTypeDefs.hpp:58
NekMatrix< DenseMatrix, ScaledMatrixTag > ScaledMatrix
Definition: NekTypeDefs.hpp:55
std::shared_ptr< DNekScalBlkMat > DNekScalBlkMatSharedPtr
Definition: NekTypeDefs.hpp:79
std::shared_ptr< BlkMatSNekScalBlkMat > BlkMatSNekScalBlkMatSharedPtr
std::shared_ptr< SNekScalBlkMat > SNekScalBlkMatSharedPtr
std::shared_ptr< SNekScalMat > SNekScalMatSharedPtr
NekMatrix< NekMatrix< NekMatrix< NekSingle, StandardMatrixTag >, ScaledMatrixTag >, BlockMatrixTag > SNekScalBlkMat
NekMatrix< NekDouble, StandardMatrixTag > DenseMatrix
Definition: NekTypeDefs.hpp:51
static DNekMatSharedPtr NullDNekMatSharedPtr
Definition: NekTypeDefs.hpp:83
NekVector< NekSingle > SNekVec
Definition: NekTypeDefs.hpp:95
NekMatrix< SDenseMatrix, ScaledMatrixTag > SScaledMatrix
NekVector< NekDouble > DNekVec
Definition: NekTypeDefs.hpp:48
static DNekScalMatSharedPtr NullDNekScalMatSharedPtr
Definition: NekTypeDefs.hpp:84
NekMatrix< SDenseMatrix, BlockMatrixTag > SBlockMatrix
static SNekScalBlkMatSharedPtr NullSNekScalBlkMatSharedPtr
std::shared_ptr< DNekMat > DNekMatSharedPtr
Definition: NekTypeDefs.hpp:75
LinearSystem DNekLinSys
Definition: NekTypeDefs.hpp:87
NekMatrix< NekMatrix< NekMatrix< NekMatrix< NekSingle, StandardMatrixTag >, ScaledMatrixTag >, BlockMatrixTag >, BlockMatrixTag > BlkMatSNekScalBlkMat