| /petsc/src/dm/impls/plex/ftn-custom/ |
| H A D | zplexf90.c | 185 const PetscInt *coveredPoints; in dmplexgetjoin_() local 189 *ierr = DMPlexGetJoin(*dm, *numPoints, points, &n, &coveredPoints); in dmplexgetjoin_() 191 *ierr = F90Array1dCreate((void *)coveredPoints, MPIU_INT, 1, n, cptr PETSC_F90_2PTR_PARAM(cptrd)); in dmplexgetjoin_() 197 const PetscInt *coveredPoints; in dmplexgetfulljoin_() local 201 *ierr = DMPlexGetFullJoin(*dm, *numPoints, points, &n, &coveredPoints); in dmplexgetfulljoin_() 203 *ierr = F90Array1dCreate((void *)coveredPoints, MPIU_INT, 1, n, cptr PETSC_F90_2PTR_PARAM(cptrd)); in dmplexgetfulljoin_() 209 PetscInt *coveredPoints; in dmplexrestorejoin_() local 211 *ierr = F90Array1dAccess(cptr, MPIU_INT, (void **)&coveredPoints PETSC_F90_2PTR_PARAM(cptrd)); in dmplexrestorejoin_() 213 *ierr = DMPlexRestoreJoin(*dm, 0, NULL, NULL, (const PetscInt **)&coveredPoints); in dmplexrestorejoin_() 221 const PetscInt *coveredPoints; in dmplexgetmeet_() local [all …]
|
| /petsc/src/dm/impls/plex/adaptors/mmg/ |
| H A D | mmgadapt.c | 258 const PetscInt *coveredPoints = NULL; in DMAdaptMetric_Mmg_Plex() local 261 PetscCall(DMPlexGetFullJoin(*dmNew, dim, facePoints, &numCoveredPoints, &coveredPoints)); in DMAdaptMetric_Mmg_Plex() 263 if (coveredPoints[j] >= fStart && coveredPoints[j] < fEnd) { in DMAdaptMetric_Mmg_Plex() 269 PetscCall(DMLabelSetValue(bdLabelNew, coveredPoints[f], faceTagsNew[i])); in DMAdaptMetric_Mmg_Plex() 270 PetscCall(DMPlexRestoreJoin(*dmNew, dim, facePoints, &numCoveredPoints, &coveredPoints)); in DMAdaptMetric_Mmg_Plex()
|
| /petsc/src/dm/impls/plex/adaptors/parmmg/ |
| H A D | parmmgadapt.c | 423 const PetscInt *coveredPoints = NULL; in DMAdaptMetric_ParMmg_Plex() local 431 PetscCall(DMPlexGetFullJoin(*dmNew, dim, facePoints, &numCoveredPoints, &coveredPoints)); in DMAdaptMetric_ParMmg_Plex() 433 if (coveredPoints[j] >= fStart && coveredPoints[j] < fEnd) { in DMAdaptMetric_ParMmg_Plex() 440 if (hasTag) PetscCall(DMLabelSetValue(bdLabelNew, coveredPoints[f], faceTagsNew[i])); in DMAdaptMetric_ParMmg_Plex() 441 PetscCall(DMPlexRestoreJoin(*dmNew, dim, facePoints, &numCoveredPoints, &coveredPoints)); in DMAdaptMetric_ParMmg_Plex()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex18.c | 921 const PetscInt *coveredPoints; in DMPlexExpandedConesToFaces_Private() local 948 PetscCall(DMPlexGetJoin(dm, ncone, cone, &numCoveredPoints, &coveredPoints)); in DMPlexExpandedConesToFaces_Private() 950 if (numCoveredPoints) p = coveredPoints[0]; in DMPlexExpandedConesToFaces_Private() 952 PetscCall(DMPlexRestoreJoin(dm, ncone, cone, &numCoveredPoints, &coveredPoints)); in DMPlexExpandedConesToFaces_Private()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 4843 …nt numPoints, const PetscInt points[], PetscInt *numCoveredPoints, const PetscInt *coveredPoints[]) in DMPlexGetJoin() argument 4855 PetscAssertPointer(coveredPoints, 5); in DMPlexGetJoin() 4883 *coveredPoints = join[i]; in DMPlexGetJoin() 4914 …nt numPoints, const PetscInt points[], PetscInt *numCoveredPoints, const PetscInt *coveredPoints[]) in DMPlexRestoreJoin() argument 4920 PetscAssertPointer(coveredPoints, 5); in DMPlexRestoreJoin() 4921 PetscCall(DMRestoreWorkArray(dm, 0, MPIU_INT, (void *)coveredPoints)); in DMPlexRestoreJoin() 4949 …nt numPoints, const PetscInt points[], PetscInt *numCoveredPoints, const PetscInt *coveredPoints[]) in DMPlexGetFullJoin() argument 4960 PetscAssertPointer(coveredPoints, 5); in DMPlexGetFullJoin() 5017 *coveredPoints = join[i]; in DMPlexGetFullJoin() 5115 …nt numPoints, const PetscInt points[], PetscInt *numCoveredPoints, const PetscInt *coveredPoints[]) in DMPlexRestoreMeet() argument [all …]
|