Searched refs:stratumIS (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex103.c | 295 IS stratumIS = NULL; in VerifyDMLabels() local 299 PetscCall(DMLabelGetStratumIS(label_load, value, &stratumIS)); in VerifyDMLabels() 300 if (stratumIS) { in VerifyDMLabels() 304 PetscCall(ISGetLocalSize(stratumIS, &num_points)); in VerifyDMLabels() 305 PetscCall(ISGetIndices(stratumIS, &points)); in VerifyDMLabels() 307 PetscCall(ISRestoreIndices(stratumIS, &points)); in VerifyDMLabels() 308 PetscCall(ISDestroy(&stratumIS)); in VerifyDMLabels() 314 IS stratumIS = NULL; in VerifyDMLabels() local 316 PetscCall(DMLabelGetStratumIS(label_serial, value, &stratumIS)); in VerifyDMLabels() 317 if (stratumIS) { in VerifyDMLabels() [all …]
|
| /petsc/src/dm/impls/plex/exodusii/ |
| H A D | plexexodusii2.c | 871 IS stratumIS; in DMView_PlexExodusII() local 876 PetscCall(DMLabelGetStratumIS(csLabel, csIdx[cs], &stratumIS)); in DMView_PlexExodusII() 877 PetscCall(ISGetIndices(stratumIS, &cells)); in DMView_PlexExodusII() 878 PetscCall(ISGetSize(stratumIS, &csSize)); in DMView_PlexExodusII() 929 PetscCall(ISRestoreIndices(stratumIS, &cells)); in DMView_PlexExodusII() 930 PetscCall(ISDestroy(&stratumIS)); in DMView_PlexExodusII() 935 IS stratumIS; in DMView_PlexExodusII() local 947 PetscCall(DMLabelGetStratumIS(csLabel, csIdx[cs], &stratumIS)); in DMView_PlexExodusII() 948 PetscCall(ISGetIndices(stratumIS, &cells)); in DMView_PlexExodusII() 949 PetscCall(ISGetSize(stratumIS, &csSize)); in DMView_PlexExodusII() [all …]
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 1505 IS stratumIS, globalStratumIS; in DMPlexLabelsView_HDF5_Internal() local 1513 PetscCall(DMLabelGetStratumIS(label, values[v], &stratumIS)); in DMPlexLabelsView_HDF5_Internal() 1515 if (stratumIS) PetscCall(ISGetLocalSize(stratumIS, &n)); in DMPlexLabelsView_HDF5_Internal() 1516 if (stratumIS) PetscCall(ISGetIndices(stratumIS, &spoints)); in DMPlexLabelsView_HDF5_Internal() 1522 if (stratumIS) PetscCall(ISRestoreIndices(stratumIS, &spoints)); in DMPlexLabelsView_HDF5_Internal() 1527 PetscCall(ISDestroy(&stratumIS)); in DMPlexLabelsView_HDF5_Internal() 1814 static herr_t ReadLabelStratumHDF5_Distribute_Private(IS stratumIS, LoadLabelsCtx ctx, IS *newStrat… in ReadLabelStratumHDF5_Distribute_Private() argument 1826 PetscCall(ISGetLocalSize(stratumIS, &n)); in ReadLabelStratumHDF5_Distribute_Private() 1827 PetscCall(ISGetIndices(stratumIS, &A_points)); in ReadLabelStratumHDF5_Distribute_Private() 1846 PetscCall(ISRestoreIndices(stratumIS, &A_points)); in ReadLabelStratumHDF5_Distribute_Private() [all …]
|
| /petsc/src/dm/impls/plex/cgns/ |
| H A D | plexcgns2.c | 2218 IS stratumIS, fsFacesAll; in DMView_PlexCGNS() local 2315 PetscCall(DMLabelGetStratumIS(fsLabel, fsID, &stratumIS)); in DMView_PlexCGNS() 2316 if (stratumIS) { // Get list of only face points in DMView_PlexCGNS() 2323 PetscCall(ISGetIndices(stratumIS, &stratumPnts)); in DMView_PlexCGNS() 2324 PetscCall(ISGetSize(stratumIS, &nstratumPnts)); in DMView_PlexCGNS() 2336 PetscCall(ISRestoreIndices(stratumIS, &stratumPnts)); in DMView_PlexCGNS() 2337 PetscCall(ISDestroy(&stratumIS)); in DMView_PlexCGNS()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plex.c | 4431 IS stratumIS; in DMPlexCreateDepthStratum() local 4448 PetscCall(ISCreateStride(PETSC_COMM_SELF, pEnd - pStart, pStart, 1, &stratumIS)); in DMPlexCreateDepthStratum() 4449 PetscCall(DMLabelSetStratumIS(label, depth, stratumIS)); in DMPlexCreateDepthStratum() 4450 PetscCall(ISDestroy(&stratumIS)); in DMPlexCreateDepthStratum()
|