[cig-commits] r22154 - short/3D/PyLith/trunk/modulesrc/topology

brad at geodynamics.org brad at geodynamics.org
Tue May 28 12:39:25 PDT 2013


Author: brad
Date: 2013-05-28 12:39:24 -0700 (Tue, 28 May 2013)
New Revision: 22154

Modified:
   short/3D/PyLith/trunk/modulesrc/topology/Field.i
Log:
Added Field::hasSection() convenience function.

Modified: short/3D/PyLith/trunk/modulesrc/topology/Field.i
===================================================================
--- short/3D/PyLith/trunk/modulesrc/topology/Field.i	2013-05-28 19:38:13 UTC (rev 22153)
+++ short/3D/PyLith/trunk/modulesrc/topology/Field.i	2013-05-28 19:39:24 UTC (rev 22154)
@@ -115,6 +115,12 @@
        */
       int sectionSize(void) const;
       
+      /** Has section been setup?
+       *
+       * @returns True if section has been setup.
+       */
+      bool hasSection(void) const;
+
       /// Create PETSc section.
       void newSection(void);
 



More information about the CIG-COMMITS mailing list