[cig-commits] r13509 - cs/cigma/trunk/tests/libcigma

luis at geodynamics.org luis at geodynamics.org
Tue Dec 9 18:12:54 PST 2008


Author: luis
Date: 2008-12-09 18:12:54 -0800 (Tue, 09 Dec 2008)
New Revision: 13509

Modified:
   cs/cigma/trunk/tests/libcigma/LocatorTest.cpp
Log:
Eliminating &MeshPart::{setCell,selectCell}

Modified: cs/cigma/trunk/tests/libcigma/LocatorTest.cpp
===================================================================
--- cs/cigma/trunk/tests/libcigma/LocatorTest.cpp	2008-12-10 02:12:53 UTC (rev 13508)
+++ cs/cigma/trunk/tests/libcigma/LocatorTest.cpp	2008-12-10 02:12:54 UTC (rev 13509)
@@ -35,7 +35,6 @@
     shared_ptr<MeshPart> mesh(new MeshPart);
     mesh->setNodeCoordinates(nc);
     mesh->setElementBlock(eb);
-    //mesh->setCell(Cell::New("hex8"));
     mesh->setCellType(Cell::HEX8);
 
     //
@@ -64,9 +63,7 @@
     CPPUNIT_ASSERT_EQUAL(6, cellIndex);
 
     shared_ptr<Cell> cell = Cell::New(mesh->cell_type);
-    //mesh->selectCell(6);
     mesh->getCell(6, *cell);
-
     //CPPUNIT_ASSERT_EQUAL(true, mesh->cell->interior(uvw));
     CPPUNIT_ASSERT_EQUAL(true, cell->global_interior(point));
 



More information about the CIG-COMMITS mailing list