243{
244 size_t cnt;
245 size_t istart, iend;
246
247 const size_t nVerts = 4;
249 const size_t nFaceInteriorPoints =
251
252
253 const size_t nAllPoints =
255 if (nEdgeInteriorPoints == 0)
256 {
257 return;
258 }
259
260
261 istart = nVerts;
262 for (size_t i = cnt = istart; i < nAllPoints; i++)
263 {
266 {
270 cnt++;
271 }
272 }
273
274
275 iend = istart + nEdgeInteriorPoints;
276 for (size_t i = istart; i < iend; i++)
277 {
278 for (size_t j = istart + 1; j < iend; j++)
279 {
281 {
285 }
286 }
287 }
288
289
290 istart = iend;
291 for (size_t i = cnt = istart; i < nAllPoints; i++)
292 {
295 {
299 cnt++;
300 }
301 }
302
303
304 iend = istart + nEdgeInteriorPoints;
305 for (size_t i = istart; i < iend; i++)
306 {
307 for (size_t j = istart + 1; j < iend; j++)
308 {
310 {
314 }
315 }
316 }
317
318
319 istart = iend;
320 for (size_t i = cnt = istart; i < nAllPoints; i++)
321 {
324 {
328 cnt++;
329 }
330 }
331
332
333 iend = istart + nEdgeInteriorPoints;
334 for (size_t i = istart; i < iend; i++)
335 {
336 for (size_t j = istart + 1; j < iend; j++)
337 {
339 {
343 }
344 }
345 }
346
347
348 istart = iend;
349 for (size_t i = cnt = istart; i < nAllPoints; i++)
350 {
353 {
357 cnt++;
358 }
359 }
360
361
362 iend = istart + nEdgeInteriorPoints;
363 for (size_t i = istart; i < iend; i++)
364 {
365 for (size_t j = istart + 1; j < iend; j++)
366 {
368 {
372 }
373 }
374 }
375
376
377 istart = iend;
378 for (size_t i = cnt = istart; i < nAllPoints; i++)
379 {
382 {
386 cnt++;
387 }
388 }
389
390
391 iend = istart + nEdgeInteriorPoints;
392 for (size_t i = istart; i < iend; i++)
393 {
394 for (size_t j = istart + 1; j < iend; j++)
395 {
397 {
401 }
402 }
403 }
404
405
406 istart = iend;
407 for (size_t i = cnt = istart; i < nAllPoints; i++)
408 {
411 {
415 cnt++;
416 }
417 }
418
419
420 iend = istart + nEdgeInteriorPoints;
421 for (size_t i = istart; i < iend; i++)
422 {
423 for (size_t j = istart + 1; j < iend; j++)
424 {
426 {
430 }
431 }
432 }
433
435 {
436
437 return;
438 }
439
440
441 istart = iend;
442 for (size_t i = cnt = istart; i < nAllPoints; i++)
443 {
445 {
449 cnt++;
450 }
451 }
452
453
454 iend = istart + nFaceInteriorPoints;
455 bool repeat = true;
456 while (repeat)
457 {
458 repeat = false;
459 for (size_t i = istart; i < iend - 1; i++)
460 {
462 {
466 repeat = true;
467 }
468 }
469 }
470 size_t offset = 0;
472 while (npl > 1)
473 {
474 repeat = true;
475 while (repeat)
476 {
477 repeat = false;
478 for (size_t i = offset + istart; i < offset + istart + npl - 1; i++)
479 {
481 {
485 repeat = true;
486 }
487 }
488 }
489 offset += npl;
490 npl--;
491 }
492
493
494 istart = iend;
495 for (size_t i = cnt = istart; i < nAllPoints; i++)
496 {
498 {
502 cnt++;
503 }
504 }
505
506
507 iend = istart + nFaceInteriorPoints;
508 repeat = true;
509 while (repeat)
510 {
511 repeat = false;
512 for (size_t i = istart; i < iend - 1; i++)
513 {
515 {
519 repeat = true;
520 }
521 }
522 }
523 offset = 0;
525 while (npl > 1)
526 {
527 repeat = true;
528 while (repeat)
529 {
530 repeat = false;
531 for (size_t i = offset + istart; i < offset + istart + npl - 1; i++)
532 {
534 {
538 repeat = true;
539 }
540 }
541 }
542 offset += npl;
543 npl--;
544 }
545
546
547 istart = iend;
548 for (size_t i = cnt = istart; i < nAllPoints; i++)
549 {
551 1E-9)
552 {
556 cnt++;
557 }
558 }
559
560
561 iend = istart + nFaceInteriorPoints;
562 repeat = true;
563 while (repeat)
564 {
565 repeat = false;
566 for (size_t i = istart; i < iend - 1; i++)
567 {
569 {
573 repeat = true;
574 }
575 }
576 }
577 offset = 0;
579 while (npl > 1)
580 {
581 repeat = true;
582 while (repeat)
583 {
584 repeat = false;
585 for (size_t i = offset + istart; i < offset + istart + npl - 1; i++)
586 {
588 {
592 repeat = true;
593 }
594 }
595 }
596 offset += npl;
597 npl--;
598 }
599
600
601 istart = iend;
602 for (size_t i = cnt = istart; i < nAllPoints; i++)
603 {
605 {
609 cnt++;
610 }
611 }
612
613
614 iend = istart + nFaceInteriorPoints;
615 repeat = true;
616 while (repeat)
617 {
618 repeat = false;
619 for (size_t i = istart; i < iend - 1; i++)
620 {
622 {
626 repeat = true;
627 }
628 }
629 }
630 offset = 0;
632 while (npl > 1)
633 {
634 repeat = true;
635 while (repeat)
636 {
637 repeat = false;
638 for (size_t i = offset + istart; i < offset + istart + npl - 1; i++)
639 {
641 {
645 repeat = true;
646 }
647 }
648 }
649 offset += npl;
650 npl--;
651 }
652}
Array< OneD, DataType > m_points[3]
Storage for the point locations, allowing for up to a 3D points storage.
size_t GetNumPoints() const
static const NekDouble kNekZeroTol