[cig-commits] r16892 - in short/3D/PyLith/trunk: . pylith/problems

brad at geodynamics.org brad at geodynamics.org
Thu Jun 3 20:00:20 PDT 2010


Author: brad
Date: 2010-06-03 20:00:19 -0700 (Thu, 03 Jun 2010)
New Revision: 16892

Modified:
   short/3D/PyLith/trunk/TODO
   short/3D/PyLith/trunk/pylith/problems/ExplicitLgDeform.py
   short/3D/PyLith/trunk/pylith/problems/ImplicitLgDeform.py
Log:
Updated TODO.

Modified: short/3D/PyLith/trunk/TODO
===================================================================
--- short/3D/PyLith/trunk/TODO	2010-06-04 02:52:13 UTC (rev 16891)
+++ short/3D/PyLith/trunk/TODO	2010-06-04 03:00:19 UTC (rev 16892)
@@ -36,11 +36,6 @@
   Benchmarks
     Update performance?
 
-  Materials [Charles]
-    Are material models consistent with governing equations discussion?
-
-  Update description of properties and components in appendix.
-
 TUTORIALS/EXAMPLES
   
   3d/hex8
@@ -161,6 +156,12 @@
   Make fault nucleation (initial tractions) modular (allow space/time
   variation).
 
+* Lumped elasticity formulation for large deformations
+
+* Manual
+
+  Are material models consistent with governing equations discussion?
+
 ----------------------------------------------------------------------
 CLEANUP
 ----------------------------------------------------------------------

Modified: short/3D/PyLith/trunk/pylith/problems/ExplicitLgDeform.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/ExplicitLgDeform.py	2010-06-04 02:52:13 UTC (rev 16891)
+++ short/3D/PyLith/trunk/pylith/problems/ExplicitLgDeform.py	2010-06-04 03:00:19 UTC (rev 16892)
@@ -28,6 +28,30 @@
   Factory: pde_formulation.
   """
 
+  class Inventory(Explicit.Inventory):
+    """
+    Python object for managing ImplicitLgDeform facilities and properties.
+
+    Provide appropriate solver for small strains as the default.
+    """
+
+    ## @class Inventory
+    ## Python object for managing ExplicitLumped facilities and properties.
+    ##
+    ## \b Properties
+    ## @li None
+    ##
+    ## \b Facilities
+    ## @li \b solver Algebraic solver.
+
+    import pyre.inventory
+
+    from SolverNonlinear import SolverNonlinear
+    solver = pyre.inventory.facility("solver", family="solver",
+                                     factory=SolverNonlinear)
+    solver.meta['tip'] = "Algebraic solver."
+
+
   # PUBLIC METHODS /////////////////////////////////////////////////////
 
   def __init__(self, name="explicitlgdeform"):
@@ -53,6 +77,7 @@
     Set members based using inventory.
     """
     Explicit._configure(self)
+    self.solver = self.inventory.solver
     return
 
 

Modified: short/3D/PyLith/trunk/pylith/problems/ImplicitLgDeform.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/ImplicitLgDeform.py	2010-06-04 02:52:13 UTC (rev 16891)
+++ short/3D/PyLith/trunk/pylith/problems/ImplicitLgDeform.py	2010-06-04 03:00:19 UTC (rev 16892)
@@ -28,6 +28,30 @@
   Factory: pde_formulation.
   """
 
+  class Inventory(Implicit.Inventory):
+    """
+    Python object for managing ImplicitLgDeform facilities and properties.
+
+    Provide appropriate solver for small strains as the default.
+    """
+
+    ## @class Inventory
+    ## Python object for managing ExplicitLumped facilities and properties.
+    ##
+    ## \b Properties
+    ## @li None
+    ##
+    ## \b Facilities
+    ## @li \b solver Algebraic solver.
+
+    import pyre.inventory
+
+    from SolverNonlinear import SolverNonlinear
+    solver = pyre.inventory.facility("solver", family="solver",
+                                     factory=SolverNonlinear)
+    solver.meta['tip'] = "Algebraic solver."
+
+
   # PUBLIC METHODS /////////////////////////////////////////////////////
 
   def __init__(self, name="implicitlgdeform"):
@@ -53,6 +77,7 @@
     Set members based using inventory.
     """
     Implicit._configure(self)
+    self.solver = self.inventory.solver
     return
 
 



More information about the CIG-COMMITS mailing list