[MOAB-dev] r5707 - MOAB/trunk/tools/mbcoupler
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Thu Aug 23 14:45:27 CDT 2012
Author: iulian
Date: 2012-08-23 14:45:27 -0500 (Thu, 23 Aug 2012)
New Revision: 5707
Modified:
MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
Log:
conventions for 27-node hex
Modified: MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/ElemUtil.cpp 2012-08-22 22:22:29 UTC (rev 5706)
+++ MOAB/trunk/tools/mbcoupler/ElemUtil.cpp 2012-08-23 19:45:27 UTC (rev 5707)
@@ -556,34 +556,35 @@
}
// those are not just the corners, but for simplicity, keep this name
- // we do not really need them now, maybe we should
- const int QuadraticHex::corner[27][3] = { { -1, -1, -1 },
- { 1, -1, -1 },
- { 1, 1, -1 },
- { -1, 1, -1 },
- { -1, -1, 1 },
- { 1, -1, 1 },
- { 1, 1, 1 },
- { -1, 1, 1 },
- { 0, -1, -1 },
- { 1, 0, -1 },
- { 0, 1, -1 },
- { -1, 0, -1 },
- { -1, -1, 0 },
- { 1, -1, 0 },
- { 1, 1, 0 },
- { -1, 1, 0 },
- { 0, -1, 1 },
- { 1, 0, 1 },
- { 0, 1, 1 },
- { -1, 0, 1 },
- { 0, -1, 0 },
- { 1, 0, 0 },
- { 0, 1, 0 },
- { -1, 0, 0 },
- { 0, 0, -1 },
- { 0, 0, 1 },
- { 0, 0, 0 }
+ //
+ const int QuadraticHex::corner[27][3] = {
+ { -1, -1, -1 },
+ { 1, -1, -1 },
+ { 1, 1, -1 }, // corner nodes: 0-7
+ { -1, 1, -1 }, // mid-edge nodes: 8-19
+ { -1, -1, 1 }, // center-face nodes 20-25 center node 26
+ { 1, -1, 1 }, //
+ { 1, 1, 1 },
+ { -1, 1, 1 }, // 4 ----- 19 ----- 7
+ { 0, -1, -1 }, // . | . |
+ { 1, 0, -1 }, // 16 25 18 |
+ { 0, 1, -1 }, // . | . |
+ { -1, 0, -1 }, // 5 ----- 17 ----- 6 |
+ { -1, -1, 0 }, // | 12 | 23 15
More information about the moab-dev
mailing list