| /petsc/src/dm/tests/ |
| H A D | ex21.c | 13 PetscInt periodicity; in test1_DAInjection3d() local 21 periodicity = 0; in test1_DAInjection3d() 23 PetscCall(PetscOptionsGetInt(NULL, NULL, "-periodic", &periodicity, NULL)); in test1_DAInjection3d() 24 if (periodicity == 1) { in test1_DAInjection3d() 26 } else if (periodicity == 2) { in test1_DAInjection3d() 28 } else if (periodicity == 3) { in test1_DAInjection3d()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex43.c | 23 DMBoundaryType periodicity[2] = {DM_BOUNDARY_PERIODIC, DM_BOUNDARY_NONE}; in main() local 29 …PetscCall(DMPlexCreateBoxMesh(PETSC_COMM_WORLD, 2, PETSC_FALSE, faces, NULL, NULL, periodicity, PE… in main()
|
| H A D | ex74.c | 57 const DMBoundaryType periodicity[2] = {DM_BOUNDARY_PERIODIC, DM_BOUNDARY_NONE}; in main() local 74 …PetscCall(DMPlexCreateBoxMesh(comm, dim, PETSC_FALSE, faces, lower, upper, periodicity, PETSC_TRUE… in main()
|
| /petsc/src/dm/dt/dualspace/impls/lagrange/tutorials/ |
| H A D | ex2.c | 17 DMBoundaryType periodicity[3] = {DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE}; in main() local 28 …PetscCall(DMPlexCreateBoxMesh(PETSC_COMM_SELF, dim, PETSC_FALSE, cells, lo, hi, periodicity, PETSC… in main()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsfc.c | 210 … const PetscReal *lower, const PetscReal *upper, const DMBoundaryType *periodicity, PetscSegBuffer… in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private() argument 236 if (periodicity[direction] != DM_BOUNDARY_PERIODIC) continue; in DMPlexCreateBoxMesh_Tensor_SFC_Periodicity_Private() 1158 …const PetscReal lower[], const PetscReal upper[], const DMBoundaryType periodicity[], PetscBool in… in DMPlexCreateBoxMesh_Tensor_SFC_Internal() argument 1376 if (periodicity[bc / 2] == DM_BOUNDARY_PERIODIC) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1414 …if (periodicity[0] == DM_BOUNDARY_PERIODIC || (dim > 1 && periodicity[1] == DM_BOUNDARY_PERIODIC) … in DMPlexCreateBoxMesh_Tensor_SFC_Internal() 1415 …_SFC_Periodicity_Private(dm, &layout, vert_z, per_faces, lower, upper, periodicity, donor_face_clo… in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
|
| H A D | plexcreate.c | 1004 static PetscErrorCode DMPlexSetBoxLabel_Internal(DM dm, const DMBoundaryType periodicity[]) in DMPlexSetBoxLabel_Internal() argument 1144 if (periodicity[d] != DM_BOUNDARY_PERIODIC) continue; in DMPlexSetBoxLabel_Internal() 1455 …const PetscReal lower[], const PetscReal upper[], const DMBoundaryType periodicity[], PetscBool in… in DMPlexCreateBoxMesh_Simplex_Internal() argument 1465 PetscCall(DMPlexCreateSquareMesh_Simplex_CrissCross(dm, faces, lower, upper, periodicity)); in DMPlexCreateBoxMesh_Simplex_Internal() 1467 …for (PetscInt i = 0; i < dim; ++i) PetscCheck(periodicity[i] == DM_BOUNDARY_NONE, PetscObjectComm(… in DMPlexCreateBoxMesh_Simplex_Internal() 1481 PetscCall(DMPlexSetBoxLabel_Internal(dm, periodicity)); in DMPlexCreateBoxMesh_Simplex_Internal() 1911 …cInt faces[], const PetscReal lower[], const PetscReal upper[], const DMBoundaryType periodicity[]) in DMPlexCreateBoxMesh_Tensor_Internal() argument 1922 bdt[d] = periodicity[d]; in DMPlexCreateBoxMesh_Tensor_Internal() 1925 …periodicity[0] == DM_BOUNDARY_PERIODIC || periodicity[0] == DM_BOUNDARY_TWIST || periodicity[1] ==… in DMPlexCreateBoxMesh_Tensor_Internal() 1930 if (periodicity[d] != DM_BOUNDARY_NONE) { in DMPlexCreateBoxMesh_Tensor_Internal() [all …]
|
| /petsc/doc/changes/ |
| H A D | 318.md | 285 …dary type. Since we have an independent representation, we can tell if periodicity was imposed, an… 286 …MPlexGetCellCoordinates()` and `DMPlexRestoreCellCoordinates()` for clean interface for periodicity
|
| H A D | 2017.md | 102 - Modified DAGetInfo() to return the type of periodicity.
|
| H A D | 319.md | 242 … donor and image sheet. This is supported with `zbox` above, and allows single-element periodicity.
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DMStag.pyx | 626 equivalent assuming a periodicity implied by the arguments to this
|
| H A D | DM.pyx | 1400 """Set the description of mesh periodicity. 1436 """Set the description of mesh periodicity.
|
| H A D | DMDA.pyx | 129 # periodicity, stencil type & width
|
| /petsc/doc/manual/ |
| H A D | vec.md | 146 select the partition. The type of periodicity of the array 148 `DM_BOUNDARY_NONE` (no periodicity), `DM_BOUNDARY_PERIODIC`
|
| H A D | dmplex.md | 126 …dinates()`, that extracts cell coordinates correctly, depending on the periodicity of the mesh. An…
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 598 …DMBoundaryType periodicity[3] = {DM_BOUNDARY_NONE, dim == 2 ? DM_BOUNDARY_NONE : DM_BOUNDARY_NONE,… in LandauDMCreateVMeshes() local 604 …PetscCall(DMPlexCreateBoxMesh(comm_self, dim, PETSC_FALSE, ctx->cells0, lo, hi, periodicity, PETSC… in LandauDMCreateVMeshes()
|