Searched refs:snes (Results 1 – 3 of 3) sorted by relevance
| /honee/problems/ |
| H A D | blasius.c | 17 PetscErrorCode CompressibleBlasiusResidual(SNES snes, Vec X, Vec R, void *ctx) { in CompressibleBlasiusResidual() argument 74 SNES snes; in ComputeChebyshevCoefficients() local 87 PetscCall(SNESCreate(PETSC_COMM_SELF, &snes)); in ComputeChebyshevCoefficients() 94 PetscCall(SNESSetFunction(snes, res, CompressibleBlasiusResidual, blasius)); in ComputeChebyshevCoefficients() 95 PetscCall(SNESSetOptionsPrefix(snes, "chebyshev_")); in ComputeChebyshevCoefficients() 96 PetscCall(SNESSetFromOptions(snes)); in ComputeChebyshevCoefficients() 97 PetscCall(SNESSolve(snes, NULL, sol)); in ComputeChebyshevCoefficients() 98 PetscCall(SNESGetConvergedReason(snes, &reason)); in ComputeChebyshevCoefficients() 110 PetscCall(SNESDestroy(&snes)); in ComputeChebyshevCoefficients()
|
| /honee/src/ |
| H A D | setupts.c | 444 SNES snes; in TSSolve_NS() local 448 PetscCall(TSGetSNES(*ts, &snes)); in TSSolve_NS() 449 PetscCall(SNESGetKSP(snes, &ksp)); in TSSolve_NS() 465 SNES snes; in TSSolve_NS() local 468 PetscCall(TSGetSNES(*ts, &snes)); in TSSolve_NS() 469 PetscCall(SNESGetKSP(snes, &ksp)); in TSSolve_NS() 512 SNES snes; in TSSolve_NS() local 518 PetscCall(TSGetSNES(*ts, &snes)); in TSSolve_NS() 519 PetscCall(SNESGetTolerances(snes, NULL, &rtol_snes, NULL, NULL, NULL)); in TSSolve_NS() 520 …PetscCall(SNESSetTolerances(snes, PETSC_CURRENT, .99, PETSC_CURRENT, PETSC_CURRENT, PETSC_CURRENT)… in TSSolve_NS() [all …]
|
| /honee/doc/ |
| H A D | examples.md | 346 - Prefix for Chebyshev snes solve
|