[cig-commits] r14082 - cs/cigma/trunk/src

luis at geodynamics.org luis at geodynamics.org
Wed Feb 18 08:14:34 PST 2009


Author: luis
Date: 2009-02-18 08:14:34 -0800 (Wed, 18 Feb 2009)
New Revision: 14082

Modified:
   cs/cigma/trunk/src/io_exo_reader.cpp
Log:
This allows us to read quad4 mesh blocks from ExodusII file.

Modified: cs/cigma/trunk/src/io_exo_reader.cpp
===================================================================
--- cs/cigma/trunk/src/io_exo_reader.cpp	2009-02-18 16:14:32 UTC (rev 14081)
+++ cs/cigma/trunk/src/io_exo_reader.cpp	2009-02-18 16:14:34 UTC (rev 14082)
@@ -167,6 +167,10 @@
     {
         return Cell::HEX8;
     }
+    else if (cellname == "QUAD4")
+    {
+        return Cell::QUAD4;
+    }
     else if (cellname == "TETRA")
     {
         return Cell::TET4;
@@ -233,6 +237,7 @@
     mesh->coords  = this->getNodeCoordinates("coords");
     mesh->connect = this->getElementBlock("connect1");
     mesh->cell_type = this->getCellType("connect1");
+    mesh->setLocator();
     return mesh;
 }
 



More information about the CIG-COMMITS mailing list