[cig-commits] r13154 - in cs/cigma/trunk: src tests/libcigma

luis at geodynamics.org luis at geodynamics.org
Wed Oct 29 15:11:04 PDT 2008


Author: luis
Date: 2008-10-29 15:11:03 -0700 (Wed, 29 Oct 2008)
New Revision: 13154

Modified:
   cs/cigma/trunk/src/ElementBlock.h
   cs/cigma/trunk/src/MeshPart.h
   cs/cigma/trunk/tests/libcigma/NodeCoordinatesTest.cpp
Log:
Clean up commented-out code and a few other formatting fixes

Modified: cs/cigma/trunk/src/ElementBlock.h
===================================================================
--- cs/cigma/trunk/src/ElementBlock.h	2008-10-29 22:11:00 UTC (rev 13153)
+++ cs/cigma/trunk/src/ElementBlock.h	2008-10-29 22:11:03 UTC (rev 13154)
@@ -22,22 +22,8 @@
     virtual int getCellNodeId(int e, int i) = 0;
 
     /* XXX: add locator instance here? */
-
-/*
-public:
-    int nel;    // XXX: get rid of these...use virtual functions instead
-    int ndofs;
-*/
-    /* XXX: keep a reference to the parent cell */
+    /* XXX: keep a reference to the parent cell? */
 };
 
-// ----------------------------------------------------------------------------
 
-/*
-inline int cigma::ElementBlock::n_cells() const { return nel; }
-inline int cigma::ElementBlock::n_dofs()  const { return ndofs; }
-*/
-
-// ----------------------------------------------------------------------------
-
 #endif

Modified: cs/cigma/trunk/src/MeshPart.h
===================================================================
--- cs/cigma/trunk/src/MeshPart.h	2008-10-29 22:11:00 UTC (rev 13153)
+++ cs/cigma/trunk/src/MeshPart.h	2008-10-29 22:11:03 UTC (rev 13154)
@@ -1,7 +1,6 @@
 #ifndef __CIGMA_MESH_PART_H__
 #define __CIGMA_MESH_PART_H__
 
-
 #include "Cell.h"
 #include "Locator.h"
 #include "NodeCoordinates.h"

Modified: cs/cigma/trunk/tests/libcigma/NodeCoordinatesTest.cpp
===================================================================
--- cs/cigma/trunk/tests/libcigma/NodeCoordinatesTest.cpp	2008-10-29 22:11:00 UTC (rev 13153)
+++ cs/cigma/trunk/tests/libcigma/NodeCoordinatesTest.cpp	2008-10-29 22:11:03 UTC (rev 13154)
@@ -60,7 +60,7 @@
                 delta);
         }
     }
-    for (i =0; i < nno; i++)
+    for (i = 0; i < nno; i++)
     {
         double *pt = coords->getPointOffset(i);
         for (j = 0; j < nsd; j++)



More information about the CIG-COMMITS mailing list