[MOAB-dev] r5706 - MOAB/trunk/tools/mbcoupler

iulian at mcs.anl.gov iulian at mcs.anl.gov
Wed Aug 22 17:22:29 CDT 2012


Author: iulian
Date: 2012-08-22 17:22:29 -0500 (Wed, 22 Aug 2012)
New Revision: 5706

Modified:
   MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
   MOAB/trunk/tools/mbcoupler/ElemUtil.hpp
Log:
simplify a little the implementation for quadratic hex
need to test it


Modified: MOAB/trunk/tools/mbcoupler/ElemUtil.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/ElemUtil.cpp	2012-08-21 21:45:52 UTC (rev 5705)
+++ MOAB/trunk/tools/mbcoupler/ElemUtil.cpp	2012-08-22 22:22:29 UTC (rev 5706)
@@ -557,89 +557,69 @@
 
   // those are not just the corners, but for simplicity, keep this name
   // we do not really need them now, maybe we should
-  const double 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 },
+                                            { -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 },


More information about the moab-dev mailing list