Home
last modified time | relevance | path

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

/libCEED/examples/petsc/
H A Dbpssphere.c258 KSPConvergedReason reason; in main() local
262 PetscCall(KSPGetConvergedReason(ksp, &reason)); in main()
265 if (!test_mode || reason < 0 || rnorm > 1e-8) { in main()
272 ksp_type, KSPConvergedReasons[reason], its, (double)rnorm)); in main()
H A Dbpsswarm.c350 KSPConvergedReason reason; in main() local
354 PetscCall(KSPGetConvergedReason(ksp, &reason)); in main()
357 if (!test_mode || reason < 0 || rnorm > 1e-8) { in main()
364 ksp_type, KSPConvergedReasons[reason], its, (double)rnorm)); in main()
H A Dbps.c245 KSPConvergedReason reason; in RunWithDM() local
249 PetscCall(KSPGetConvergedReason(ksp, &reason)); in RunWithDM()
252 if (!rp->test_mode || reason < 0 || rnorm > 1e-8) { in RunWithDM()
259 ksp_type, KSPConvergedReasons[reason], its, (double)rnorm)); in RunWithDM()
H A Dmultigrid.c479 KSPConvergedReason reason; in main() local
483 PetscCall(KSPGetConvergedReason(ksp, &reason)); in main()
487 if (!test_mode || reason < 0 || rnorm > 1e-8) { in main()
494 ksp_type, KSPConvergedReasons[reason], its, (double)rnorm)); in main()
H A Dbpsraw.c736 KSPConvergedReason reason; in main() local
740 PetscCall(KSPGetConvergedReason(ksp, &reason)); in main()
743 if (!test_mode || reason < 0 || rnorm > 1e-8) { in main()
750 ksp_type, KSPConvergedReasons[reason], its, (double)rnorm)); in main()
/libCEED/examples/solids/
H A Delasticity.c633 SNESConvergedReason reason; in main() local
634 PetscCall(SNESGetConvergedReason(snes, &reason)); in main()
635 if (reason < 0) break; in main()
661 SNESConvergedReason reason; in main() local
664 PetscCall(SNESGetConvergedReason(snes, &reason)); in main()
674 …snes_type, SNESConvergedReasons[reason], app_ctx->num_increments, increment - 1, snes_its, (double… in main()
/libCEED/examples/fluids/problems/
H A Dblasius.c81 SNESConvergedReason reason; in ComputeChebyshevCoefficients() local
101 PetscCall(SNESGetConvergedReason(snes, &reason)); in ComputeChebyshevCoefficients()
102 PetscCheck(reason >= 0, PETSC_COMM_WORLD, PETSC_ERR_CONV_FAILED, "The Chebyshev solve failed.\n"); in ComputeChebyshevCoefficients()
/libCEED/examples/fluids/src/
H A Dturb_spanstats.c594 TSConvergedReason reason; in TSMonitor_TurbulenceStatistics() local
598 PetscCall(TSGetConvergedReason(ts, &reason)); in TSMonitor_TurbulenceStatistics()
602 …_and_viewer = (steps % viewer_interval == 0 && viewer_interval != -1) || reason != TS_CONVERGED_IT… in TSMonitor_TurbulenceStatistics()
616 if (user->app_ctx->test_type == TESTTYPE_TURB_SPANSTATS && reason != TS_CONVERGED_ITERATING) { in TSMonitor_TurbulenceStatistics()
619 if (user->spanstats.do_mms_test && reason != TS_CONVERGED_ITERATING) { in TSMonitor_TurbulenceStatistics()
H A Dmisc.c203 TSConvergedReason reason; in PostProcess() local
213 PetscCall(TSGetConvergedReason(ts, &reason)); in PostProcess()
215 …ime integrator %s on time step %" PetscInt_FMT " with final time %g\n", TSConvergedReasons[reason], in PostProcess()
/libCEED/examples/petsc/src/
H A Dswarmutils.c554 KSPConvergedReason reason; in DMSwarmProjectFromSwarmToCells() local
558 PetscCall(KSPGetConvergedReason(ksp, &reason)); in DMSwarmProjectFromSwarmToCells()
562 if (!test_mode || reason < 0 || rnorm > 1e-8) { in DMSwarmProjectFromSwarmToCells()
569 ksp_type, KSPConvergedReasons[reason], its, (double)rnorm)); in DMSwarmProjectFromSwarmToCells()
/libCEED/
H A DCONTRIBUTING.md26 …like merging 'main' into your feature branch) unless there is a specific reason to do so, in which…
/libCEED/doc/sphinx/source/
H A DCONTRIBUTING.md26 …like merging 'main' into your feature branch) unless there is a specific reason to do so, in which…