| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex29.c | 16 PetscInt overlap; /* The cell overlap to use during partitioning */ member 22 options->overlap = PETSC_FALSE; in ProcessOptions() 25 …rlap", "The cell overlap for partitioning", "ex29.c", options->overlap, &options->overlap, NULL, 0… in ProcessOptions() 69 if (user->overlap) { in CreateMesh() 98 PetscCall(DMPlexDistribute(dm, user.overlap, NULL, &pdm)); in main()
|
| H A D | ex70.c | 7 PetscInt overlap; /* The overlap size used when partitioning */ member 13 options->overlap = 0; in ProcessOptions() 16 …dedInt("-overlap", "The overlap size used", "ex70.c", options->overlap, &options->overlap, NULL, 0… in ProcessOptions() 54 PetscCall(DMPlexDistribute(*dm, user->overlap, NULL, &dmDist)); in CreateMesh()
|
| H A D | ex12.c | 31 PetscInt overlap; /* The cell overlap to use during partitioning */ member 43 options->overlap = 0; in ProcessOptions() 51 …rlap", "The cell overlap for partitioning", "ex12.c", options->overlap, &options->overlap, NULL, 0… in ProcessOptions() 79 PetscInt overlap = user->overlap >= 0 ? user->overlap : 0; in CreateMesh() local 140 PetscCall(DMPlexDistribute(*dm, overlap, NULL, &pdm)); in CreateMesh() 185 PetscCall(DMPlexDistribute(*dm, overlap, NULL, &pdm)); in CreateMesh()
|
| H A D | ex1.c | 19 PetscInt overlap; /* The cell overlap to use during partitioning */ member 30 options->overlap = 0; in ProcessOptions() 39 …erlap", "The cell overlap for partitioning", "ex1.c", options->overlap, &options->overlap, NULL, 0… in ProcessOptions() 198 if (user->overlap) { in CreateMesh() 204 PetscCall(DMPlexDistributeOverlap(*dm, user->overlap, NULL, &overlapMesh)); in CreateMesh() 206 PetscInt overlap; in CreateMesh() local 207 PetscCall(DMPlexGetOverlap(overlapMesh, &overlap)); in CreateMesh() 208 …scCall(PetscViewerASCIIPrintf(PETSC_VIEWER_STDOUT_WORLD, "Overlap: %" PetscInt_FMT "\n", overlap)); in CreateMesh()
|
| H A D | ex71.c | 95 PetscInt overlap = 1; in main() local 117 PetscCall(DMPlexDistribute(dm, overlap, NULL, &pdm)); in main()
|
| H A D | ex51.c | 44 PetscInt overlap = 1; in main() local 49 PetscCall(DMPlexDistribute(dm, overlap, &sf, &pdm)); in main()
|
| H A D | ex21.c | 177 PetscInt overlap = 1; in main() local 180 PetscCall(DMPlexDistribute(dm, overlap, &sf, &pdm)); in main() 348 PetscInt overlap = 1; in main() local 356 PetscCall(DMPlexDistribute(dm, overlap, &sfBC, &distributedDM)); in main()
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex71f.F90 | 8 PetscInt :: M, M2, NSubx, dof, overlap, NSub, i1 38 overlap = 0 40 …PetscCallA(PCGASMCreateSubdomains2D(pc, M, M, NSubx, NSubx, dof, overlap, NSub, subdomains_IS, inf… 52 …PetscCallA(PCASMCreateSubdomains2D(M, M, NSubx, NSubx, dof, overlap, NSub, subdomains_IS, inflated…
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex62.c | 45 PetscInt overlap; /* width of subdomain overlap */ in main() local 68 overlap = 1; in main() 69 …OptionsInt("-overlap", "Size of tile overlap.", "PCGASMSetSubdomains2D", overlap, &overlap, NULL)); in main() 150 PetscCall(PCGASMCreateSubdomains2D(pc, m, n, M, N, 1, overlap, &Nsub, &inneris, &outeris)); in main() 157 …etscInt_FMT "; overlap: %" PetscInt_FMT "; Nsub: %" PetscInt_FMT "\n", m, n, M, N, overlap, Nsub)); in main()
|
| H A D | ex8.c | 41 PetscInt overlap = 1; /* width of subdomain overlap */ in main() local 59 PetscCall(PetscOptionsGetInt(NULL, NULL, "-overlap", &overlap, NULL)); in main() 158 PetscCall(PCASMSetOverlap(pc, overlap)); in main() 161 PetscCall(PCASMCreateSubdomains2D(m, n, M, N, 1, overlap, &Nsub, &is, &is_local)); in main() 166 …etscInt_FMT "; overlap: %" PetscInt_FMT "; Nsub: %" PetscInt_FMT "\n", m, n, M, N, overlap, Nsub)); in main()
|
| H A D | ex64.c | 45 PetscInt overlap; /* width of subdomain overlap */ in main() local 74 overlap = 1; in main() 75 …OptionsInt("-overlap", "Size of tile overlap.", "PCGASMSetSubdomains2D", overlap, &overlap, NULL)); in main()
|
| H A D | ex82.c | 33 PetscInt m = 100, dim = 3, M, begin = 0, n = 0, overlap = 1; in main() local 45 PetscCall(PetscOptionsGetInt(NULL, NULL, "-overlap", &overlap, NULL)); in main() 75 PetscCall(MatIncreaseOverlap(A, 1, &is, overlap)); in main()
|
| /petsc/src/dm/impls/forest/ |
| H A D | forest.c | 129 PetscInt dim, overlap, ref, factor; in DMForestTemplate() local 146 PetscCall(DMForestGetPartitionOverlap(dm, &overlap)); in DMForestTemplate() 147 PetscCall(DMForestSetPartitionOverlap(*tedm, overlap)); in DMForestTemplate() 678 PetscErrorCode DMForestSetPartitionOverlap(DM dm, PetscInt overlap) in DMForestSetPartitionOverlap() argument 685 …PetscCheck(overlap >= 0, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_OUTOFRANGE, "overlap cann… in DMForestSetPartitionOverlap() 686 forest->overlap = overlap; in DMForestSetPartitionOverlap() 706 PetscErrorCode DMForestGetPartitionOverlap(DM dm, PetscInt *overlap) in DMForestGetPartitionOverlap() argument 712 PetscAssertPointer(overlap, 2); in DMForestGetPartitionOverlap() 713 *overlap = forest->overlap; in DMForestGetPartitionOverlap() 1470 …PetscInt adjDim, adjCodim, overlap, minRefinement, initRefinement, maxRefinement… in DMSetFromOptions_Forest() local [all …]
|
| /petsc/src/ksp/pc/impls/gasm/ftn-custom/ |
| H A D | zgasmf.c | 31 …cInt *m, PetscInt *n, PetscInt *M, PetscInt *N, PetscInt *dof, PetscInt *overlap, PetscInt *Nsub, … in pcgasmcreatesubdomains2d_() argument 34 *ierr = PCGASMCreateSubdomains2D(*pc, *m, *n, *M, *N, *dof, *overlap, Nsub, &iis, &iisl); in pcgasmcreatesubdomains2d_()
|
| /petsc/src/dm/impls/forest/tests/ |
| H A D | ex1.c | 15 PetscInt min_refine = 2, overlap = 0; in main() local 29 PetscCall(DMForestSetPartitionOverlap(forest, overlap)); in main()
|
| /petsc/src/ksp/pc/impls/gasm/ |
| H A D | gasm.c | 16 PetscInt overlap; /* overlap requested by user */ member 165 char overlap[256] = "user-defined overlap"; in PCView_GASM() local 174 …if (osm->overlap >= 0) PetscCall(PetscSNPrintf(overlap, sizeof(overlap), "requested amount of over… in PCView_GASM() 190 PetscCall(PetscViewerASCIIPrintf(viewer, " %s\n", overlap)); in PCView_GASM() 367 … if (osm->overlap > 0 && osm->N > 1) { /* With positive overlap, osm->iis[i] will be modified */ in PCSetUp_GASM() 375 if (osm->overlap > 0 && osm->N > 1) { in PCSetUp_GASM() 377 PetscCall(MatIncreaseOverlapSplit(pc->pmat, osm->n, osm->ois, osm->overlap)); in PCSetUp_GASM() 878 …erlap", "Number of overlapping degrees of freedom", "PCGASMSetOverlap", osm->overlap, &ovl, &flg)); in PCSetFromOptions_GASM() 950 osm->overlap = -1; in PCGASMSetSubdomains_GASM() 999 …PetscCheck(!pc->setupcalled || ovl == osm->overlap, PetscObjectComm((PetscObject)pc), PETSC_ERR_AR… in PCGASMSetOverlap_GASM() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexdistribute.c | 1749 static PetscErrorCode DMPlexDistribute_Multistage(DM dm, PetscInt overlap, PetscSF *sf, DM *dmParal… in DMPlexDistribute_Multistage() argument 1767 PetscInt ovl = (l < nl - 1) ? 0 : overlap; in DMPlexDistribute_Multistage() 1831 PetscErrorCode DMPlexDistribute(DM dm, PetscInt overlap, PeOp PetscSF *sf, DM *dmParallel) in DMPlexDistribute() argument 1845 PetscValidLogicalCollectiveInt(dm, overlap, 2); in DMPlexDistribute() 1864 PetscCall(DMPlexDistribute_Multistage(dm, overlap, sf, dmParallel)); in DMPlexDistribute() 1940 if (overlap > 0) { in DMPlexDistribute() 1945 PetscCall(DMPlexDistributeOverlap(*dmParallel, overlap, &sfOverlap, &dmOverlap)); in DMPlexDistribute() 2006 PetscErrorCode DMPlexDistributeOverlap_Internal(DM dm, PetscInt overlap, MPI_Comm newcomm, const ch… in DMPlexDistributeOverlap_Internal() argument 2027 PetscInt overlap; in DMPlexDistributeOverlap_Internal() local 2035 PetscCall(DMPlexGetOverlap(dm, &overlap)); in DMPlexDistributeOverlap_Internal() [all …]
|
| /petsc/src/vec/is/utils/ |
| H A D | psort.c | 193 PetscInt overlap, oStart, oEnd; in PetscParallelRedistribute() local 199 overlap = oEnd - oStart; in PetscParallelRedistribute() 202 …PetscCallMPI(MPIU_Isend(&arrayin[map->range[i] - myOffset], overlap, MPIU_INT, i, firsttag, map->c… in PetscParallelRedistribute() 203 } else if (overlap > 0) { in PetscParallelRedistribute() 205 …PetscCallMPI(MPIU_Isend(&arrayin[oStart - myOffset], overlap, MPIU_INT, i, secondtag, map->comm, &… in PetscParallelRedistribute() 206 } else if (overlap == 0 && myOffset > map->range[i] && myOffset < map->range[i + 1]) { in PetscParallelRedistribute()
|
| /petsc/include/petsc/private/ |
| H A D | pcasmimpl.h | 7 PetscInt overlap; /* overlap requested by user */ member
|
| H A D | dmforestimpl.h | 27 PetscInt overlap; member
|
| /petsc/src/ksp/pc/impls/asm/ |
| H A D | asm.c | 31 …if (osm->overlap >= 0) PetscCall(PetscSNPrintf(overlaps, sizeof(overlaps), "amount of overlap = %"… in PCView_ASM() 71 …cks=%" PetscInt_FMT ", overlap=%" PetscInt_FMT ", type=%s", osm->n, osm->overlap, PCASMTypes[osm->… in PCView_ASM() 180 osm->overlap = -1; /* We do not want to increase the overlap of the IS. in PCSetUp_ASM() 223 if (osm->overlap > 0) { /* With positive overlap, osm->is[i] will be modified */ in PCSetUp_ASM() 233 if (osm->overlap > 0) { in PCSetUp_ASM() 235 PetscCall(MatIncreaseOverlap(pc->pmat, osm->n_local_true, osm->is, osm->overlap)); in PCSetUp_ASM() 735 …("-pc_asm_overlap", "Number of grid points overlap", "PCASMSetOverlap", osm->overlap, &ovl, &flg)); in PCSetFromOptions_ASM() 782 osm->overlap = -1; in PCASMSetLocalSubdomains_ASM() 790 if (osm->overlap > 0) { /* With positive overlap, osm->is[i] will be modified */ in PCASMSetLocalSubdomains_ASM() 838 …PetscCheck(!pc->setupcalled || ovl == osm->overlap, PetscObjectComm((PetscObject)pc), PETSC_ERR_AR… in PCASMSetOverlap_ASM() [all …]
|
| /petsc/src/ksp/pc/impls/asm/ftn-custom/ |
| H A D | zasmf.c | 77 …cInt *m, PetscInt *n, PetscInt *M, PetscInt *N, PetscInt *dof, PetscInt *overlap, PetscInt *Nsub, … in pcasmcreatesubdomains2d_() argument 81 *ierr = PCASMCreateSubdomains2D(*m, *n, *M, *N, *dof, *overlap, Nsub, &iis, &iisl); in pcasmcreatesubdomains2d_()
|
| /petsc/share/petsc/saws/js/ |
| H A D | treeInterface.js | 105 var overlap = $("#temp_pc_asm_overlap").val(); 106 if(overlap.match(/[^0-9]/) || overlap < 1) { 198 var overlap = $("#temp_pc_asm_overlap").val(); 203 $("#pc_asm_overlap" + endtag).val(overlap);
|
| /petsc/src/dm/tutorials/ |
| H A D | swarm_ex1.c | 181 PetscInt is, js, ni, nj, overlap; in ex1_3() local 187 overlap = 2; in ex1_3() 188 …_BOUNDARY_NONE, DMDA_STENCIL_BOX, 13, 13, PETSC_DECIDE, PETSC_DECIDE, 1, overlap, NULL, NULL, &dmc… in ex1_3() 344 PetscInt is, js, ni, nj, overlap, nn; in ex1_4() local 354 overlap = 0; in ex1_4() 355 …_BOUNDARY_NONE, DMDA_STENCIL_BOX, nn, nn, PETSC_DECIDE, PETSC_DECIDE, 1, overlap, NULL, NULL, &dmc… in ex1_4()
|
| H A D | swarm_ex3.c | 131 PetscInt p, bs, nlocal, overlap, mx, tk; in ex3_1() local 142 overlap = 0; in ex3_1() 143 …_BOUNDARY_NONE, DMDA_STENCIL_BOX, mx, mx, PETSC_DECIDE, PETSC_DECIDE, 1, overlap, NULL, NULL, &dmr… in ex3_1()
|