| /petsc/src/snes/tutorials/ |
| H A D | ex73f90t.F90 | 101 type(ex73f90tmodule_type), pointer:: solver 109 PetscCall(SNESGetApplicationContext(mysnes, solver, ierr)) 110 … PetscCall(DMCompositeGetAccessArray(solver%da, Xnest, itwo, PETSC_NULL_INTEGER_ARRAY, Xsub, ierr)) 112 PetscCall(InitialGuessLocal(solver, Xsub(1), ierr)) 118 …PetscCall(DMCompositeRestoreAccessArray(solver%da, Xnest, itwo, PETSC_NULL_INTEGER_ARRAY, Xsub, ie… 137 subroutine InitialGuessLocal(solver, X1, ierr) argument 139 type(ex73f90tmodule_type) solver local 152 hx = one/(solver%mx - 1) 153 hy = one/(solver%my - 1) 154 temp1 = solver%lambda/(solver%lambda + one) + one [all …]
|
| /petsc/share/petsc/saws/js/ |
| H A D | defaults.js | 5 function getDefaults(solver,symm,posdef,logstruc,child_symm,child_posdef,child_logstruc) { argument 9 …if(solver == "") { //case 1: user did not override default solver. we simply return the default pc… 33 else if(solver == "mg") { 44 else if(solver == "gamg") { 55 else if(solver == "fieldsplit") { 66 else if(solver == "bjacobi") { 80 else if(solver == "asm") { 95 else if(solver == "redundant") { 109 else if(solver == "ksp") { //note: this is for pc_type = ksp
|
| /petsc/src/ksp/pc/tutorials/ |
| H A D | ex1.c | 22 KSP solver; in main() local 75 PetscCall(KSPCreate(comm, &solver)); in main() 76 PetscCall(KSPSetOperators(solver, A, A)); in main() 78 PetscCall(KSPSetType(solver, KSPCG)); in main() 79 PetscCall(KSPSetInitialGuessNonzero(solver, PETSC_TRUE)); in main() 85 PetscCall(KSPGetPC(solver, &prec)); in main() 89 PetscCall(KSPSetFromOptions(solver)); in main() 90 PetscCall(KSPSetUp(solver)); in main() 106 PetscCall(KSPSolve(solver, B, X)); in main() 107 PetscCall(KSPGetConvergedReason(solver, &reason)); in main() [all …]
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex61.c | 7 KSP solver; in main() local 63 PetscCall(KSPCreate(MPI_COMM_SELF, &solver)); in main() 64 PetscCall(KSPSetType(solver, KSPPREONLY)); in main() 65 PetscCall(KSPGetPC(solver, &pc)); in main() 67 PetscCall(KSPSetOperators(solver, A, A)); in main() 68 PetscCall(KSPSolve(solver, X, Y)); in main() 69 PetscCall(KSPSetOperators(solver, B, B)); in main() 70 PetscCall(KSPSolve(solver, X, Z)); in main() 85 PetscCall(KSPDestroy(&solver)); in main()
|
| /petsc/src/snes/tutorials/network/ |
| H A D | ex1options | 1 # SNES (nonlinear solver) options 17 # KSP (linear solver) options 29 # SNES (nonlinear solver) options 45 # KSP (linear solver) options 54 # SNES (nonlinear solver) options 70 # KSP (linear solver) options
|
| /petsc/share/petsc/saws/ |
| H A D | documentation | 14 …nd Options, toggles the display of the generated command line options for the current solver setup. 16 The second option, Tree, toggles the display of the solver tree. 18 The tree diagram shows the structure of the solver. A horizontal split indicates multigrid levels. … 20 …solver and matrix properties can be made by clicking on a node and selecting the new matrix proper… 24 Towards the bottom of the page, we provide another way for the user to customize the solver: a hier… 26 …ks for the characteristics of the entire matrix and the root solver options. The root solver optio… 28 …vel in the solver (sub-solvers). Users should input matrix properties first to see what the sugges… 55 …solver options and matrix properties are stored using an object called "matInfo" since using a tre…
|
| /petsc/src/snes/tutorials/output/ |
| H A D | ex12_p4est_full_q2_conformal_serial_plex.out | 18 Coarse grid solver -- level 0 ------------------------------- 23 total number of linear solver iterations=5 45 Down solver (pre-smoother) on level 1 ------------------------------- 50 total number of linear solver iterations=15 75 Up solver (post-smoother) same as down solver (pre-smoother) 76 Down solver (pre-smoother) on level 2 ------------------------------- 81 total number of linear solver iterations=30 106 Up solver (post-smoother) same as down solver (pre-smoother) 109 total number of linear solver iterations=0
|
| H A D | ex12_p4est_full_q2_conformal_serial.out | 18 Coarse grid solver -- level 0 ------------------------------- 23 total number of linear solver iterations=5 45 Down solver (pre-smoother) on level 1 ------------------------------- 50 total number of linear solver iterations=15 75 Up solver (post-smoother) same as down solver (pre-smoother) 76 Down solver (pre-smoother) on level 2 ------------------------------- 81 total number of linear solver iterations=30 106 Up solver (post-smoother) same as down solver (pre-smoother) 109 total number of linear solver iterations=0
|
| H A D | ex12_p4est_exact_q2_nonconformal_serial.out | 19 Coarse grid solver -- level 0 ------------------------------- 24 total number of linear solver iterations=1 47 Down solver (pre-smoother) on level 1 ------------------------------- 52 total number of linear solver iterations=1 77 Up solver (post-smoother) same as down solver (pre-smoother) 78 Down solver (pre-smoother) on level 2 ------------------------------- 83 total number of linear solver iterations=1 108 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_exact_q2_conformal_serial.out | 19 Coarse grid solver -- level 0 ------------------------------- 24 total number of linear solver iterations=1 47 Down solver (pre-smoother) on level 1 ------------------------------- 52 total number of linear solver iterations=1 77 Up solver (post-smoother) same as down solver (pre-smoother) 78 Down solver (pre-smoother) on level 2 ------------------------------- 83 total number of linear solver iterations=1 108 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_exact_q2_nonconformal_parallel_parmetis.out | 19 Coarse grid solver -- level 0 ------------------------------- 24 total number of linear solver iterations=1 47 Down solver (pre-smoother) on level 1 ------------------------------- 52 total number of linear solver iterations=1 77 Up solver (post-smoother) same as down solver (pre-smoother) 78 Down solver (pre-smoother) on level 2 ------------------------------- 83 total number of linear solver iterations=1 108 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_exact_q2_conformal_parallel_parmetis.out | 20 Coarse grid solver -- level 0 ------------------------------- 25 total number of linear solver iterations=1 48 Down solver (pre-smoother) on level 1 ------------------------------- 53 total number of linear solver iterations=1 76 Up solver (post-smoother) same as down solver (pre-smoother) 77 Down solver (pre-smoother) on level 2 ------------------------------- 82 total number of linear solver iterations=1 105 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_full_q2_nonconformal_serial.out | 19 Coarse grid solver -- level 0 ------------------------------- 24 total number of linear solver iterations=34 48 Down solver (pre-smoother) on level 1 ------------------------------- 53 total number of linear solver iterations=44 79 Up solver (post-smoother) same as down solver (pre-smoother) 80 Down solver (pre-smoother) on level 2 ------------------------------- 85 total number of linear solver iterations=84 111 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_exact_q2_conformal_parallel.out | 19 Coarse grid solver -- level 0 ------------------------------- 24 total number of linear solver iterations=1 47 Down solver (pre-smoother) on level 1 ------------------------------- 52 total number of linear solver iterations=1 77 Up solver (post-smoother) same as down solver (pre-smoother) 78 Down solver (pre-smoother) on level 2 ------------------------------- 83 total number of linear solver iterations=1 108 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_full_q2_nonconformal_parallel.out | 19 Coarse grid solver -- level 0 ------------------------------- 24 total number of linear solver iterations=34 48 Down solver (pre-smoother) on level 1 ------------------------------- 53 total number of linear solver iterations=44 79 Up solver (post-smoother) same as down solver (pre-smoother) 80 Down solver (pre-smoother) on level 2 ------------------------------- 85 total number of linear solver iterations=84 111 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_exact_q2_nonconformal_parallel.out | 19 Coarse grid solver -- level 0 ------------------------------- 24 total number of linear solver iterations=1 47 Down solver (pre-smoother) on level 1 ------------------------------- 52 total number of linear solver iterations=1 77 Up solver (post-smoother) same as down solver (pre-smoother) 78 Down solver (pre-smoother) on level 2 ------------------------------- 83 total number of linear solver iterations=1 108 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_solve_fas.out | 60 Coarse grid solver -- level 0 ------------------------------- 65 total number of linear solver iterations=36 87 Down solver (pre-smoother) on level 1 ------------------------------- 92 total number of linear solver iterations=235 117 Up solver (post-smoother) same as down solver (pre-smoother) 118 Down solver (pre-smoother) on level 2 ------------------------------- 123 total number of linear solver iterations=413 148 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_p4est_fas_q2_conformal_serial.out | 28 Coarse grid solver -- level 0 ------------------------------- 33 total number of linear solver iterations=12 59 Down solver (pre-smoother) on level 1 ------------------------------- 64 total number of linear solver iterations=1 93 Up solver (post-smoother) same as down solver (pre-smoother) 94 Down solver (pre-smoother) on level 2 ------------------------------- 99 total number of linear solver iterations=1 128 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex19_tut_8.out | 61 total number of linear solver iterations=50 85 Coarse grid solver -- level 0 ------------------------------- 129 Down solver (pre-smoother) on level 1 ------------------------------- 147 Up solver (post-smoother) same as down solver (pre-smoother) 148 Down solver (pre-smoother) on level 2 ------------------------------- 166 Up solver (post-smoother) same as down solver (pre-smoother) 167 Down solver (pre-smoother) on level 3 ------------------------------- 185 Up solver (post-smoother) same as down solver (pre-smoother) 186 Down solver (pre-smoother) on level 4 ------------------------------- 203 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex19_tut_8_alt.out | 61 total number of linear solver iterations=50 85 Coarse grid solver -- level 0 ------------------------------- 129 Down solver (pre-smoother) on level 1 ------------------------------- 147 Up solver (post-smoother) same as down solver (pre-smoother) 148 Down solver (pre-smoother) on level 2 ------------------------------- 166 Up solver (post-smoother) same as down solver (pre-smoother) 167 Down solver (pre-smoother) on level 3 ------------------------------- 185 Up solver (post-smoother) same as down solver (pre-smoother) 186 Down solver (pre-smoother) on level 4 ------------------------------- 203 Up solver (post-smoother) same as down solver (pre-smoother)
|
| H A D | ex12_mg_newton_coarse_0.out | 13 total number of linear solver iterations=3 35 Coarse grid solver -- level 0 ------------------------------- 63 Down solver (pre-smoother) on level 1 ------------------------------- 93 Up solver (post-smoother) same as down solver (pre-smoother) 94 Down solver (pre-smoother) on level 2 ------------------------------- 124 Up solver (post-smoother) same as down solver (pre-smoother) 125 Down solver (pre-smoother) on level 3 ------------------------------- 155 Up solver (post-smoother) same as down solver (pre-smoother)
|
| /petsc/doc/tutorials/ |
| H A D | handson.md | 45 view the solver options used 57 - Run with a 1025x1025 grid using multigrid solver on 4 96 default solver options 141 - Changing the default linear solver 159 monitor the convergence of the nonlinear and linear solver and 160 examine the exact solver used 173 linear solver 186 solver 189 BoomerAMG) as the linear solver 202 solver but requires more linear solver iterations than [all …]
|
| /petsc/src/ksp/ksp/tutorials/output/ |
| H A D | ex56_latebs.out | 46 Using parallel coarse grid solver (all coarse grid equations not put on one process) 62 Coarse grid solver -- level 0 ------------------------------- 80 Down solver (pre-smoother) on level 1 ------------------------------- 109 Up solver (post-smoother) same as down solver (pre-smoother) 110 Down solver (pre-smoother) on level 2 ------------------------------- 139 Up solver (post-smoother) same as down solver (pre-smoother) 140 Down solver (pre-smoother) on level 3 ------------------------------- 158 Up solver (post-smoother) same as down solver (pre-smoother) 211 Using parallel coarse grid solver (all coarse grid equations not put on one process) 227 Coarse grid solver -- level 0 ------------------------------- [all …]
|
| H A D | ex66_1.out | 16 Coarse grid solver -- level 0 ------------------------------- 35 Down solver (pre-smoother) on level 1 ------------------------------- 66 Up solver (post-smoother) same as down solver (pre-smoother) 67 Down solver (pre-smoother) on level 2 ------------------------------- 98 Up solver (post-smoother) same as down solver (pre-smoother) 99 Down solver (pre-smoother) on level 3 ------------------------------- 130 Up solver (post-smoother) same as down solver (pre-smoother)
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Regressor.pyx | 2 """REGRESSOR solver type. 25 """Regression solver. 43 """View the solver. 62 """Create a REGRESSOR solver. 94 """Configure the solver from the options database. 105 """Set up the internal data structures for using the solver. 169 """Destroy internal data structures of the solver. 181 """Destroy the solver. 194 """Set the type of the solver. 201 The type of the solver. [all …]
|