[cig-commits] r22142 - in short/3D/PyLith/trunk: examples/3d/tet4 pylith/problems

brad at geodynamics.org brad at geodynamics.org
Mon May 27 13:06:15 PDT 2013


Author: brad
Date: 2013-05-27 13:06:15 -0700 (Mon, 27 May 2013)
New Revision: 22142

Modified:
   short/3D/PyLith/trunk/examples/3d/tet4/step04.cfg
   short/3D/PyLith/trunk/pylith/problems/Formulation.py
Log:
Updated names of fields in field split. Updated corresponding PETSc settings (numbers to names for field split fields).

Modified: short/3D/PyLith/trunk/examples/3d/tet4/step04.cfg
===================================================================
--- short/3D/PyLith/trunk/examples/3d/tet4/step04.cfg	2013-05-27 15:53:22 UTC (rev 22141)
+++ short/3D/PyLith/trunk/examples/3d/tet4/step04.cfg	2013-05-27 20:06:15 UTC (rev 22142)
@@ -129,7 +129,7 @@
 fs_pc_type = fieldsplit
 fs_pc_fieldsplit_real_diagonal = true
 fs_pc_fieldsplit_type = multiplicative
-fs_fieldsplit_0_pc_type = ml
-fs_fieldsplit_1_pc_type = jacobi
-fs_fieldsplit_0_ksp_type = preonly
-fs_fieldsplit_1_ksp_type = preonly
+fs_fieldsplit_displacement_pc_type = ml
+fs_fieldsplit_lagrange_multipliers_pc_type = jacobi
+fs_fieldsplit_displacement_ksp_type = preonly
+fs_fieldsplit_lagrange_multipliers_ksp_type = preonly

Modified: short/3D/PyLith/trunk/pylith/problems/Formulation.py
===================================================================
--- short/3D/PyLith/trunk/pylith/problems/Formulation.py	2013-05-27 15:53:22 UTC (rev 22141)
+++ short/3D/PyLith/trunk/pylith/problems/Formulation.py	2013-05-27 20:06:15 UTC (rev 22142)
@@ -520,7 +520,7 @@
       solution = self.fields.get("dispIncr(t->t+dt)")
       solution.addField("displacement", dimension)
       if self.splitFields():
-        solution.addField("fault constraints", dimension)
+        solution.addField("lagrange_multipliers", dimension)
       solution.setupFields()
       solution.newSection(solution.VERTICES_FIELD, dimension)
       solution.updateDof("displacement", solution.VERTICES_FIELD, dimension)



More information about the CIG-COMMITS mailing list