Home
last modified time | relevance | path

Searched refs:maxFails (Results 1 – 1 of 1) sorted by relevance

/petsc/src/snes/interface/
H A Dsnes.c1495 PetscErrorCode SNESSetMaxNonlinearStepFailures(SNES snes, PetscInt maxFails) in SNESSetMaxNonlinearStepFailures() argument
1500 if (maxFails == PETSC_UNLIMITED) { in SNESSetMaxNonlinearStepFailures()
1503 …PetscCheck(maxFails >= 0, PetscObjectComm((PetscObject)snes), PETSC_ERR_ARG_OUTOFRANGE, "Cannot ha… in SNESSetMaxNonlinearStepFailures()
1504 snes->maxFailures = maxFails; in SNESSetMaxNonlinearStepFailures()
1526 PetscErrorCode SNESGetMaxNonlinearStepFailures(SNES snes, PetscInt *maxFails) in SNESGetMaxNonlinearStepFailures() argument
1530 PetscAssertPointer(maxFails, 2); in SNESGetMaxNonlinearStepFailures()
1531 *maxFails = snes->maxFailures; in SNESGetMaxNonlinearStepFailures()
1617 PetscErrorCode SNESSetMaxLinearSolveFailures(SNES snes, PetscInt maxFails) in SNESSetMaxLinearSolveFailures() argument
1621 PetscValidLogicalCollectiveInt(snes, maxFails, 2); in SNESSetMaxLinearSolveFailures()
1623 if (maxFails == PETSC_UNLIMITED) { in SNESSetMaxLinearSolveFailures()
[all …]