Nektar++
Loading...
Searching...
No Matches
library
LocalRegions
DataWarehouse
GeometricDataWarehouse.cpp
Go to the documentation of this file.
1
///////////////////////////////////////////////////////////////////////////////
2
//
3
// File: GeometricDataWarehouse.cpp
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:
32
//
33
///////////////////////////////////////////////////////////////////////////////
34
35
#include <
LocalRegions/DataWarehouse/GeometricDataWarehouseDef.hpp
>
36
37
namespace
Nektar::LocalRegions
38
{
39
40
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
41
NektarSpaces::HostSpace
,
double
>(
const
WeightsKey<double>
&jacobianKey);
42
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
43
NektarSpaces::HostSpace
,
float
>(
const
WeightsKey<float>
&jacobianKey);
44
#if defined(NEKTAR_ENABLE_DEVICE)
45
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
46
NektarSpaces::DeviceSpace
,
double
>(
const
WeightsKey<double>
&jacobianKey);
47
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
48
NektarSpaces::DeviceSpace
,
float
>(
const
WeightsKey<float>
&jacobianKey);
49
#endif
50
51
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
52
NektarSpaces::HostSpace
,
double
>(
const
JacobianKey<double>
&jacobianKey);
53
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
54
NektarSpaces::HostSpace
,
float
>(
const
JacobianKey<float>
&jacobianKey);
55
#if defined(NEKTAR_ENABLE_DEVICE)
56
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
57
NektarSpaces::DeviceSpace
,
double
>(
const
JacobianKey<double>
&jacobianKey);
58
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
59
NektarSpaces::DeviceSpace
,
float
>(
const
JacobianKey<float>
&jacobianKey);
60
#endif
61
62
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
63
NektarSpaces::HostSpace
,
double
>(
64
const
QuadratureMetricKey<double>
&quadratureMetricKey);
65
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
66
NektarSpaces::HostSpace
,
float
>(
67
const
QuadratureMetricKey<float>
&quadratureMetricKey);
68
#if defined(NEKTAR_ENABLE_DEVICE)
69
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
70
NektarSpaces::DeviceSpace
,
double
>(
71
const
QuadratureMetricKey<double>
&quadratureMetricKey);
72
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
73
NektarSpaces::DeviceSpace
,
float
>(
74
const
QuadratureMetricKey<float>
&quadratureMetricKey);
75
#endif
76
77
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
78
NektarSpaces::HostSpace
,
double
>(
79
const
DerivFactorKey<double>
&derivFactorKey);
80
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
81
NektarSpaces::HostSpace
,
float
>(
82
const
DerivFactorKey<float>
&derivFactorKey);
83
#if defined(NEKTAR_ENABLE_DEVICE)
84
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
85
NektarSpaces::DeviceSpace
,
double
>(
86
const
DerivFactorKey<double>
&derivFactorKey);
87
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
88
NektarSpaces::DeviceSpace
,
float
>(
89
const
DerivFactorKey<float>
&derivFactorKey);
90
#endif
91
92
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
93
NektarSpaces::HostSpace
,
double
>(
const
CoordKey<double>
&coordKey);
94
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
95
NektarSpaces::HostSpace
,
float
>(
const
CoordKey<float>
&coordKey);
96
#if defined(NEKTAR_ENABLE_DEVICE)
97
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
98
NektarSpaces::DeviceSpace
,
double
>(
const
CoordKey<double>
&coordKey);
99
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
100
NektarSpaces::DeviceSpace
,
float
>(
const
CoordKey<float>
&coordKey);
101
#endif
102
103
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
104
NektarSpaces::HostSpace
,
double
>(
const
OrientKey<double>
&orientKey);
105
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
106
NektarSpaces::HostSpace
,
float
>(
const
OrientKey<float>
&orientKey);
107
#if defined(NEKTAR_ENABLE_DEVICE)
108
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
109
NektarSpaces::DeviceSpace
,
double
>(
const
OrientKey<double>
&orientKey);
110
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
111
NektarSpaces::DeviceSpace
,
float
>(
const
OrientKey<float>
&orientKey);
112
#endif
113
114
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
115
NektarSpaces::HostSpace
,
double
>(
116
const
TraceToElmtMapKey<double>
&traceToElmtMapKey);
117
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
118
NektarSpaces::HostSpace
,
float
>(
119
const
TraceToElmtMapKey<float>
&traceToElmtMapKey);
120
#if defined(NEKTAR_ENABLE_DEVICE)
121
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
122
NektarSpaces::DeviceSpace
,
double
>(
123
const
TraceToElmtMapKey<double>
&traceToElmtMapKey);
124
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
125
NektarSpaces::DeviceSpace
,
float
>(
126
const
TraceToElmtMapKey<float>
&traceToElmtMapKey);
127
#endif
128
129
template
LibUtilities::MemoryRegion<int>
GeometricDataCreator::Create
<
130
NektarSpaces::HostSpace
,
double
>(
131
const
TraceToElmtSignKey<double>
&traceToElmtSignKey);
132
template
LibUtilities::MemoryRegion<int>
GeometricDataCreator::Create
<
133
NektarSpaces::HostSpace
,
float
>(
134
const
TraceToElmtSignKey<float>
&traceToElmtSignKey);
135
#if defined(NEKTAR_ENABLE_DEVICE)
136
template
LibUtilities::MemoryRegion<int>
GeometricDataCreator::Create
<
137
NektarSpaces::DeviceSpace
,
double
>(
138
const
TraceToElmtSignKey<double>
&traceToElmtSignKey);
139
template
LibUtilities::MemoryRegion<int>
GeometricDataCreator::Create
<
140
NektarSpaces::DeviceSpace
,
float
>(
141
const
TraceToElmtSignKey<float>
&traceToElmtSignKey);
142
#endif
143
144
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
145
NektarSpaces::HostSpace
,
double
>(
146
const
InteriorMapKey<double>
&interiorMapKey);
147
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
148
NektarSpaces::HostSpace
,
float
>(
149
const
InteriorMapKey<float>
&interiorMapKey);
150
#if defined(NEKTAR_ENABLE_DEVICE)
151
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
152
NektarSpaces::DeviceSpace
,
double
>(
153
const
InteriorMapKey<double>
&interiorMapKey);
154
template
LibUtilities::MemoryRegion<unsigned int>
GeometricDataCreator::Create
<
155
NektarSpaces::DeviceSpace
,
float
>(
156
const
InteriorMapKey<float>
&interiorMapKey);
157
#endif
158
159
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
160
NektarSpaces::HostSpace
,
double
>(
161
const
JacobianTraceKey<double>
&jacobianTraceKey);
162
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
163
NektarSpaces::HostSpace
,
float
>(
164
const
JacobianTraceKey<float>
&jacobianTraceKey);
165
#if defined(NEKTAR_ENABLE_DEVICE)
166
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
167
NektarSpaces::DeviceSpace
,
double
>(
168
const
JacobianTraceKey<double>
&jacobianTraceKey);
169
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
170
NektarSpaces::DeviceSpace
,
float
>(
171
const
JacobianTraceKey<float>
&jacobianTraceKey);
172
#endif
173
174
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
175
NektarSpaces::HostSpace
,
double
>(
176
const
JacobianLocTraceKey<double>
&jacobianLocTraceKey);
177
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
178
NektarSpaces::HostSpace
,
float
>(
179
const
JacobianLocTraceKey<float>
&jacobianLocTraceKey);
180
#if defined(NEKTAR_ENABLE_DEVICE)
181
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
182
NektarSpaces::DeviceSpace
,
double
>(
183
const
JacobianLocTraceKey<double>
&jacobianLocTraceKey);
184
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
185
NektarSpaces::DeviceSpace
,
float
>(
186
const
JacobianLocTraceKey<float>
&jacobianLocTraceKey);
187
#endif
188
189
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
190
NektarSpaces::HostSpace
,
double
>(
191
const
JacNormGeomFactorLocTraceKey<double>
&LocTraceKey);
192
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
193
NektarSpaces::HostSpace
,
float
>(
194
const
JacNormGeomFactorLocTraceKey<float>
&LocTraceKey);
195
#if defined(NEKTAR_ENABLE_DEVICE)
196
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
197
NektarSpaces::DeviceSpace
,
double
>(
198
const
JacNormGeomFactorLocTraceKey<double>
&LocTraceKey);
199
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
200
NektarSpaces::DeviceSpace
,
float
>(
201
const
JacNormGeomFactorLocTraceKey<float>
&LocTraceKey);
202
#endif
203
204
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
205
NektarSpaces::HostSpace
,
double
>(
206
const
ElmtInvMassKey<double>
&elmtInvMassKey);
207
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
208
NektarSpaces::HostSpace
,
float
>(
209
const
ElmtInvMassKey<float>
&elmtInvMassKey);
210
#if defined(NEKTAR_ENABLE_DEVICE)
211
template
LibUtilities::MemoryRegion<double>
GeometricDataCreator::Create
<
212
NektarSpaces::DeviceSpace
,
double
>(
213
const
ElmtInvMassKey<double>
&elmtInvMassKey);
214
template
LibUtilities::MemoryRegion<float>
GeometricDataCreator::Create
<
215
NektarSpaces::DeviceSpace
,
float
>(
216
const
ElmtInvMassKey<float>
&elmtInvMassKey);
217
#endif
218
219
}
// namespace Nektar::LocalRegions
GeometricDataWarehouseDef.hpp
Nektar::LibUtilities::MemoryRegion
A MemoryRegion represents a memory region.
Definition
MemoryRegion.hpp:98
Nektar::LocalRegions::CoordKey
Definition
GeometricDataWarehouse.hpp:147
Nektar::LocalRegions::DerivFactorKey
Definition
GeometricDataWarehouse.hpp:122
Nektar::LocalRegions::ElmtInvMassKey
Inverse mass matrix of every element of a deformed block, as Expansion::GetLocMatrix returns it for S...
Definition
GeometricDataWarehouse.hpp:382
Nektar::LocalRegions::GeometricDataCreator::Create
LibUtilities::MemoryRegion< TData > Create(const WeightsKey< TData > &weightsKey)
Definition
GeometricDataWarehouseDef.hpp:48
Nektar::LocalRegions::InteriorMapKey
Definition
GeometricDataWarehouse.hpp:241
Nektar::LocalRegions::JacNormGeomFactorLocTraceKey
Definition
GeometricDataWarehouse.hpp:348
Nektar::LocalRegions::JacobianKey
Definition
GeometricDataWarehouse.hpp:71
Nektar::LocalRegions::JacobianLocTraceKey
Definition
GeometricDataWarehouse.hpp:288
Nektar::LocalRegions::JacobianTraceKey
Definition
GeometricDataWarehouse.hpp:264
Nektar::LocalRegions::OrientKey
Definition
GeometricDataWarehouse.hpp:172
Nektar::LocalRegions::QuadratureMetricKey
Quadrature metric of every quadrature point of a block: the quadrature weight times the Jacobian,...
Definition
GeometricDataWarehouse.hpp:99
Nektar::LocalRegions::TraceToElmtMapKey
Definition
GeometricDataWarehouse.hpp:194
Nektar::LocalRegions::TraceToElmtSignKey
Definition
GeometricDataWarehouse.hpp:218
Nektar::LocalRegions::WeightsKey
Definition
GeometricDataWarehouse.hpp:48
Nektar::LocalRegions
Definition
StdExpansion.h:50
Nektar::NektarSpaces::DeviceSpace
HostSpace DeviceSpace
Definition
Backends.hpp:95
Nektar::NektarSpaces::HostSpace
Definition
Backends.hpp:86
Generated on Tue Dec 1 2026 10:16:06 for Nektar++ by
1.9.8