| /petsc/src/dm/impls/plex/ |
| H A D | plexcoarsen.c | 16 PetscBool localized; in DMCoarsenHierarchy_Plex() local 19 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMCoarsenHierarchy_Plex() 23 if (localized) PetscCall(DMLocalizeCoordinates(dmCoarsened[c])); in DMCoarsenHierarchy_Plex()
|
| H A D | plexadapt.c | 174 PetscBool flg, flg2, localized; in DMPlexRefine_Internal() local 177 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMPlexRefine_Internal() 244 if (localized) PetscCall(DMLocalizeCoordinates(*dmRefined)); in DMPlexRefine_Internal() 254 PetscBool localized, flg; in DMPlexCoarsen_Internal() local 257 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMPlexCoarsen_Internal() 269 if (localized) PetscCall(DMLocalizeCoordinates(*dmCoarsened)); in DMPlexCoarsen_Internal()
|
| H A D | plexvtu.c | 51 static PetscErrorCode DMPlexGetVTKConnectivity(DM dm, PetscBool localized, PieceInfo *piece, PetscV… in DMPlexGetVTKConnectivity() argument 82 if (localized) PetscCall(PetscSectionGetDof(cellCoordSection, c, &dof)); in DMPlexGetVTKConnectivity() 90 if (!localized) PetscCall(PetscVTKIntCast(closure[v] - vStart, &conn[countconn++])); in DMPlexGetVTKConnectivity() 176 PetscBool localized; in DMPlexVTKWriteAll_VTU() local 188 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMPlexVTKWriteAll_VTU() 207 if (!localized) piece.nvertices = vEnd - vStart; in DMPlexVTKWriteAll_VTU() 216 if (localized) PetscCall(PetscSectionGetDof(cellCoordSection, c, &dof)); in DMPlexVTKWriteAll_VTU() 225 if (localized) piece.nvertices++; in DMPlexVTKWriteAll_VTU() 450 …= PetscDefined(USE_COMPLEX) ? PETSC_TRUE : (PetscBool)(dimEmbed != 3 || localized || (sizeof(Petsc… in DMPlexVTKWriteAll_VTU() 458 if (localized) { in DMPlexVTKWriteAll_VTU() [all …]
|
| H A D | plexrefine.c | 412 PetscBool isUniform, localized, useCeed; in DMRefineHierarchy_Plex() local 416 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMRefineHierarchy_Plex() 461 if (localized) PetscCall(DMLocalizeCoordinates(rdm[r])); in DMRefineHierarchy_Plex()
|
| H A D | plexglvis.c | 459 PetscBool localized, isascii; in DMPlexView_GLVis_ASCII() local 531 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMPlexView_GLVis_ASCII() 633 …if (localized && !hovec) { /* we need to generate a vector of L2 coordinates, as this is how MFEM … in DMPlexView_GLVis_ASCII() 750 …PetscCall(DMPlexGetPointMFEMVertexIDs_Internal(dm, p, (localized && !hovec) ? coordSection : NULL,… in DMPlexView_GLVis_ASCII() 771 if (!perLabel && localized) { /* this periodic cut can be moved up to DMPlex setup */ in DMPlexView_GLVis_ASCII() 975 …PetscCall(DMPlexGetPointMFEMVertexIDs_Internal(dm, cell, (localized && !hovec) ? coordSection : NU… in DMPlexView_GLVis_ASCII() 1048 …PetscCall(DMPlexGetPointMFEMVertexIDs_Internal(dm, parent, localized ? coordSection : NULL, &nv, v… in DMPlexView_GLVis_ASCII()
|
| /petsc/src/dm/interface/ |
| H A D | dmperiodicity.c | 264 PetscBool localized; in DMGetCoordinatesLocalized() local 269 PetscCall(DMGetCoordinatesLocalizedLocal(dm, &localized)); in DMGetCoordinatesLocalized() 270 …PetscCallMPI(MPIU_Allreduce(&localized, areLocalized, 1, MPI_C_BOOL, MPI_LOR, PetscObjectComm((Pet… in DMGetCoordinatesLocalized() 337 PetscScalar *coordsDG, *anchor, *localized; in DMLocalizeCoordinates() local 384 localized = &anchor[Nc]; in DMLocalizeCoordinates() 399 PetscCall(DMLocalizeCoordinate_Internal(dm, Nc, anchor, &cellCoords[p * Nc], localized)); in DMLocalizeCoordinates() 401 if (cellCoords[p * Nc + d] != localized[d]) break; in DMLocalizeCoordinates()
|
| H A D | dmcoordinates.c | 1008 static PetscErrorCode DMCreateAffineCoordinates_Internal(DM dm, PetscBool localized) in DMCreateAffineCoordinates_Internal() argument 1016 if (!localized) { in DMCreateAffineCoordinates_Internal() 1035 if (localized) { in DMCreateAffineCoordinates_Internal() 1094 PetscErrorCode DMSetCoordinateDisc(DM dm, PetscFE disc, PetscBool localized, PetscBool project) in DMSetCoordinateDisc() argument 1107 if (!localized) { in DMSetCoordinateDisc() 1123 PetscCall(DMCreateAffineCoordinates_Internal(dm, localized)); in DMSetCoordinateDisc() 1208 if (!localized) { in DMSetCoordinateDisc()
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex1_p4est_periodic.out | 7 Periodic mesh coordinates localized
|
| H A D | ex1_p4est_gmsh_periodic.out | 7 Periodic mesh coordinates localized
|
| H A D | ex1_p4est_periodic_3d.out | 8 Periodic mesh coordinates localized
|
| H A D | ex1_cylinder_per.out | 8 Periodic mesh (NONE, NONE, PERIODIC) coordinates localized
|
| H A D | ex49_1.out | 7 Periodic mesh (PERIODIC, NONE) coordinates localized
|
| /petsc/src/dm/impls/plex/tutorials/output/ |
| H A D | ex8_1d_q1_periodic.out | 6 Periodic mesh (PERIODIC) coordinates localized
|
| H A D | ex8_3d_q2_periodic.out | 8 Periodic mesh (PERIODIC, NONE, PERIODIC) coordinates not localized
|
| H A D | ex20_1.out | 7 Periodic mesh (PERIODIC) coordinates localized
|
| H A D | ex20_2.out | 8 Periodic mesh (PERIODIC, NONE) coordinates localized
|
| H A D | ex8_2d_q1_periodic.out | 7 Periodic mesh (PERIODIC, NONE) coordinates localized
|
| H A D | ex8_3d_q1_periodic_project.out | 8 Periodic mesh (NONE, NONE, PERIODIC) coordinates localized
|
| H A D | ex8_2d_q1_periodic_sparse.out | 7 Periodic mesh (PERIODIC, NONE) coordinates not localized
|
| H A D | ex20_3.out | 9 Periodic mesh (PERIODIC, NONE, NONE) coordinates localized
|
| H A D | ex8_3d_q1_periodic.out | 8 Periodic mesh (PERIODIC, NONE, NONE) coordinates localized
|
| /petsc/src/ts/tutorials/output/ |
| H A D | ex18_adv_3_ex.out | 7 Periodic mesh (PERIODIC, NONE) coordinates localized
|
| /petsc/doc/changes/ |
| H A D | 324.md | 156 - Add ``localized`` argument to `DMSetCoordinateDisc()` and `DMCreateAffineCoordinates_Internal()` 179 - Add ``localized`` argument to `DMPlexCreateCoordinateSpace()`
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | DM.pyx | 1310 def setCoordinateDisc(self, FE disc, localized: bool, project: bool) -> Self: 1319 localized 1320 Set a localized (DG) coordinate space 1329 cdef PetscBool clocalized = localized 1335 """Check if the coordinates have been localized for cells.
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 2169 PetscBool localized, localizeVertices = PETSC_FALSE, localizeCells = PETSC_FALSE; in DMPlexTransformSetCoordinates() local 2179 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMPlexTransformSetCoordinates() 2181 if (localized) { in DMPlexTransformSetCoordinates()
|