[cig-commits] r12920 - short/3D/PyLith/trunk/pylith/topology

brad at geodynamics.org brad at geodynamics.org
Fri Sep 19 17:35:31 PDT 2008


Author: brad
Date: 2008-09-19 17:35:31 -0700 (Fri, 19 Sep 2008)
New Revision: 12920

Modified:
   short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
   short/3D/PyLith/trunk/pylith/topology/RefineUniform.py
Log:
Fixed hooks for mesh refinement.

Modified: short/3D/PyLith/trunk/pylith/topology/MeshImporter.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2008-09-19 17:57:25 UTC (rev 12919)
+++ short/3D/PyLith/trunk/pylith/topology/MeshImporter.py	2008-09-20 00:35:31 UTC (rev 12920)
@@ -61,6 +61,7 @@
     refiner = pyre.inventory.facility("refiner",
                                       family="mesh_refiner",
                                       factory=MeshRefiner)
+    refiner.meta['tip'] = "Mesh refiner."
 
 
   # PUBLIC METHODS /////////////////////////////////////////////////////

Modified: short/3D/PyLith/trunk/pylith/topology/RefineUniform.py
===================================================================
--- short/3D/PyLith/trunk/pylith/topology/RefineUniform.py	2008-09-19 17:57:25 UTC (rev 12919)
+++ short/3D/PyLith/trunk/pylith/topology/RefineUniform.py	2008-09-20 00:35:31 UTC (rev 12920)
@@ -92,7 +92,7 @@
     """
     Set members based using inventory.
     """
-    Component._configure(self)
+    MeshRefiner._configure(self)
     self.levels = self.inventory.levels
     return
 
@@ -109,7 +109,7 @@
 
 # FACTORIES ////////////////////////////////////////////////////////////
 
-def mesh_distributor():
+def mesh_refiner():
   """
   Factory associated with RefineUniform.
   """



More information about the cig-commits mailing list