[cig-commits] [commit] knepley/upgrade-petsc-interface: Fixed name of Lagrange multiplier field (consistency with C++). (44dc346)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 7 14:52:04 PST 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/02d6f9c2f3202b524bc8b2d8c32ec207f35f3893...44dc34616c3c0f702805372f2b51e8aa7a0ccbcc

>---------------------------------------------------------------

commit 44dc34616c3c0f702805372f2b51e8aa7a0ccbcc
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Thu Nov 7 14:54:25 2013 -0800

    Fixed name of Lagrange multiplier field (consistency with C++).


>---------------------------------------------------------------

44dc34616c3c0f702805372f2b51e8aa7a0ccbcc
 pylith/problems/Formulation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pylith/problems/Formulation.py b/pylith/problems/Formulation.py
index d548aef..e96efb9 100644
--- a/pylith/problems/Formulation.py
+++ b/pylith/problems/Formulation.py
@@ -502,7 +502,7 @@ class Formulation(PetscComponent, ModuleFormulation):
       solution = self.fields.get("dispIncr(t->t+dt)")
       solution.subfieldAdd("displacement", dimension)
       if self.splitFields():
-        solution.subfieldAdd("lagrange_multipliers", dimension)
+        solution.subfieldAdd("lagrange multiplier", dimension)
       solution.subfieldsSetup()
       solution.newSection(solution.VERTICES_FIELD, dimension)
       solution.subfieldSetDof("displacement", solution.VERTICES_FIELD, dimension)



More information about the CIG-COMMITS mailing list