| /libCEED/examples/solids/ |
| H A D | elasticity.c | 57 SNES snes; in main() local 379 PetscCall(SNESCreate(comm, &snes)); in main() 380 PetscCall(SNESSetDM(snes, level_dms[fine_level])); in main() 410 PetscCall(SNESSetFunction(snes, R, FormResidual_Ceed, res_ctx)); in main() 465 …PetscCall(SNESSetJacobian(snes, jacob_mat[fine_level], jacob_mat[fine_level], FormJacobian, form_j… in main() 467 …PetscCall(SNESSetJacobian(snes, jacob_mat[0], jacob_mat_coarse, SNESComputeJacobianDefaultColor, N… in main() 478 PetscCall(SNESGetKSP(snes, &ksp)); in main() 567 PetscCall(SNESGetLineSearch(snes, &line_search)); in main() 571 PetscCall(SNESSetFromOptions(snes)); in main() 598 PetscCall(PetscBarrier((PetscObject)snes)); in main() [all …]
|
| /libCEED/examples/solids/include/ |
| H A D | matops.h | 19 PetscErrorCode FormResidual_Ceed(SNES snes, Vec X, Vec Y, void *ctx); 22 PetscErrorCode ApplyJacobianCoarse_Ceed(SNES snes, Vec X, Vec Y, void *ctx);
|
| H A D | misc.h | 29 PetscErrorCode FormJacobian(SNES snes, Vec U, Mat J, Mat J_pre, void *ctx);
|
| /libCEED/examples/fluids/problems/ |
| H A D | blasius.c | 20 PetscErrorCode CompressibleBlasiusResidual(SNES snes, Vec X, Vec R, void *ctx) { in CompressibleBlasiusResidual() argument 77 SNES snes; in ComputeChebyshevCoefficients() local 90 PetscCall(SNESCreate(PETSC_COMM_SELF, &snes)); in ComputeChebyshevCoefficients() 97 PetscCall(SNESSetFunction(snes, res, CompressibleBlasiusResidual, blasius)); in ComputeChebyshevCoefficients() 98 PetscCall(SNESSetOptionsPrefix(snes, "chebyshev_")); in ComputeChebyshevCoefficients() 99 PetscCall(SNESSetFromOptions(snes)); in ComputeChebyshevCoefficients() 100 PetscCall(SNESSolve(snes, NULL, sol)); in ComputeChebyshevCoefficients() 101 PetscCall(SNESGetConvergedReason(snes, &reason)); in ComputeChebyshevCoefficients() 113 PetscCall(SNESDestroy(&snes)); in ComputeChebyshevCoefficients()
|
| /libCEED/examples/fluids/src/ |
| H A D | setupts.c | 331 SNES snes; in TSSolve_NS() local 335 PetscCall(TSGetSNES(*ts, &snes)); in TSSolve_NS() 336 PetscCall(SNESGetKSP(snes, &ksp)); in TSSolve_NS() 385 SNES snes; in TSSolve_NS() local 390 PetscCall(TSGetSNES(*ts, &snes)); in TSSolve_NS() 391 PetscCall(SNESGetTolerances(snes, NULL, &rtol, NULL, NULL, NULL)); in TSSolve_NS() 392 …PetscCall(SNESSetTolerances(snes, PETSC_DEFAULT, .99, PETSC_DEFAULT, PETSC_DEFAULT, PETSC_DEFAULT)… in TSSolve_NS() 395 …PetscCall(SNESSetTolerances(snes, PETSC_DEFAULT, rtol, PETSC_DEFAULT, PETSC_DEFAULT, PETSC_DEFAULT… in TSSolve_NS()
|
| /libCEED/examples/petsc/include/ |
| H A D | matops.h | 23 PetscErrorCode FormResidual_Ceed(SNES snes, Vec X, Vec Y, void *ctx);
|
| /libCEED/examples/solids/src/ |
| H A D | matops.c | 56 PetscErrorCode FormResidual_Ceed(SNES snes, Vec X, Vec Y, void *ctx) { in FormResidual_Ceed() argument 77 PetscErrorCode ApplyJacobianCoarse_Ceed(SNES snes, Vec X, Vec Y, void *ctx) { in ApplyJacobianCoarse_Ceed() argument
|
| H A D | misc.c | 78 PetscErrorCode FormJacobian(SNES snes, Vec U, Mat J, Mat J_pre, void *ctx) { in FormJacobian() argument
|
| /libCEED/examples/fluids/ |
| H A D | README.md | 772 …n 6 build/fluids-navierstokes -options_file examples/fluids/vortexshedding.yaml -{ts,snes}_monitor_ 962 - Prefix for Chebyshev snes solve
|