Home
last modified time | relevance | path

Searched refs:PetscViewerASCIIPrintf (Results 1 – 25 of 379) sorted by relevance

12345678910>>...16

/petsc/src/mat/tests/
H A Dex68.c46 PetscCall(PetscViewerASCIIPrintf(viewer, "Original matrix\n")); in main()
52 PetscCall(PetscViewerASCIIPrintf(viewer, "Original matrix permuted by identity\n")); in main()
58 …PetscCall(PetscViewerASCIIPrintf(viewer, "Original matrix permuted by identity + NonzeroDiagonal()… in main()
60 PetscCall(PetscViewerASCIIPrintf(viewer, "Row permutation\n")); in main()
62 PetscCall(PetscViewerASCIIPrintf(viewer, "Column permutation\n")); in main()
71 PetscCall(PetscViewerASCIIPrintf(viewer, "Original matrix permuted by ND\n")); in main()
74 PetscCall(PetscViewerASCIIPrintf(viewer, "ND row permutation\n")); in main()
76 PetscCall(PetscViewerASCIIPrintf(viewer, "ND column permutation\n")); in main()
81 PetscCall(PetscViewerASCIIPrintf(viewer, "Original matrix permuted by ND + NonzeroDiagonal()\n")); in main()
84 PetscCall(PetscViewerASCIIPrintf(viewer, "ND + NonzeroDiagonal() row permutation\n")); in main()
[all …]
H A Dex4.c31 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Original matrix\n")); in main()
44 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "\nSubmatrices with all\n")); in main()
45 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "--------------------\n")); in main()
69 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "\nSubmatrices\n")); in main()
84 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "\nSubmatrices with allcolumns\n")); in main()
94 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Original zeroed matrix\n")); in main()
/petsc/src/sys/logging/handler/impls/default/
H A Dlogdefault.c992 PetscCall(PetscViewerASCIIPrintf(viewer, "size = %d\n", size)); in PetscLogHandlerView_Default_Detailed()
993 PetscCall(PetscViewerASCIIPrintf(viewer, "LocalTimes = {}\n")); in PetscLogHandlerView_Default_Detailed()
994 PetscCall(PetscViewerASCIIPrintf(viewer, "LocalMessages = {}\n")); in PetscLogHandlerView_Default_Detailed()
995 PetscCall(PetscViewerASCIIPrintf(viewer, "LocalMessageLens = {}\n")); in PetscLogHandlerView_Default_Detailed()
996 PetscCall(PetscViewerASCIIPrintf(viewer, "LocalReductions = {}\n")); in PetscLogHandlerView_Default_Detailed()
997 PetscCall(PetscViewerASCIIPrintf(viewer, "LocalFlop = {}\n")); in PetscLogHandlerView_Default_Detailed()
998 PetscCall(PetscViewerASCIIPrintf(viewer, "LocalObjects = {}\n")); in PetscLogHandlerView_Default_Detailed()
999 PetscCall(PetscViewerASCIIPrintf(viewer, "LocalMemory = {}\n")); in PetscLogHandlerView_Default_Detailed()
1005 PetscCall(PetscViewerASCIIPrintf(viewer, "Stages = {}\n")); in PetscLogHandlerView_Default_Detailed()
1012 PetscCall(PetscViewerASCIIPrintf(viewer, "Stages[\"%s\"] = {}\n", stage_name)); in PetscLogHandlerView_Default_Detailed()
[all …]
/petsc/src/dm/impls/swarm/
H A Dswarmpic_view.c24 PetscCall(PetscViewerASCIIPrintf(viewer, "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n")); in private_PetscViewerCreate_XDMF()
25 …PetscCall(PetscViewerASCIIPrintf(viewer, "<Xdmf xmlns:xi=\"http://www.w3.org/2001/XInclude/\" Vers… in private_PetscViewerCreate_XDMF()
28 PetscCall(PetscViewerASCIIPrintf(viewer, "<Domain>\n")); in private_PetscViewerCreate_XDMF()
46 PetscCall(PetscViewerASCIIPrintf(viewer, "</Grid>\n")); in private_PetscViewerDestroy_XDMF()
51 PetscCall(PetscViewerASCIIPrintf(viewer, "</Domain>\n")); in private_PetscViewerDestroy_XDMF()
53 PetscCall(PetscViewerASCIIPrintf(viewer, "</Xdmf>\n")); in private_PetscViewerDestroy_XDMF()
112 PetscCall(PetscViewerASCIIPrintf(viewer, "<Grid Name=\"DMSwarm\" GridType=\"Uniform\">\n")); in private_DMSwarmView_XDMF()
114 …PetscCall(PetscViewerASCIIPrintf(viewer, "<Grid Name=\"DMSwarm[%s]\" GridType=\"Uniform\">\n", dmn… in private_DMSwarmView_XDMF()
134 …PetscCall(PetscViewerASCIIPrintf(viewer, "<Topology Dimensions=\"%" PetscInt_FMT "\" TopologyType=… in private_DMSwarmView_XDMF()
136 …PetscCall(PetscViewerASCIIPrintf(viewer, "<DataItem Format=\"Binary\" Endian=\"Big\" DataType=\"In… in private_DMSwarmView_XDMF()
[all …]
/petsc/src/ksp/ksp/tests/benchmarkscatters/
H A Dex1.c86 PetscCall(PetscViewerASCIIPrintf(viewer, "numProcs = %d\n", size)); in PetscLogView_VecScatter()
94 …PetscCall(PetscViewerASCIIPrintf(viewer, "%s on a %s named %s with %d processors, by %s %s\n", pna… in PetscLogView_VecScatter()
95 PetscCall(PetscViewerASCIIPrintf(viewer, "Using %s\n", version)); in PetscLogView_VecScatter()
96 PetscCall(PetscViewerASCIIPrintf(viewer, "Configure options: %s", petscconfigureoptions)); in PetscLogView_VecScatter()
97 PetscCall(PetscViewerASCIIPrintf(viewer, "%s", petscmachineinfo)); in PetscLogView_VecScatter()
98 PetscCall(PetscViewerASCIIPrintf(viewer, "%s", petsccompilerinfo)); in PetscLogView_VecScatter()
99 PetscCall(PetscViewerASCIIPrintf(viewer, "%s", petsccompilerflagsinfo)); in PetscLogView_VecScatter()
100 PetscCall(PetscViewerASCIIPrintf(viewer, "%s", petsclinkerinfo)); in PetscLogView_VecScatter()
101 PetscCall(PetscViewerASCIIPrintf(viewer, "%s\n", PETSC_MPICC_SHOW)); in PetscLogView_VecScatter()
106 …PetscCall(PetscViewerASCIIPrintf(viewer, "----------------------------------------------------\n")… in PetscLogView_VecScatter()
[all …]
/petsc/src/mat/impls/sbaij/seq/cholmod/
H A Dsbaijcholmod.c309 PetscCall(PetscViewerASCIIPrintf(viewer, "CHOLMOD run parameters:\n")); in MatView_Info_CHOLMOD()
311 …PetscCall(PetscViewerASCIIPrintf(viewer, "Pack factors after symbolic factorization: %s\n", chol->… in MatView_Info_CHOLMOD()
312 …PetscCall(PetscViewerASCIIPrintf(viewer, "Common.dbound %g (Smallest absolute value of… in MatView_Info_CHOLMOD()
313 PetscCall(PetscViewerASCIIPrintf(viewer, "Common.grow0 %g\n", c->grow0)); in MatView_Info_CHOLMOD()
314 PetscCall(PetscViewerASCIIPrintf(viewer, "Common.grow1 %g\n", c->grow1)); in MatView_Info_CHOLMOD()
315 PetscCall(PetscViewerASCIIPrintf(viewer, "Common.grow2 %u\n", (unsigned)c->grow2)); in MatView_Info_CHOLMOD()
316 PetscCall(PetscViewerASCIIPrintf(viewer, "Common.maxrank %u\n", (unsigned)c->maxrank)); in MatView_Info_CHOLMOD()
317 PetscCall(PetscViewerASCIIPrintf(viewer, "Common.supernodal_switch %g\n", c->supernodal_switch)); in MatView_Info_CHOLMOD()
318 PetscCall(PetscViewerASCIIPrintf(viewer, "Common.supernodal %d\n", c->supernodal)); in MatView_Info_CHOLMOD()
319 PetscCall(PetscViewerASCIIPrintf(viewer, "Common.final_asis %d\n", c->final_asis)); in MatView_Info_CHOLMOD()
[all …]
/petsc/src/tao/interface/
H A Dtaosolver.c191 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO %s solve converged due to %s iterations %" PetscIn… in TaoSolve()
193 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO solve converged due to %s iterations %" PetscInt_F… in TaoSolve()
197 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO %s solve did not converge due to %s iteration %" P… in TaoSolve()
199 …PetscCall(PetscViewerASCIIPrintf(viewer, " TAO solve did not converge due to %s iteration %" Pets… in TaoSolve()
645 …PetscCall(PetscViewerASCIIPrintf(viewer, "total KSP iterations: %" PetscInt_FMT "\n", tao->ksp_tot… in TaoView()
648 …if (tao->XL || tao->XU) PetscCall(PetscViewerASCIIPrintf(viewer, "Active Set subset type: %s\n", T… in TaoView()
650 …PetscCall(PetscViewerASCIIPrintf(viewer, "convergence tolerances: gatol=%g,", (double)tao->gatol)); in TaoView()
651 PetscCall(PetscViewerASCIIPrintf(viewer, " grtol=%g,", (double)tao->grtol)); in TaoView()
652 PetscCall(PetscViewerASCIIPrintf(viewer, " steptol=%g,", (double)tao->steptol)); in TaoView()
653 PetscCall(PetscViewerASCIIPrintf(viewer, " gttol=%g\n", (double)tao->gttol)); in TaoView()
[all …]
/petsc/src/sys/objects/device/impls/cupm/
H A Dcupmdevice.cxx130 PetscCall(PetscViewerASCIIPrintf(sviewer, "[%d] name: %s\n", rank, dprop_.name)); in view()
132 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Compute capability: %d.%d\n", dprop_.major, dprop_.mino… in view()
133 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Multiprocessor Count: %d\n", dprop_.multiProcessorCount… in view()
134 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Maximum Grid Dimensions: %d x %d x %d\n", dprop_.maxGri… in view()
135 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Maximum Block Dimensions: %d x %d x %d\n", dprop_.maxTh… in view()
136 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Maximum Threads Per Block: %d\n", dprop_.maxThreadsPerB… in view()
137 PetscCall(PetscViewerASCIIPrintf(sviewer, "Warp Size: %d\n", dprop_.warpSize)); in view()
138 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Total Global Memory (bytes): %zu\n", dprop_.totalGlobal… in view()
139 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Total Constant Memory (bytes): %zu\n", dprop_.totalCons… in view()
140 …PetscCall(PetscViewerASCIIPrintf(sviewer, "Shared Memory Per Block (bytes): %zu\n", dprop_.sharedM… in view()
[all …]
/petsc/src/ksp/pc/impls/hypre/
H A Dhypre.c729 PetscCall(PetscViewerASCIIPrintf(viewer, " HYPRE Pilut preconditioning\n")); in PCView_HYPRE_Pilut()
731 …PetscCall(PetscViewerASCIIPrintf(viewer, " maximum number of iterations %" PetscInt_FMT "\n", j… in PCView_HYPRE_Pilut()
733 PetscCall(PetscViewerASCIIPrintf(viewer, " default maximum number of iterations \n")); in PCView_HYPRE_Pilut()
736 PetscCall(PetscViewerASCIIPrintf(viewer, " drop tolerance %g\n", (double)jac->tol)); in PCView_HYPRE_Pilut()
738 PetscCall(PetscViewerASCIIPrintf(viewer, " default drop tolerance \n")); in PCView_HYPRE_Pilut()
741 …PetscCall(PetscViewerASCIIPrintf(viewer, " factor row size %" PetscInt_FMT "\n", jac->factorrow… in PCView_HYPRE_Pilut()
743 PetscCall(PetscViewerASCIIPrintf(viewer, " default factor row size \n")); in PCView_HYPRE_Pilut()
851 PetscCall(PetscViewerASCIIPrintf(viewer, " HYPRE ILU preconditioning\n")); in PCView_HYPRE_ILU()
853 …PetscCall(PetscViewerASCIIPrintf(viewer, " ILU type %s (%" PetscInt_FMT ")\n", HYP… in PCView_HYPRE_ILU()
855 … PetscCall(PetscViewerASCIIPrintf(viewer, " ILU level %" PetscInt_FMT "\n", indx)); in PCView_HYPRE_ILU()
[all …]
/petsc/src/vec/is/sf/tutorials/
H A Dex1.c189 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Bcast Rootdata\n")); in main()
191 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Bcast Leafdata\n")); in main()
210 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Bcast Rootdata in type of char\n")… in main()
221 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Bcast Leafdata in type of char\n")… in main()
245 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Pre-BcastAndOp Leafdata\n")); in main()
250 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## BcastAndOp Rootdata\n")); in main()
252 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## BcastAndOp Leafdata\n")); in main()
266 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Pre-Reduce Rootdata\n")); in main()
272 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Reduce Leafdata\n")); in main()
274 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "## Reduce Rootdata\n")); in main()
[all …]
/petsc/src/dm/impls/da/
H A Dgrglvis.c373 PetscCall(PetscViewerASCIIPrintf(viewer, "MFEM mesh v1.0\n")); in DMDAView_GLVis_ASCII()
374 PetscCall(PetscViewerASCIIPrintf(viewer, "\ndimension\n")); in DMDAView_GLVis_ASCII()
375 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT "\n", dim)); in DMDAView_GLVis_ASCII()
378 PetscCall(PetscViewerASCIIPrintf(viewer, "\nelements\n")); in DMDAView_GLVis_ASCII()
379 PetscCall(PetscViewerASCIIPrintf(viewer, "0\n")); in DMDAView_GLVis_ASCII()
380 PetscCall(PetscViewerASCIIPrintf(viewer, "\nboundary\n")); in DMDAView_GLVis_ASCII()
381 PetscCall(PetscViewerASCIIPrintf(viewer, "0\n")); in DMDAView_GLVis_ASCII()
382 PetscCall(PetscViewerASCIIPrintf(viewer, "\nvertices\n")); in DMDAView_GLVis_ASCII()
383 PetscCall(PetscViewerASCIIPrintf(viewer, "0\n")); in DMDAView_GLVis_ASCII()
384 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT "\n", sdim)); in DMDAView_GLVis_ASCII()
[all …]
/petsc/src/dm/tests/
H A Dex16.c61 PetscCall(PetscViewerASCIIPrintf(sviewer, "[%d] My part of redundant1 vector\n", rank)); in main()
65 PetscCall(PetscViewerASCIIPrintf(sviewer, "[%d] My part of da1 vector\n", rank)); in main()
69 PetscCall(PetscViewerASCIIPrintf(sviewer, "[%d] My part of redundant2 vector\n", rank)); in main()
73 PetscCall(PetscViewerASCIIPrintf(sviewer, "[%d] My part of da2 vector\n", rank)); in main()
91 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of redundant1… in main()
93 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of local1 vec… in main()
95 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of redundant2… in main()
97 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of local2 vec… in main()
H A Dex9.c27 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of dmred\n")); in main()
36 PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of da\n")); in main()
48 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of dmred vect… in main()
50 …PetscCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Local to global mapping of da vector\… in main()
/petsc/src/ksp/pc/impls/parms/
H A Dparms.c205 PetscCall(PetscViewerASCIIPrintf(viewer, " global preconditioner: %s\n", str)); in PCView_PARMS()
207 PetscCall(PetscViewerASCIIPrintf(viewer, " local preconditioner: %s\n", str)); in PCView_PARMS()
209 …PetscCall(PetscViewerASCIIPrintf(viewer, " non-zero elements/original non-zero entries: %-4.2f\n"… in PCView_PARMS()
210 PetscCall(PetscViewerASCIIPrintf(viewer, " Tolerance for local solve: %g\n", parms->solvetol)); in PCView_PARMS()
211 PetscCall(PetscViewerASCIIPrintf(viewer, " Number of levels: %d\n", parms->levels)); in PCView_PARMS()
212 …if (parms->nonsymperm) PetscCall(PetscViewerASCIIPrintf(viewer, " Using nonsymmetric permutation\… in PCView_PARMS()
213 PetscCall(PetscViewerASCIIPrintf(viewer, " Block size: %d\n", parms->blocksize)); in PCView_PARMS()
214 …PetscCall(PetscViewerASCIIPrintf(viewer, " Tolerance for independent sets: %g\n", parms->indtol)); in PCView_PARMS()
215 PetscCall(PetscViewerASCIIPrintf(viewer, " Inner Krylov dimension: %d\n", parms->maxdim)); in PCView_PARMS()
216 …PetscCall(PetscViewerASCIIPrintf(viewer, " Maximum number of inner iterations: %d\n", parms->maxi… in PCView_PARMS()
[all …]
/petsc/src/dm/label/tutorials/
H A Dex1f90.F9042 PetscCall(PetscViewerASCIIPrintf(viewer, IObuffer, ierr))
46 PetscCall(PetscViewerASCIIPrintf(viewer, IObuffer, ierr))
48 PetscCall(PetscViewerASCIIPrintf(viewer, 'IS of values\n', ierr))
55 PetscCall(PetscViewerASCIIPrintf(viewer, '\n', ierr))
58 PetscCall(PetscViewerASCIIPrintf(viewer, '\n\nCell Set label IS\n', ierr))
/petsc/src/snes/linesearch/impls/bt/
H A Dlinesearchbt.c99 … PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: Initial direction and size is 0\n")); in SNESLineSearchApply_BT()
157 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: objective function at lambdas = %g is … in SNESLineSearchApply_BT()
169 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: Using full step: fnorm %14.12e gnorm %… in SNESLineSearchApply_BT()
171 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: Using full step: old obj %14.12e new o… in SNESLineSearchApply_BT()
182 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: Ended due to ynorm < stol*xnorm (%14.1… in SNESLineSearchApply_BT()
225 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: gnorm after quadratic fit %14.12e\n", … in SNESLineSearchApply_BT()
227 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: obj after quadratic fit %14.12e\n", (d… in SNESLineSearchApply_BT()
235 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: Quadratically determined step, lambda=… in SNESLineSearchApply_BT()
243 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: unable to find good step length! After… in SNESLineSearchApply_BT()
245 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: fnorm=%18.16e, gnorm=%18.16e, ynorm=%1… in SNESLineSearchApply_BT()
[all …]
/petsc/src/ksp/pc/impls/factor/
H A Dfactimpl.c269 PetscCall(PetscViewerASCIIPrintf(viewer, " in-place factorization\n")); in PCView_Factor()
271 PetscCall(PetscViewerASCIIPrintf(viewer, " out-of-place factorization\n")); in PCView_Factor()
274 …if (factor->reusefill) PetscCall(PetscViewerASCIIPrintf(viewer, " Reusing fill from past factoriz… in PCView_Factor()
275 …if (factor->reuseordering) PetscCall(PetscViewerASCIIPrintf(viewer, " Reusing reordering from pas… in PCView_Factor()
278 PetscCall(PetscViewerASCIIPrintf(viewer, " drop tolerance %g\n", (double)factor->info.dt)); in PCView_Factor()
279 …PetscCall(PetscViewerASCIIPrintf(viewer, " max nonzeros per row %" PetscInt_FMT "\n", (PetscInt)f… in PCView_Factor()
280 …PetscCall(PetscViewerASCIIPrintf(viewer, " column permutation tolerance %g\n", (double)factor->in… in PCView_Factor()
282 …PetscCall(PetscViewerASCIIPrintf(viewer, " %" PetscInt_FMT " level of fill\n", (PetscInt)factor->… in PCView_Factor()
284 …PetscCall(PetscViewerASCIIPrintf(viewer, " %" PetscInt_FMT " levels of fill\n", (PetscInt)factor-… in PCView_Factor()
288 …PetscCall(PetscViewerASCIIPrintf(viewer, " tolerance for zero pivot %g\n", (double)factor->info.z… in PCView_Factor()
[all …]
/petsc/src/snes/linesearch/impls/secant/
H A Dlinesearchsecant.c86 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: objective function at lambda = %g is i… in SNESLineSearchApply_Secant()
94 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: objective function at lambda = %g <= l… in SNESLineSearchApply_Secant()
113 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: lambdas = [%g, %g, %g], fnorms = [%g, … in SNESLineSearchApply_Secant()
115 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: lambdas = [%g, %g, %g], obj = [%g, %g,… in SNESLineSearchApply_Secant()
127 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: abs(delLambda) = %g < ltol = %g\n", (d… in SNESLineSearchApply_Secant()
144 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: abs(delFnrm) = %g <= atol = %g\n", (do… in SNESLineSearchApply_Secant()
156 PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: del2Fnrm = 0\n")); in SNESLineSearchApply_Secant()
173 … PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: lambda_update is NaN or Inf\n")); in SNESLineSearchApply_Secant()
188 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: reached maximum number of iterations!\… in SNESLineSearchApply_Secant()
212 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search terminated: lambda = %g, fnorm = %g\n",… in SNESLineSearchApply_Secant()
/petsc/src/sys/objects/
H A Dpname.c66 if (format == PETSC_VIEWER_ASCII_MATLAB) PetscCall(PetscViewerASCIIPrintf(viewer, "%%")); in PetscObjectPrintClassNamePrefixType()
68 …PetscCall(PetscViewerASCIIPrintf(viewer, "%s Object:%s%s%s%s%s %d MPI process%s\n", obj->class_nam… in PetscObjectPrintClassNamePrefixType()
69 if (format == PETSC_VIEWER_ASCII_MATLAB) PetscCall(PetscViewerASCIIPrintf(viewer, "%%")); in PetscObjectPrintClassNamePrefixType()
71 PetscCall(PetscViewerASCIIPrintf(viewer, " type: %s\n", obj->type_name)); in PetscObjectPrintClassNamePrefixType()
73 PetscCall(PetscViewerASCIIPrintf(viewer, " type not yet set\n")); in PetscObjectPrintClassNamePrefixType()
/petsc/src/dm/impls/plex/
H A Dplexglvis.c617 PetscCall(PetscViewerASCIIPrintf(viewer, "MFEM mesh %s\n", enable_ncmesh ? "v1.1" : "v1.0")); in DMPlexView_GLVis_ASCII()
618 PetscCall(PetscViewerASCIIPrintf(viewer, "\ndimension\n")); in DMPlexView_GLVis_ASCII()
619 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT "\n", dim)); in DMPlexView_GLVis_ASCII()
620 PetscCall(PetscViewerASCIIPrintf(viewer, "\nelements\n")); in DMPlexView_GLVis_ASCII()
621 PetscCall(PetscViewerASCIIPrintf(viewer, "0\n")); in DMPlexView_GLVis_ASCII()
622 PetscCall(PetscViewerASCIIPrintf(viewer, "\nboundary\n")); in DMPlexView_GLVis_ASCII()
623 PetscCall(PetscViewerASCIIPrintf(viewer, "0\n")); in DMPlexView_GLVis_ASCII()
624 PetscCall(PetscViewerASCIIPrintf(viewer, "\nvertices\n")); in DMPlexView_GLVis_ASCII()
625 PetscCall(PetscViewerASCIIPrintf(viewer, "0\n")); in DMPlexView_GLVis_ASCII()
626 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT "\n", sdim)); in DMPlexView_GLVis_ASCII()
[all …]
/petsc/src/dm/dt/tests/
H A Dex7.c60 PetscCall(PetscViewerASCIIPrintf(viewer, "L:\n")); in CheckPullback()
65 PetscCall(PetscViewerASCIIPrintf(viewer, "L*:\n")); in CheckPullback()
70 PetscCall(PetscViewerASCIIPrintf(viewer, "L*w:\n")); in CheckPullback()
106 if (verbose) PetscCall(PetscViewerASCIIPrintf(viewer, "N = %" PetscInt_FMT ":\n", N)); in main()
116 PetscCall(PetscViewerASCIIPrintf(viewer, "Permutations of %" PetscInt_FMT ":\n", N)); in main()
123 PetscCall(PetscViewerASCIIPrintf(viewer, "%" PetscInt_FMT ":", k)); in main()
138 if (verbose) PetscCall(PetscViewerASCIIPrintf(viewer, "k = %" PetscInt_FMT ":\n", k)); in main()
140 …if (verbose) PetscCall(PetscViewerASCIIPrintf(viewer, "(%" PetscInt_FMT " choose %" PetscInt_FMT "… in main()
155 PetscCall(PetscViewerASCIIPrintf(viewer, "subset %" PetscInt_FMT ":", j)); in main()
177 PetscCall(PetscViewerASCIIPrintf(viewer, "w:\n")); in main()
[all …]
/petsc/src/snes/linesearch/impls/nleqerr/
H A Dlinesearchnleqerr.c75 … PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: Initial direction and size is 0\n")); in SNESLineSearchApply_NLEQERR()
93 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: norm of Newton step: %14.12e\n", (doub… in SNESLineSearchApply_NLEQERR()
108 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: Lipschitz estimate: %14.12e; lambda: %… in SNESLineSearchApply_NLEQERR()
122 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: entering iteration with lambda: %14.12… in SNESLineSearchApply_NLEQERR()
131 PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: maximum iterations reached\n")); in SNESLineSearchApply_NLEQERR()
143 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: lambda has reached minlambda, taking f… in SNESLineSearchApply_NLEQERR()
177 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: norm of simplified Newton update: %14.… in SNESLineSearchApply_NLEQERR()
195 …PetscCall(PetscViewerASCIIPrintf(monitor, " Line search: monotonicity check failed, ratio: %14.… in SNESLineSearchApply_NLEQERR()
267 PetscCall(PetscViewerASCIIPrintf(viewer, " NLEQ-ERR affine-covariant linesearch")); in SNESLineSearchView_NLEQERR()
268 …PetscCall(PetscViewerASCIIPrintf(viewer, " current local Lipschitz estimate omega=%e\n", (double)… in SNESLineSearchView_NLEQERR()
/petsc/src/vec/vec/utils/tagger/impls/
H A Dsimple.c63 PetscCall(PetscViewerASCIIPrintf(viewer, " %s box=[", name)); in VecTaggerView_Simple()
65 if (i) PetscCall(PetscViewerASCIIPrintf(viewer, "; ")); in VecTaggerView_Simple()
67 …PetscCall(PetscViewerASCIIPrintf(viewer, "%g,%g", (double)smpl->box[i].min, (double)smpl->box[i].m… in VecTaggerView_Simple()
71 …PetscCall(PetscViewerASCIIPrintf(viewer, "%g,%g", (double)PetscRealPart(smpl->box[i].min), (double… in VecTaggerView_Simple()
73 …PetscCall(PetscViewerASCIIPrintf(viewer, "%g+%gi,%g+%gi", (double)PetscRealPart(smpl->box[i].min),… in VecTaggerView_Simple()
77 PetscCall(PetscViewerASCIIPrintf(viewer, "]\n")); in VecTaggerView_Simple()
/petsc/src/vec/vec/impls/mpi/
H A Dpdvec.c74 …PetscCall(PetscViewerASCIIPrintf(viewer, " Load Balance - Local vector size Min %" PetscInt_FMT "… in VecView_MPI_ASCII()
92 PetscCall(PetscViewerASCIIPrintf(viewer, "%s = [\n", name)); in VecView_MPI_ASCII()
96 …PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e + %18.16ei\n", (double)PetscRealPart(xarray[i]),… in VecView_MPI_ASCII()
98 …PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e - %18.16ei\n", (double)PetscRealPart(xarray[i]),… in VecView_MPI_ASCII()
100 PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e\n", (double)PetscRealPart(xarray[i]))); in VecView_MPI_ASCII()
103 PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e\n", (double)xarray[i])); in VecView_MPI_ASCII()
113 …PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e + %18.16ei\n", (double)PetscRealPart(values[i]),… in VecView_MPI_ASCII()
115 …PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e - %18.16ei\n", (double)PetscRealPart(values[i]),… in VecView_MPI_ASCII()
117 … PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e\n", (double)PetscRealPart(values[i]))); in VecView_MPI_ASCII()
120 PetscCall(PetscViewerASCIIPrintf(viewer, "%18.16e\n", (double)values[i])); in VecView_MPI_ASCII()
[all …]
/petsc/src/ts/impls/implicit/sundials/
H A Dsundials.c429 PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS integrator does not use SNES!\n")); in TSView_Sundials()
430 PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS integrator type %s\n", type)); in TSView_Sundials()
431 PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS maxord %" PetscInt_FMT "\n", cvode->maxord)); in TSView_Sundials()
432 …PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS abs tol %g rel tol %g\n", (double)cvode->abstol… in TSView_Sundials()
434 PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS integrator using a dense linear solve\n")); in TSView_Sundials()
436 …PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS linear solver tolerance factor %g\n", (double)c… in TSView_Sundials()
437 …PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS max dimension of Krylov subspace %" PetscInt_FM… in TSView_Sundials()
439 …PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS using modified Gram-Schmidt for orthogonalizati… in TSView_Sundials()
441 …PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS using unmodified (classical) Gram-Schmidt for o… in TSView_Sundials()
444 …if (cvode->mindt > 0) PetscCall(PetscViewerASCIIPrintf(viewer, "SUNDIALS minimum time step %g\n", … in TSView_Sundials()
[all …]

12345678910>>...16