[cig-commits] r17227 - short/3D/PyLith/branches/v1.5-stable/libsrc/problems

brad at geodynamics.org brad at geodynamics.org
Tue Sep 28 18:59:25 PDT 2010


Author: brad
Date: 2010-09-28 18:59:24 -0700 (Tue, 28 Sep 2010)
New Revision: 17227

Modified:
   short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.cc
   short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.hh
Log:
Synchronize with petsc-dev. PetscTruth -> PetscBool.

Modified: short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.cc
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.cc	2010-09-28 01:09:18 UTC (rev 17226)
+++ short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.cc	2010-09-29 01:59:24 UTC (rev 17227)
@@ -183,7 +183,7 @@
 					      PetscReal xnorm,
 					      PetscReal *ynorm,
 					      PetscReal *gnorm,
-					      PetscTruth *flag)
+					      PetscBool *flag)
 { // lineSearch
   // Note that for line search purposes we work with with the related
   // minimization problem:
@@ -198,7 +198,7 @@
   PetscErrorCode ierr;
   PetscInt       count;
   SNES_LS        *neP = (SNES_LS*)snes->data;
-  PetscTruth     changed_w = PETSC_FALSE,changed_y = PETSC_FALSE;
+  PetscBool     changed_w = PETSC_FALSE,changed_y = PETSC_FALSE;
 
   PetscFunctionBegin;
   ierr = PetscLogEventBegin(SNES_LineSearch,snes,x,f,g);CHKERRQ(ierr);

Modified: short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.hh
===================================================================
--- short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.hh	2010-09-28 01:09:18 UTC (rev 17226)
+++ short/3D/PyLith/branches/v1.5-stable/libsrc/problems/SolverNonlinear.hh	2010-09-29 01:59:24 UTC (rev 17227)
@@ -139,7 +139,7 @@
 			    PetscReal xnorm,
 			    PetscReal *ynorm,
 			    PetscReal *gnorm,
-			    PetscTruth *flag);
+			    PetscBool *flag);
 
 // PRIVATE METHODS //////////////////////////////////////////////////////
 private :



More information about the CIG-COMMITS mailing list