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

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


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

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

Modified: cs/cigma/trunk/tests/libcigma/ResidualsTest.cpp
===================================================================
--- cs/cigma/trunk/tests/libcigma/ResidualsTest.cpp	2008-12-10 02:12:52 UTC (rev 13507)
+++ cs/cigma/trunk/tests/libcigma/ResidualsTest.cpp	2008-12-10 02:12:53 UTC (rev 13508)
@@ -29,8 +29,6 @@
     eb_reader = FileReader::New("tests/data/brick1/brick1_connect.dat", "r");
     eb_reader->getConnectivity("", &(eb->connect), &(eb->nel), &(eb->ndofs));
 
-    //shared_ptr<Cell> cell(new hex8);
-    //mesh->setCell(cell);
     mesh->setCellType(Cell::HEX8);
 
     mesh->setNodeCoordinates(nc);
@@ -44,7 +42,6 @@
     shared_ptr<Cell> cell = Cell::New(mesh->cell_type);
     for (int e = 0; e < eb->n_cells(); e++)
     {
-        //mesh->selectCell(e);
         mesh->getCell(e, *cell);
         residuals->update(e, sqrt(2), cell->volume());
     }



More information about the CIG-COMMITS mailing list