Home
last modified time | relevance | path

Searched refs:localized (Results 1 – 25 of 31) sorted by relevance

12

/petsc/src/dm/impls/plex/
H A Dplexcoarsen.c16 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 Dplexadapt.c174 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 Dplexvtu.c51 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 Dplexrefine.c412 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 Dplexglvis.c459 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 Ddmperiodicity.c264 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 Ddmcoordinates.c1008 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 Dex1_p4est_periodic.out7 Periodic mesh coordinates localized
H A Dex1_p4est_gmsh_periodic.out7 Periodic mesh coordinates localized
H A Dex1_p4est_periodic_3d.out8 Periodic mesh coordinates localized
H A Dex1_cylinder_per.out8 Periodic mesh (NONE, NONE, PERIODIC) coordinates localized
H A Dex49_1.out7 Periodic mesh (PERIODIC, NONE) coordinates localized
/petsc/src/dm/impls/plex/tutorials/output/
H A Dex8_1d_q1_periodic.out6 Periodic mesh (PERIODIC) coordinates localized
H A Dex8_3d_q2_periodic.out8 Periodic mesh (PERIODIC, NONE, PERIODIC) coordinates not localized
H A Dex20_1.out7 Periodic mesh (PERIODIC) coordinates localized
H A Dex20_2.out8 Periodic mesh (PERIODIC, NONE) coordinates localized
H A Dex8_2d_q1_periodic.out7 Periodic mesh (PERIODIC, NONE) coordinates localized
H A Dex8_3d_q1_periodic_project.out8 Periodic mesh (NONE, NONE, PERIODIC) coordinates localized
H A Dex8_2d_q1_periodic_sparse.out7 Periodic mesh (PERIODIC, NONE) coordinates not localized
H A Dex20_3.out9 Periodic mesh (PERIODIC, NONE, NONE) coordinates localized
H A Dex8_3d_q1_periodic.out8 Periodic mesh (PERIODIC, NONE, NONE) coordinates localized
/petsc/src/ts/tutorials/output/
H A Dex18_adv_3_ex.out7 Periodic mesh (PERIODIC, NONE) coordinates localized
/petsc/doc/changes/
H A D324.md156 - Add ``localized`` argument to `DMSetCoordinateDisc()` and `DMCreateAffineCoordinates_Internal()`
179 - Add ``localized`` argument to `DMPlexCreateCoordinateSpace()`
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDM.pyx1310 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 Dplextransform.c2169 PetscBool localized, localizeVertices = PETSC_FALSE, localizeCells = PETSC_FALSE; in DMPlexTransformSetCoordinates() local
2179 PetscCall(DMGetCoordinatesLocalized(dm, &localized)); in DMPlexTransformSetCoordinates()
2181 if (localized) { in DMPlexTransformSetCoordinates()

12