1. petsc
  2. PETSc
  3. petsc

Commits

Peter Brune  committed cf5b3eb

Made the composite SNESes default to 1 iteration

  • Participants
  • Parent commits 5e806d2
  • Branches master

Comments (0)

Files changed (1)

File src/snes/impls/composite/snescomposite.c

View file
  • Ignore whitespace
   ierr        = PetscLogObjectParent((PetscObject)snes,(PetscObject)ilink->snes);CHKERRQ(ierr);
   ierr        = SNESGetDM(snes,&dm);CHKERRQ(ierr);
   ierr        = SNESSetDM(ilink->snes,dm);CHKERRQ(ierr);
-
+  ierr        = SNESSetTolerances(ilink->snes,ilink->snes->abstol,ilink->snes->rtol,ilink->snes->stol,1,ilink->snes->max_funcs);CHKERRQ(ierr);
   jac  = (SNES_Composite*)snes->data;
   next = jac->head;
   if (!next) {