Home
last modified time | relevance | path

Searched refs:periodicity (Results 1 – 15 of 15) sorted by relevance

/petsc/src/dm/tests/
H A Dex21.c13 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 Dex43.c23 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 Dex74.c57 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 Dex2.c17 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 Dplexsfc.c210 … 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 Dplexcreate.c1004 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()
1925periodicity[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 D318.md285 …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 D2017.md102 - Modified DAGetInfo() to return the type of periodicity.
H A D319.md242 … donor and image sheet. This is supported with `zbox` above, and allows single-element periodicity.
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMStag.pyx626 equivalent assuming a periodicity implied by the arguments to this
H A DDM.pyx1400 """Set the description of mesh periodicity.
1436 """Set the description of mesh periodicity.
H A DDMDA.pyx129 # periodicity, stencil type & width
/petsc/doc/manual/
H A Dvec.md146 select the partition. The type of periodicity of the array
148 `DM_BOUNDARY_NONE` (no periodicity), `DM_BOUNDARY_PERIODIC`
H A Ddmplex.md126 …dinates()`, that extracts cell coordinates correctly, depending on the periodicity of the mesh. An…
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c598 …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()