Home
last modified time | relevance | path

Searched full:coarse (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/petsc/src/ksp/ksp/tests/
H A Dex19.c38 GridCtx coarse; member
41 Mat Ii; /* interpolation from coarse to fine */
50 Mm_ratio - ration of grid lines between fine and coarse grids.
64 user.coarse.mx = 5; in main()
65 user.coarse.my = 5; in main()
67 PetscCall(PetscOptionsGetInt(NULL, NULL, "-Mx", &user.coarse.mx, NULL)); in main()
68 PetscCall(PetscOptionsGetInt(NULL, NULL, "-My", &user.coarse.my, NULL)); in main()
71 user.fine.mx = user.ratio * (user.coarse.mx - 1) + 1; in main()
72 user.fine.my = user.ratio * (user.coarse.my - 1) + 1; in main()
74 …l(PetscPrintf(PETSC_COMM_WORLD, "Coarse grid size %" PetscInt_FMT " by %" PetscInt_FMT "\n", user. in main()
[all …]
/petsc/src/mat/tests/
H A Dex111.c2 -Mx <xg>, where <xg> = number of coarse grid points in the x-direction\n\
3 -My <yg>, where <yg> = number of coarse grid points in the y-direction\n\
4 -Mz <zg>, where <zg> = number of coarse grid points in the z-direction\n\
26 GridCtx coarse; member
28 Mat Ii; /* interpolation from coarse to fine */
35 Mm_ratio - ration of grid lines between fine and coarse grids.
55 /* Get size of fine grids and coarse grids */ in main()
57 user.coarse.mx = 4; in main()
58 user.coarse.my = 4; in main()
59 user.coarse.mz = 4; in main()
[all …]
H A Dex96.c2 -Mx <xg>, where <xg> = number of coarse grid points in the x-direction\n\
3 -My <yg>, where <yg> = number of coarse grid points in the y-direction\n\
4 -Mz <zg>, where <zg> = number of coarse grid points in the z-direction\n\
27 GridCtx coarse; member
29 Mat Ii; /* interpolation from coarse to fine */
36 Mm_ratio - ration of grid lines between fine and coarse grids.
59 user.coarse.mx = 20; in main()
60 user.coarse.my = 20; in main()
61 user.coarse.mz = 20; in main()
63 PetscCall(PetscOptionsGetInt(NULL, NULL, "-Mx", &user.coarse.mx, NULL)); in main()
[all …]
/petsc/src/ksp/ksp/tutorials/output/
H A Dex73_mg_3lv_2mg_customcommsize.out6 User supplied state scatter (fine [size 12]-> coarse [size 2])
10 User supplied state scatter (fine [size 2]-> coarse [size 1])
13 User supplied state scatter (fine [size 12]-> coarse [size 2])
14 User supplied state scatter (fine [size 2]-> coarse [size 1])
16 User supplied state scatter (fine [size 12]-> coarse [size 2])
17 User supplied state scatter (fine [size 2]-> coarse [size 1])
19 User supplied state scatter (fine [size 12]-> coarse [size 2])
20 User supplied state scatter (fine [size 2]-> coarse [size 1])
22 User supplied state scatter (fine [size 12]-> coarse [size 2])
23 User supplied state scatter (fine [size 2]-> coarse [size 1])
[all …]
H A Dex73_mg_3lv_2mg.out6 User supplied state scatter (fine [size 4]-> coarse [size 2])
10 User supplied state scatter (fine [size 2]-> coarse [size 1])
13 User supplied state scatter (fine [size 4]-> coarse [size 2])
14 User supplied state scatter (fine [size 2]-> coarse [size 1])
16 User supplied state scatter (fine [size 4]-> coarse [size 2])
17 User supplied state scatter (fine [size 2]-> coarse [size 1])
19 User supplied state scatter (fine [size 4]-> coarse [size 2])
20 User supplied state scatter (fine [size 2]-> coarse [size 1])
22 User supplied state scatter (fine [size 4]-> coarse [size 2])
23 User supplied state scatter (fine [size 2]-> coarse [size 1])
[all …]
H A Dex73_mg_2lv_2mg_alt.out6 User supplied state scatter (fine [size 6]-> coarse [size 1])
11 User supplied state scatter (fine [size 6]-> coarse [size 1])
13 User supplied state scatter (fine [size 6]-> coarse [size 1])
15 User supplied state scatter (fine [size 6]-> coarse [size 1])
17 User supplied state scatter (fine [size 6]-> coarse [size 1])
19 User supplied state scatter (fine [size 6]-> coarse [size 1])
21 User supplied state scatter (fine [size 6]-> coarse [size 1])
H A Dex73_mg_2lv_2mg.out6 User supplied state scatter (fine [size 6]-> coarse [size 1])
11 User supplied state scatter (fine [size 6]-> coarse [size 1])
13 User supplied state scatter (fine [size 6]-> coarse [size 1])
15 User supplied state scatter (fine [size 6]-> coarse [size 1])
17 User supplied state scatter (fine [size 6]-> coarse [size 1])
19 User supplied state scatter (fine [size 6]-> coarse [size 1])
H A Dex71_bddc_elast_4lev.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 2160 interface 648 coarse 159
49 Coarsening ratios: all/coarse 13 interface/coarse 4
112 --- Coarse solver
142 Use estimated eigs for coarse problem: 0
154 Num. Procs. to map coarse adjacency list: 0
155 Coarse eqs per proc (significant at the coarsest level): 1
161 Global dofs sizes: all 159 interface 123 coarse 31
[all …]
H A Dex71_bddc_elast_3lev.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 2160 interface 648 coarse 159
49 Coarsening ratios: all/coarse 13 interface/coarse 4
112 --- Coarse solver
142 Use estimated eigs for coarse problem: 0
154 Num. Procs. to map coarse adjacency list: 0
155 Coarse eqs per proc (significant at the coarsest level): 1
161 Global dofs sizes: all 159 interface 159 coarse 63
[all …]
H A Dex71_bddc_elast_3lev_alt.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 2160 interface 648 coarse 159
49 Coarsening ratios: all/coarse 13 interface/coarse 4
112 --- Coarse solver
142 Use estimated eigs for coarse problem: 0
154 Num. Procs. to map coarse adjacency list: 0
155 Coarse eqs per proc (significant at the coarsest level): 1
161 Global dofs sizes: all 159 interface 159 coarse 63
[all …]
H A Dex59_bddc_fetidp_ml_2.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 342 interface 36 coarse 9
49 Coarsening ratios: all/coarse 38 interface/coarse 4
110 --- Coarse solver
140 Use estimated eigs for coarse problem: 0
152 Num. Procs. to map coarse adjacency list: 0
153 Coarse eqs per proc (significant at the coarsest level): 1
159 Global dofs sizes: all 9 interface 5 coarse 2
[all …]
H A Dex59_bddc_fetidp_ml_1.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 342 interface 36 coarse 9
49 Coarsening ratios: all/coarse 38 interface/coarse 4
110 --- Coarse solver
140 Use estimated eigs for coarse problem: 0
152 Num. Procs. to map coarse adjacency list: 0
153 Coarse eqs per proc (significant at the coarsest level): 1
159 Global dofs sizes: all 9 interface 9 coarse 8
[all …]
H A Dex56_latebs-2.out25 Using externally compute Galerkin coarse grid matrices
29 Using parallel coarse grid solver (all coarse grid equations not put on one process)
41 Coarse grid solver -- level 0 -------------------------------
113 Using externally compute Galerkin coarse grid matrices
117 Using parallel coarse grid solver (all coarse grid equations not put on one process)
129 Coarse grid solver -- level 0 -------------------------------
211 Using externally compute Galerkin coarse grid matrices
215 Using parallel coarse grid solver (all coarse grid equations not put on one process)
227 Coarse grid solver -- level 0 -------------------------------
H A Dex71_bddc_cusparse.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 720 interface 216 coarse 25
49 Coarsening ratios: all/coarse 28 interface/coarse 8
112 --- Coarse solver
H A Dex71_bddc_elast_deluxe_layers.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 2160 interface 648 coarse 87
49 Coarsening ratios: all/coarse 24 interface/coarse 7
112 --- Coarse solver
H A Dex71_bddc_2.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 315 interface 123 coarse 25
49 Coarsening ratios: all/coarse 12 interface/coarse 4
112 --- Coarse solver
H A Dex71_bddc_elast.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 2160 interface 648 coarse 87
49 Coarsening ratios: all/coarse 24 interface/coarse 7
112 --- Coarse solver
H A Dex71_bddc_1.out29 Use estimated eigs for coarse problem: 0
41 Num. Procs. to map coarse adjacency list: 0
42 Coarse eqs per proc (significant at the coarsest level): 1
48 Global dofs sizes: all 315 interface 123 coarse 25
49 Coarsening ratios: all/coarse 12 interface/coarse 4
112 --- Coarse solver
/petsc/src/mat/graphops/coarsen/interface/
H A Dcoarsen.c399 + coarse - the coarsen context
412 PetscErrorCode MatCoarsenSetMaximumIterations(MatCoarsen coarse, PetscInt n) in MatCoarsenSetMaximumIterations() argument
415 PetscValidHeaderSpecific(coarse, MAT_COARSEN_CLASSID, 1); in MatCoarsenSetMaximumIterations()
416 PetscValidLogicalCollectiveInt(coarse, n, 2); in MatCoarsenSetMaximumIterations()
417 PetscTryMethod(coarse, "MatCoarsenSetMaximumIterations_C", (MatCoarsen, PetscInt), (coarse, n)); in MatCoarsenSetMaximumIterations()
421 static PetscErrorCode MatCoarsenSetMaximumIterations_MATCOARSEN(MatCoarsen coarse, PetscInt b) in MatCoarsenSetMaximumIterations_MATCOARSEN() argument
424 coarse->max_it = b; in MatCoarsenSetMaximumIterations_MATCOARSEN()
434 + coarse - the coarsen context
448 PetscErrorCode MatCoarsenSetStrengthIndex(MatCoarsen coarse, PetscInt n, PetscInt idx[]) in MatCoarsenSetStrengthIndex() argument
451 PetscValidHeaderSpecific(coarse, MAT_COARSEN_CLASSID, 1); in MatCoarsenSetStrengthIndex()
[all …]
/petsc/src/snes/tutorials/output/
H A Dex12_p4est_full_q2_nonconformal_parallel_bddcfas.out18 Not using Galerkin computed coarse grid function evaluation
19 Coarse grid solver -- level 0 -------------------------------
60 Use estimated eigs for coarse problem: 0
72 Num. Procs. to map coarse adjacency list: 0
73 Coarse eqs per proc (significant at the coarsest level): 1
79 Global dofs sizes: all 213 interface 55 coarse 17
80 Coarsening ratios: all/coarse 12 interface/coarse 3
143 --- Coarse solver
235 Use estimated eigs for coarse problem: 0
247 Num. Procs. to map coarse adjacency list: 0
[all …]
H A Dex12_p4est_full_q2_nonconformal_parallel_bddcfas_alt.out18 Not using Galerkin computed coarse grid function evaluation
19 Coarse grid solver -- level 0 -------------------------------
60 Use estimated eigs for coarse problem: 0
72 Num. Procs. to map coarse adjacency list: 0
73 Coarse eqs per proc (significant at the coarsest level): 1
79 Global dofs sizes: all 213 interface 55 coarse 17
80 Coarsening ratios: all/coarse 12 interface/coarse 3
143 --- Coarse solver
235 Use estimated eigs for coarse problem: 0
247 Num. Procs. to map coarse adjacency list: 0
[all …]
/petsc/src/mat/graphops/coarsen/impls/mis/
H A Dmis.c256 static PetscErrorCode MatCoarsenApply_MIS(MatCoarsen coarse) in MatCoarsenApply_MIS() argument
258 Mat mat = coarse->graph; in MatCoarsenApply_MIS()
261 if (!coarse->perm) { in MatCoarsenApply_MIS()
269 PetscCall(MatCoarsenApply_MIS_private(perm, mat, coarse->strict_aggs, &coarse->agg_lists)); in MatCoarsenApply_MIS()
272 …PetscCall(MatCoarsenApply_MIS_private(coarse->perm, mat, coarse->strict_aggs, &coarse->agg_lists)); in MatCoarsenApply_MIS()
277 static PetscErrorCode MatCoarsenView_MIS(MatCoarsen coarse, PetscViewer viewer) in MatCoarsenView_MIS() argument
284 PetscCallMPI(MPI_Comm_rank(PetscObjectComm((PetscObject)coarse), &rank)); in MatCoarsenView_MIS()
288 if (coarse->agg_lists) { in MatCoarsenView_MIS()
293 for (PetscInt kk = 0; kk < coarse->agg_lists->size; kk++) { in MatCoarsenView_MIS()
294 PetscCall(PetscCDGetHeadPos(coarse->agg_lists, kk, &pos)); in MatCoarsenView_MIS()
[all …]
/petsc/src/dm/impls/da/
H A Ddainterp.c94 i_c = (i / ratio); /* coarse grid node to left of fine grid node */ in DMCreateInterpolation_DA_1D_Q1()
95 …PetscCheck(i_c >= i_start_ghost_c, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Processor's coarse DMDA… in DMCreateInterpolation_DA_1D_Q1()
130 i_c = (i / ratio); /* coarse grid node to left of fine grid node */ in DMCreateInterpolation_DA_1D_Q1()
131 …PetscCheck(i_c >= i_start_ghost_c, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Processor's coarse DMDA… in DMCreateInterpolation_DA_1D_Q1()
187 …PetscCheck(Mx, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Number of x coarse grid points %" PetscInt_… in DMCreateInterpolation_DA_1D_Q0()
191 …PetscCheck(Mx >= 2, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Number of x coarse grid points %" Pets… in DMCreateInterpolation_DA_1D_Q0()
226 i_c = (i / ratio); /* coarse grid node to left of fine grid node */ in DMCreateInterpolation_DA_1D_Q0()
274 …PetscCheck(Mx, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Number of x coarse grid points %" PetscInt_… in DMCreateInterpolation_DA_2D_Q1()
278 …PetscCheck(Mx >= 2, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Number of x coarse grid points %" Pets… in DMCreateInterpolation_DA_2D_Q1()
283 …PetscCheck(My, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Number of y coarse grid points %" PetscInt_… in DMCreateInterpolation_DA_2D_Q1()
[all …]
/petsc/src/mat/graphops/coarsen/impls/misk/
H A Dmisk.c166 // lid_state[lid] = nselected; // >= 0 is selected, cache for ordering coarse grid in MatCoarsenApply_MISK_private()
172 lid_state[lid] = nselected; // >= 0 is selected, cache for ordering coarse grid in MatCoarsenApply_MISK_private()
353 static PetscErrorCode MatCoarsenApply_MISK(MatCoarsen coarse) in MatCoarsenApply_MISK() argument
355 Mat mat = coarse->graph; in MatCoarsenApply_MISK()
359 PetscCall(MatCoarsenMISKGetDistance(coarse, &k)); in MatCoarsenApply_MISK()
361 if (!coarse->perm) { in MatCoarsenApply_MISK()
367 PetscCall(MatCoarsenApply_MISK_private(perm, k, mat, &coarse->agg_lists)); in MatCoarsenApply_MISK()
370 PetscCall(MatCoarsenApply_MISK_private(coarse->perm, k, mat, &coarse->agg_lists)); in MatCoarsenApply_MISK()
375 static PetscErrorCode MatCoarsenView_MISK(MatCoarsen coarse, PetscViewer viewer) in MatCoarsenView_MISK() argument
382 PetscCallMPI(MPI_Comm_rank(PetscObjectComm((PetscObject)coarse), &rank)); in MatCoarsenView_MISK()
[all …]
/petsc/src/ksp/pc/impls/deflation/
H A Ddeflation.c95 . -pc_deflation_reduction_factor <\-1> - reduction factor on bottom level coarse problem for `PCDEF…
98 Default is computed based on the size of the coarse problem.
126 PCDeflationSetCorrectionFactor - Set coarse problem correction factor.
136 + -pc_deflation_correction <false> - if true apply coarse problem correction
137 - -pc_deflation_correction_factor <1.0> - sets coarse problem correction factor
140 Any non-zero fact enables the coarse problem correction.
230 the coarse problem (W0'*A*W0)^{-1} is again preconditioned by deflation with
293 PCDeflationSetCoarseMat - Set the coarse problem `Mat`.
299 - mat - coarse problem mat
324 PCDeflationGetCoarseKSP - Returns the coarse problem `KSP`.
[all …]

12345678910>>...13