| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex17.c | 117 PetscBool isDG; in TestCustomLocation() local 121 PetscCall(DMPlexGetCellCoordinates(dm, cells[p].index, &isDG, &numCoords, &array, &ccoords)); in TestCustomLocation() 127 … PetscCall(DMPlexRestoreCellCoordinates(dm, cells[p].index, &isDG, &numCoords, &array, &ccoords)); in TestCustomLocation()
|
| H A D | ex49.c | 139 PetscBool isDG = PETSC_FALSE; in CheckOffsets() local 147 isDG = PETSC_TRUE; in CheckOffsets() 151 if (isDG && height) PetscFunctionReturn(PETSC_SUCCESS); in CheckOffsets() 165 if (isDG) { in CheckOffsets()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexgeometry.c | 274 PetscBool isDG; in DMPlexGetPlaneSimplexIntersection_Internal() local 280 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &numCoords, &array, &coords)); in DMPlexGetPlaneSimplexIntersection_Internal() 286 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &numCoords, &array, &coords)); in DMPlexGetPlaneSimplexIntersection_Internal() 295 PetscBool isDG; in DMPlexGetPlaneQuadIntersection_Internal() local 305 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &numCoords, &array, &coords)); in DMPlexGetPlaneQuadIntersection_Internal() 317 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &numCoords, &array, &coords)); in DMPlexGetPlaneQuadIntersection_Internal() 326 PetscBool isDG; in DMPlexGetPlaneHexIntersection_Internal() local 341 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &numCoords, &array, &coords)); in DMPlexGetPlaneHexIntersection_Internal() 371 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &numCoords, &array, &coords)); in DMPlexGetPlaneHexIntersection_Internal() 490 PetscBool isDG; in DMPlexLocatePoint_Quad_2D_Linear_Internal() local [all …]
|
| H A D | plex.c | 491 PetscBool isDG; in VecView_Plex_Local_Draw_2D() local 531 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &numCoords, &coords_arr, &coords)); in VecView_Plex_Local_Draw_2D() 549 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &numCoords, &coords_arr, &coords)); in VecView_Plex_Local_Draw_2D() 1433 PetscBool isDG; in DMPlexView_Ascii() local 1437 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &numCoords, &array, &cellCoords)); in DMPlexView_Ascii() 1454 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &numCoords, &array, &cellCoords)); in DMPlexView_Ascii() 1981 PetscBool isDG; in DMPlexView_Draw() local 1983 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &numCoords, &coords_arr, &coords)); in DMPlexView_Draw() 1986 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &numCoords, &coords_arr, &coords)); in DMPlexView_Draw()
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex8.c | 147 PetscBool isDG; in main() local 149 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &ndof, &array, &x)); in main() 153 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &ndof, &array, &x)); in main()
|
| /petsc/src/dm/field/impls/ds/ |
| H A D | dmfieldds.c | 86 static PetscErrorCode DMFieldGetClosure_Internal(DMField field, PetscInt cell, PetscBool *isDG, Pet… in DMFieldGetClosure_Internal() argument 95 *isDG = PETSC_FALSE; in DMFieldGetClosure_Internal() 116 *isDG = PETSC_TRUE; in DMFieldGetClosure_Internal() 127 static PetscErrorCode DMFieldRestoreClosure_Internal(DMField field, PetscInt cell, PetscBool *isDG,… in DMFieldRestoreClosure_Internal() argument 134 if (*isDG) { in DMFieldRestoreClosure_Internal() 183 PetscBool isDG; in DMFieldEvaluateFE_DS() local 185 PetscCall(DMFieldGetClosure_Internal(field, c, &isDG, &closureSize, &array, &elem)); in DMFieldEvaluateFE_DS() 220 PetscCall(DMFieldRestoreClosure_Internal(field, c, &isDG, &closureSize, &array, &elem)); in DMFieldEvaluateFE_DS() 290 PetscBool isDG; in DMFieldEvaluate_DS() local 302 PetscCall(DMFieldGetClosure_Internal(field, c, &isDG, &closureSize, &array, &elem)); in DMFieldEvaluate_DS() [all …]
|
| /petsc/src/ksp/ksp/utils/dm/ |
| H A D | dmproject.c | 925 PetscBool isDG; in InitializeParticles_Regular() local 930 PetscCall(DMPlexGetCellCoordinates(dm, cell, &isDG, &Nc, &a, &coords)); in InitializeParticles_Regular() 970 PetscCall(DMPlexRestoreCellCoordinates(dm, cell, &isDG, &Nc, &a, &coords)); in InitializeParticles_Regular() 1035 PetscBool isDG; in DMSwarmRemap_Colella_Internal() local 1040 PetscCall(DMPlexGetCellCoordinates(xdm, xcStart, &isDG, &Nc, &array, &coords)); in DMSwarmRemap_Colella_Internal() 1043 PetscCall(DMPlexRestoreCellCoordinates(xdm, xcStart, &isDG, &Nc, &array, &coords)); in DMSwarmRemap_Colella_Internal() 1048 PetscCall(DMPlexGetCellCoordinates(vdm, vcStart, &isDG, &Nc, &array, &coords)); in DMSwarmRemap_Colella_Internal() 1051 PetscCall(DMPlexRestoreCellCoordinates(vdm, vcStart, &isDG, &Nc, &array, &coords)); in DMSwarmRemap_Colella_Internal()
|
| /petsc/doc/manual/ |
| H A D | dmplex.md | 132 PetscBool isDG; 134 PetscCall(DMPlexGetCellCoordinates(dm, cell, &isDG, &numCoords, &array, &coords)); 145 PetscCall(DMPlexRestoreCellCoordinates(dm, cell, &isDG, &numCoords, &array, &coords));
|
| /petsc/src/dm/impls/plex/transform/interface/ |
| H A D | plextransform.c | 2300 PetscBool isDG; in DMPlexTransformSetCoordinates() local 2303 PetscCall(DMPlexGetCellCoordinates(dm, p, &isDG, &Nc, &array, &pcoords)); in DMPlexTransformSetCoordinates() 2327 PetscCall(DMPlexRestoreCellCoordinates(dm, p, &isDG, &Nc, &array, &pcoords)); in DMPlexTransformSetCoordinates()
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 1770 PetscBool isDG; in DMPlexCreateConnectivity_pforest() local 1774 PetscCall(DMPlexGetCellCoordinates(dm, c, &isDG, &dof, &array, &cellCoords)); in DMPlexCreateConnectivity_pforest() 1785 PetscCall(DMPlexRestoreCellCoordinates(dm, c, &isDG, &dof, &array, &cellCoords)); in DMPlexCreateConnectivity_pforest()
|