Home
last modified time | relevance | path

Searched refs:cutLabel (Results 1 – 3 of 3) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexextrude.c89 DMLabel cutLabel; in DMPlexExtrude() local
94 PetscCall(DMGetLabel(*edm, "periodic_cut", &cutLabel)); in DMPlexExtrude()
109 PetscCall(DMLabelSetValue(cutLabel, pNew, !pdim ? 1 : 2)); in DMPlexExtrude()
H A Dplexcreate.c1488 DMLabel cutLabel = NULL; in DMPlexCreateCubeMesh_Internal() local
1508 PetscCall(DMGetLabel(dm, "periodic_cut", &cutLabel)); in DMPlexCreateCubeMesh_Internal()
1601 …if (bdX != DM_BOUNDARY_NONE && fx == numXEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel in DMPlexCreateCubeMesh_Internal()
1602 …if (bdY != DM_BOUNDARY_NONE && fy == numYEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel in DMPlexCreateCubeMesh_Internal()
1603 …if (bdZ != DM_BOUNDARY_NONE && fz == numZEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel in DMPlexCreateCubeMesh_Internal()
1694 …if (bdX != DM_BOUNDARY_NONE && fx == numXEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel in DMPlexCreateCubeMesh_Internal()
1695 …if (bdY != DM_BOUNDARY_NONE && fy == numYEdges - 1 && cutLabel) PetscCall(DMLabelSetValue(cutLabel in DMPlexCreateCubeMesh_Internal()
1783 if (vx == 0 && cutLabel) { in DMPlexCreateCubeMesh_Internal()
1784 PetscCall(DMLabelSetValue(cutLabel, edge, 1)); in DMPlexCreateCubeMesh_Internal()
1785 PetscCall(DMLabelSetValue(cutLabel, cone[0], 1)); in DMPlexCreateCubeMesh_Internal()
[all …]
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c470 static PetscErrorCode DMPlexCreateCutVertexLabel_Private(DM dm, DMLabel cutLabel, DMLabel *cutVerte… in DMPlexCreateCutVertexLabel_Private() argument
477 if (!cutLabel) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexCreateCutVertexLabel_Private()
483 PetscCall(DMLabelGetStratumIS(cutLabel, 2, &cutcells)); in DMPlexCreateCutVertexLabel_Private()
497 PetscCall(DMLabelGetValue(cutLabel, closure[cl], &value)); in DMPlexCreateCutVertexLabel_Private()
546 DMLabel cutLabel, cutVertexLabel = NULL; in VecView_Plex_Local_HDF5_Internal() local
549 PetscCall(DMGetLabel(dm, "periodic_cut", &cutLabel)); in VecView_Plex_Local_HDF5_Internal()
581 if (cutLabel) { in VecView_Plex_Local_HDF5_Internal()
586 PetscCall(DMPlexCreateCutVertexLabel_Private(dm, cutLabel, &cutVertexLabel)); in VecView_Plex_Local_HDF5_Internal()
655 if (cutLabel) PetscCall(VecDestroy(&subv)); in VecView_Plex_Local_HDF5_Internal()
1089 DMLabel cutLabel, cutVertexLabel = NULL; in CreateConesIS_Private() local
[all …]