Nektar++
Loading...
Searching...
No Matches
TestEquiSpaced.cpp
Go to the documentation of this file.
1///////////////////////////////////////////////////////////////////////////////
2//
3// File: TestEquiSpaced.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
43#include <boost/test/tools/floating_point_comparison.hpp>
44#include <boost/test/unit_test.hpp>
45
47{
48
49BOOST_AUTO_TEST_CASE(TestQuadExpInterpPhysToEquiSpaced)
50{
51
52 LibUtilities::PointsType PointsTypeDir1 =
55 unsigned int numPoints = 6;
56 const Nektar::LibUtilities::PointsKey PointsKeyDir1(numPoints,
57 PointsTypeDir1);
58 const Nektar::LibUtilities::BasisKey basisKeyDir1(basisTypeDir1, 4,
59 PointsKeyDir1);
60
63 basisKeyDir1, basisKeyDir1);
64
65 unsigned int numEQ = 4;
66 Array<OneD, NekDouble> c0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
67 Array<OneD, NekDouble> c1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
68 Array<OneD, NekDouble> c2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
70
71 double epsilon = 1.0e-8;
72
73 Exp->GetCoords(c0, c1, c2);
74
75 Exp->PhysInterpToSimplexEquiSpaced(c0, out, numEQ);
76 for (int j = 0, cnt = 0; j < numEQ; ++j)
77 {
78 for (int i = 0; i < numEQ; ++i)
79 {
80 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * i / (numEQ - 1.0),
81 epsilon);
82 }
83 }
84
85 Exp->PhysInterpToSimplexEquiSpaced(c1, out, numEQ);
86 for (int j = 0, cnt = 0; j < numEQ; ++j)
87 {
88 for (int i = 0; i < numEQ; ++i)
89 {
90 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * j / (numEQ - 1.0),
91 epsilon);
92 }
93 }
94}
95
96BOOST_AUTO_TEST_CASE(TestTriExpInterpPhysToEquiSpaced)
97{
98 using namespace LibUtilities;
99
100 PointsType PointsTypeDir1 = eGaussLobattoLegendre;
101 PointsType PointsTypeDir2 = eGaussRadauMAlpha1Beta0;
102 BasisType basisTypeDir1 = eModified_A;
103 BasisType basisTypeDir2 = eModified_B;
104
105 unsigned int numPoints = 6;
106 unsigned int numEQ = 4;
107
108 const PointsKey PointsKeyDir1(numPoints, PointsTypeDir1);
109 const BasisKey basisKeyDir1(basisTypeDir1, numEQ, PointsKeyDir1);
110 const PointsKey PointsKeyDir2(numPoints - 1, PointsTypeDir2);
111 const BasisKey basisKeyDir2(basisTypeDir2, numEQ, PointsKeyDir2);
112
115 basisKeyDir1, basisKeyDir2);
116
117 Array<OneD, NekDouble> c0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
118 Array<OneD, NekDouble> c1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
119 Array<OneD, NekDouble> c2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
121
122 double epsilon = 1.0e-8;
123
124 Exp->GetCoords(c0, c1, c2);
125
126 Exp->PhysInterpToSimplexEquiSpaced(c0, out, numEQ);
127 for (int j = 0, cnt = 0; j < numEQ; ++j)
128 {
129 for (int i = 0; i < numEQ - j; ++i)
130 {
131 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * i / (numEQ - 1.0),
132 epsilon);
133 }
134 }
135
136 Exp->PhysInterpToSimplexEquiSpaced(c1, out, numEQ);
137 for (int j = 0, cnt = 0; j < numEQ; ++j)
138 {
139 for (int i = 0; i < numEQ - j; ++i)
140 {
141 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * j / (numEQ - 1.0),
142 epsilon);
143 }
144 }
145}
146
147BOOST_AUTO_TEST_CASE(TestTetExpInterpPhysToEquiSpaced)
148{
149 using namespace LibUtilities;
150
151 PointsType PointsTypeDir1 = eGaussLobattoLegendre;
152 PointsType PointsTypeDir2 = eGaussRadauMAlpha1Beta0;
153 PointsType PointsTypeDir3 = eGaussRadauMAlpha2Beta0;
154 BasisType basisTypeDir1 = eModified_A;
155 BasisType basisTypeDir2 = eModified_B;
156 BasisType basisTypeDir3 = eModified_C;
157
158 unsigned int numPoints = 10;
159 unsigned int numEQ = 8;
160
161 // Set up standard element.
162 const PointsKey PointsKeyDir1(numPoints, PointsTypeDir1);
163 const PointsKey PointsKeyDir2(numPoints - 1, PointsTypeDir2);
164 const PointsKey PointsKeyDir3(numPoints - 1, PointsTypeDir3);
165 const BasisKey basisKeyDir2(basisTypeDir2, numEQ, PointsKeyDir2);
166 const BasisKey basisKeyDir1(basisTypeDir1, numEQ, PointsKeyDir1);
167 const BasisKey basisKeyDir3(basisTypeDir3, numEQ, PointsKeyDir3);
168
171 basisKeyDir1, basisKeyDir2, basisKeyDir3);
172
173 // define an equispaced Tet points
174 PointsType PointsTypeEq = eNodalTetEvenlySpaced;
175
178 basisKeyDir1, basisKeyDir2, basisKeyDir3, PointsTypeEq);
179
180 // Get coordinates at quadrature points
181 Array<OneD, NekDouble> c0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
182 Array<OneD, NekDouble> c1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
183 Array<OneD, NekDouble> c2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
184 Exp->GetCoords(c0, c1, c2);
185
186 // Get coordinates at equispaced points
187 Array<OneD, NekDouble> ceq0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
188 Array<OneD, NekDouble> ceq1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
189 Array<OneD, NekDouble> ceq2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
190 ExpEq->GetCoords(ceq0, ceq1, ceq2);
191
192 Array<OneD, NekDouble> out = Array<OneD, NekDouble>(Exp->GetNcoeffs());
193 Array<OneD, NekDouble> outeq = Array<OneD, NekDouble>(Exp->GetNcoeffs());
194 double epsilon = 1.0e-8;
195
196 Array<OneD, int> sorted;
198
199 // compare x-coordinates
200 Exp->PhysInterpToSimplexEquiSpaced(c0, out, numEQ);
201 int cnt = 0;
202 for (int k = 0; k < numEQ; ++k)
203 {
204 for (int j = 0; j < numEQ - k; ++j)
205 {
206 for (int i = 0; i < numEQ - k - j; ++i)
207 {
208 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * i / (numEQ - 1.0),
209 epsilon);
210 }
211 }
212 }
213
214 // compare y-coordinates
215 Exp->PhysInterpToSimplexEquiSpaced(c1, out, numEQ);
216 cnt = 0;
217 for (int k = 0; k < numEQ; ++k)
218 {
219 for (int j = 0; j < numEQ - k; ++j)
220 {
221 for (int i = 0; i < numEQ - k - j; ++i)
222 {
223 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * j / (numEQ - 1.0),
224 epsilon);
225 }
226 }
227 }
228
229 // compare z-coordinates
230 Exp->PhysInterpToSimplexEquiSpaced(c2, out, numEQ);
231 cnt = 0;
232 for (int k = 0; k < numEQ; ++k)
233 {
234 for (int j = 0; j < numEQ - k; ++j)
235 {
236 for (int i = 0; i < numEQ - k - j; ++i)
237 {
238 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * k / (numEQ - 1.0),
239 epsilon);
240 }
241 }
242 }
243}
244
245BOOST_AUTO_TEST_CASE(TestPrismExpInterpPhysToEquiSpaced)
246{
247 using namespace LibUtilities;
248
249 PointsType PointsTypeDir1 = eGaussLobattoLegendre;
250 PointsType PointsTypeDir2 = eGaussLobattoLegendre;
251 PointsType PointsTypeDir3 = eGaussRadauMAlpha1Beta0;
252 BasisType basisTypeDir1 = eModified_A;
253 BasisType basisTypeDir2 = eModified_A;
254 BasisType basisTypeDir3 = eModified_B;
255
256 unsigned int numPoints = 10;
257 unsigned int numEQ = 8;
258
259 // Set up standard element.
260 const PointsKey PointsKeyDir1(numPoints, PointsTypeDir1);
261 const PointsKey PointsKeyDir2(numPoints, PointsTypeDir2);
262 const PointsKey PointsKeyDir3(numPoints - 1, PointsTypeDir3);
263 const BasisKey basisKeyDir1(basisTypeDir1, numEQ, PointsKeyDir1);
264 const BasisKey basisKeyDir2(basisTypeDir2, numEQ, PointsKeyDir2);
265 const BasisKey basisKeyDir3(basisTypeDir3, numEQ, PointsKeyDir3);
266
269 basisKeyDir1, basisKeyDir2, basisKeyDir3);
270
271 // define an equispaced Tet points
272 PointsType PointsTypeEq = eNodalPrismEvenlySpaced;
273
276 basisKeyDir1, basisKeyDir2, basisKeyDir3, PointsTypeEq);
277
278 // Get coordinates at quadrature points
279 Array<OneD, NekDouble> c0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
280 Array<OneD, NekDouble> c1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
281 Array<OneD, NekDouble> c2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
282 Exp->GetCoords(c0, c1, c2);
283
284 // Get coordinates at equispaced points
285 Array<OneD, NekDouble> ceq0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
286 Array<OneD, NekDouble> ceq1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
287 Array<OneD, NekDouble> ceq2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
288 ExpEq->GetCoords(ceq0, ceq1, ceq2);
289
290 Array<OneD, NekDouble> out = Array<OneD, NekDouble>(Exp->GetNcoeffs());
291 Array<OneD, NekDouble> outeq = Array<OneD, NekDouble>(Exp->GetNcoeffs());
292 double epsilon = 1.0e-8;
293
294 Array<OneD, int> sorted;
296
297 // compare x-coordinates
298 Exp->PhysInterpToSimplexEquiSpaced(c0, out, numEQ);
299 int cnt = 0;
300 for (int k = 0; k < numEQ; ++k)
301 {
302 for (int j = 0; j < numEQ; ++j)
303 {
304 for (int i = 0; i < numEQ - k; ++i)
305 {
306 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * i / (numEQ - 1.0),
307 epsilon);
308 }
309 }
310 }
311
312 // compare y-coordinates
313 Exp->PhysInterpToSimplexEquiSpaced(c1, out, numEQ);
314 cnt = 0;
315 for (int k = 0; k < numEQ; ++k)
316 {
317 for (int j = 0; j < numEQ; ++j)
318 {
319 for (int i = 0; i < numEQ - k; ++i)
320 {
321 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * j / (numEQ - 1.0),
322 epsilon);
323 }
324 }
325 }
326
327 // compare z-coordinates
328 Exp->PhysInterpToSimplexEquiSpaced(c2, out, numEQ);
329 cnt = 0;
330 for (int k = 0; k < numEQ; ++k)
331 {
332 for (int j = 0; j < numEQ; ++j)
333 {
334 for (int i = 0; i < numEQ - k; ++i)
335 {
336 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * k / (numEQ - 1.0),
337 epsilon);
338 }
339 }
340 }
341}
342
343BOOST_AUTO_TEST_CASE(TestPyrExpInterpPhysToEquiSpaced)
344{
345 using namespace LibUtilities;
346
347 PointsType PointsTypeDir1 = eGaussLobattoLegendre;
348 PointsType PointsTypeDir2 = eGaussLobattoLegendre;
349 PointsType PointsTypeDir3 = eGaussRadauMAlpha2Beta0;
350 BasisType basisTypeDir1 = eModified_A;
351 BasisType basisTypeDir2 = eModified_A;
352 BasisType basisTypeDir3 = eModifiedPyr_C;
353
354 unsigned int numPoints = 10;
355 unsigned int numEQ = 8;
356
357 // Set up standard element.
358 const PointsKey PointsKeyDir1(numPoints, PointsTypeDir1);
359 const PointsKey PointsKeyDir2(numPoints, PointsTypeDir2);
360 const PointsKey PointsKeyDir3(numPoints - 1, PointsTypeDir3);
361 const BasisKey basisKeyDir1(basisTypeDir1, numEQ, PointsKeyDir1);
362 const BasisKey basisKeyDir2(basisTypeDir2, numEQ, PointsKeyDir2);
363 const BasisKey basisKeyDir3(basisTypeDir3, numEQ, PointsKeyDir3);
364
367 basisKeyDir1, basisKeyDir2, basisKeyDir3);
368
369 // define an equispaced Tet points
370 PointsType PointsTypeEq = eNodalPyrEvenlySpaced;
371
374 basisKeyDir1, basisKeyDir2, basisKeyDir3, PointsTypeEq);
375
376 // Get coordinates at quadrature points
377 Array<OneD, NekDouble> c0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
378 Array<OneD, NekDouble> c1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
379 Array<OneD, NekDouble> c2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
380 Exp->GetCoords(c0, c1, c2);
381
382 // Get coordinates at equispaced points
383 Array<OneD, NekDouble> ceq0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
384 Array<OneD, NekDouble> ceq1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
385 Array<OneD, NekDouble> ceq2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
386 ExpEq->GetCoords(ceq0, ceq1, ceq2);
387
388 Array<OneD, NekDouble> out = Array<OneD, NekDouble>(Exp->GetNcoeffs());
389 Array<OneD, NekDouble> outeq = Array<OneD, NekDouble>(Exp->GetNcoeffs());
390 double epsilon = 1.0e-8;
391
392 Array<OneD, int> sorted;
394
395 // compare x-coordinates
396 Exp->PhysInterpToSimplexEquiSpaced(c0, out, numEQ);
397 int cnt = 0;
398 for (int k = 0; k < numEQ; ++k)
399 {
400 for (int j = 0; j < numEQ - k; ++j)
401 {
402 for (int i = 0; i < numEQ - k; ++i)
403 {
404 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * i / (numEQ - 1.0),
405 epsilon);
406 }
407 }
408 }
409
410 // compare y-coordinates
411 Exp->PhysInterpToSimplexEquiSpaced(c1, out, numEQ);
412 cnt = 0;
413 for (int k = 0; k < numEQ; ++k)
414 {
415 for (int j = 0; j < numEQ - k; ++j)
416 {
417 for (int i = 0; i < numEQ - k; ++i)
418 {
419 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * j / (numEQ - 1.0),
420 epsilon);
421 }
422 }
423 }
424
425 // compare z-coordinates
426 Exp->PhysInterpToSimplexEquiSpaced(c2, out, numEQ);
427 cnt = 0;
428 for (int k = 0; k < numEQ; ++k)
429 {
430 for (int j = 0; j < numEQ - k; ++j)
431 {
432 for (int i = 0; i < numEQ - k; ++i)
433 {
434 BOOST_CHECK_CLOSE(out[cnt++], -1.0 + 2.0 * k / (numEQ - 1.0),
435 epsilon);
436 }
437 }
438 }
439}
440
441BOOST_AUTO_TEST_CASE(TestQuadExpEquiSpacedToPhys)
442{
443 LibUtilities::PointsType PointsTypeDir1 =
446 unsigned int numPoints = 10;
447 unsigned int numModes = 8;
448 const Nektar::LibUtilities::PointsKey PointsKeyDir1(numPoints,
449 PointsTypeDir1);
450 const Nektar::LibUtilities::BasisKey basisKeyDir1(basisTypeDir1, numModes,
451 PointsKeyDir1);
452
455 basisKeyDir1, basisKeyDir1);
456
457 unsigned int numEQ = 4;
458 Array<OneD, NekDouble> c0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
459 Array<OneD, NekDouble> c1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
460 Array<OneD, NekDouble> c2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
461 Array<OneD, NekDouble> phys = Array<OneD, NekDouble>(Exp->GetTotPoints());
463
464 double epsilon = 1.0e-8;
465
466 Exp->GetCoords(c0, c1, c2);
467
468 for (int j = 0, cnt = 0; j < numEQ; ++j)
469 {
470 for (int i = 0; i < numEQ; ++i)
471 {
472 in[cnt++] = -1.0 + 2.0 * i / (numEQ - 1.0);
473 }
474 }
475
476 Exp->EquiSpacedToPhys(numEQ, in, phys);
477 for (int j = 0, cnt = 0; j < numPoints; ++j)
478 {
479 for (int i = 0; i < numPoints; ++i)
480 {
481 BOOST_CHECK_CLOSE(phys[cnt], c0[cnt], epsilon);
482 cnt++;
483 }
484 }
485
486 for (int j = 0, cnt = 0; j < numEQ; ++j)
487 {
488 for (int i = 0; i < numEQ; ++i)
489 {
490 in[cnt++] = -1.0 + 2.0 * j / (numEQ - 1.0);
491 }
492 }
493 Exp->EquiSpacedToPhys(numEQ, in, phys);
494 for (int j = 0, cnt = 0; j < numPoints; ++j)
495 {
496 for (int i = 0; i < numPoints; ++i)
497 {
498 BOOST_CHECK_CLOSE(phys[cnt], c1[cnt], epsilon);
499 cnt++;
500 }
501 }
502}
503
504BOOST_AUTO_TEST_CASE(TestTriExpEquiSpacedToPhys)
505{
506
507 LibUtilities::PointsType PointsTypeDir1 =
509 LibUtilities::PointsType PointsTypeDir2 =
510 Nektar::LibUtilities::eGaussRadauMAlpha1Beta0;
511 Nektar::LibUtilities::BasisType basisTypeDir1 =
513 Nektar::LibUtilities::BasisType basisTypeDir2 =
515
516 unsigned int numPoints = 6;
517
518 const Nektar::LibUtilities::PointsKey PointsKeyDir1(numPoints,
519 PointsTypeDir1);
520 const Nektar::LibUtilities::BasisKey basisKeyDir1(basisTypeDir1, 4,
521 PointsKeyDir1);
522 const Nektar::LibUtilities::PointsKey PointsKeyDir2(numPoints - 1,
523 PointsTypeDir2);
524 const Nektar::LibUtilities::BasisKey basisKeyDir2(basisTypeDir2, 4,
525 PointsKeyDir2);
526
529 basisKeyDir1, basisKeyDir2);
530
531 unsigned int numEQ = 4;
532 Array<OneD, NekDouble> c0 = Array<OneD, NekDouble>(Exp->GetTotPoints());
533 Array<OneD, NekDouble> c1 = Array<OneD, NekDouble>(Exp->GetTotPoints());
534 Array<OneD, NekDouble> c2 = Array<OneD, NekDouble>(Exp->GetTotPoints());
535 Array<OneD, NekDouble> phys = Array<OneD, NekDouble>(Exp->GetTotPoints());
537
538 double epsilon = 1.0e-8;
539
540 Exp->GetCoords(c0, c1, c2);
541
542 for (int j = 0, cnt = 0; j < numEQ; ++j)
543 {
544 for (int i = 0; i < numEQ - j; ++i)
545 {
546 in[cnt++] = -1.0 + 2.0 * i / (numEQ - 1.0);
547 }
548 }
549 Exp->EquiSpacedToPhys(numEQ, in, phys);
550 for (int j = 0, cnt = 0; j < numPoints - 1; ++j)
551 {
552 for (int i = 0; i < numPoints; ++i)
553 {
554 BOOST_CHECK_CLOSE(phys[cnt], c0[cnt], epsilon);
555 cnt++;
556 }
557 }
558
559 for (int j = 0, cnt = 0; j < numEQ; ++j)
560 {
561 for (int i = 0; i < numEQ - j; ++i)
562 {
563 in[cnt++] = -1.0 + 2.0 * j / (numEQ - 1.0);
564 }
565 }
566 Exp->EquiSpacedToPhys(numEQ, in, phys);
567 for (int j = 0, cnt = 0; j < numPoints - 1; ++j)
568 {
569 for (int i = 0; i < numPoints; ++i)
570 {
571 BOOST_CHECK_CLOSE(phys[cnt], c1[cnt], epsilon);
572 cnt++;
573 }
574 }
575}
576
577} // namespace Nektar::QuadEquiSpaced
Describes the specification for a Basis.
Definition Basis.h:45
static void CartesianOrdering(const int nq, Array< OneD, int > &sorted)
Definition NodalUtil.h:362
static void CartesianOrdering(const int nq, Array< OneD, int > &sorted)
Set up mapping from point ordering (vert, edge, face, interior) to increasing point ordering in Carte...
Definition NodalUtil.h:509
static void CartesianOrdering(const int nq, Array< OneD, int > &sorted)
Definition NodalUtil.h:256
Defines a specification for a set of points.
Definition Points.h:50
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
@ eNodalPrismEvenlySpaced
3D Evenly-spaced points on a Prism
Definition PointsType.h:86
@ eNodalPyrEvenlySpaced
3D Nodal Pyramid evenly spaced points
Definition PointsType.h:99
@ eGaussLobattoLegendre
1D Gauss-Lobatto-Legendre quadrature points
Definition PointsType.h:51
@ eNodalTetEvenlySpaced
3D Evenly-spaced points on a Tetrahedron
Definition PointsType.h:84
@ eModified_B
Principle Modified Functions .
Definition BasisType.h:49
@ eModified_C
Principle Modified Functions .
Definition BasisType.h:50
@ eModifiedPyr_C
Principle Modified Functions.
Definition BasisType.h:53
@ eModified_A
Principle Modified Functions .
Definition BasisType.h:48
BOOST_AUTO_TEST_CASE(TestQuadExpInterpPhysToEquiSpaced)
std::shared_ptr< StdPrismExp > StdPrismExpSharedPtr
std::shared_ptr< StdTetExp > StdTetExpSharedPtr
Definition StdTetExp.h:187
std::shared_ptr< StdQuadExp > StdQuadExpSharedPtr
Definition StdQuadExp.h:181
std::shared_ptr< StdPyrExp > StdPyrExpSharedPtr
Definition StdPyrExp.h:179
std::shared_ptr< StdTriExp > StdTriExpSharedPtr
Definition StdTriExp.h:177