Searched refs:cOff (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/impls/plex/ |
| H A D | plexegads.c | 882 …s = 0, newVertices = 0, numEdges = 0, numCells = 0, newCells = 0, numQuads = 0, cOff = 0, fOff = 0; in DMPlexCreateGeom_Internal() local 1146 cOff = 0; in DMPlexCreateGeom_Internal() 1233 cells[cOff * numCorners + 0] = cone[0]; in DMPlexCreateGeom_Internal() 1234 cells[cOff * numCorners + 1] = cone[1]; in DMPlexCreateGeom_Internal() 1235 cells[cOff * numCorners + 2] = cone[2]; in DMPlexCreateGeom_Internal() 1236 ++cOff; in DMPlexCreateGeom_Internal() 1237 cells[cOff * numCorners + 0] = cone[0]; in DMPlexCreateGeom_Internal() 1238 cells[cOff * numCorners + 1] = cone[2]; in DMPlexCreateGeom_Internal() 1239 cells[cOff * numCorners + 2] = cone[3]; in DMPlexCreateGeom_Internal() 1240 ++cOff; in DMPlexCreateGeom_Internal() [all …]
|
| H A D | plextree.c | 264 PetscInt cStart, cOff, cOff2; in DMPlexCreateReferenceTree_Union() local 266 PetscCall(PetscSectionGetOffset(unionSection, cStart - pStart, &cOff)); in DMPlexCreateReferenceTree_Union() 273 numDimPoints[dim - d] = cOff2 - cOff; in DMPlexCreateReferenceTree_Union() 302 PetscInt dof, uOff, c, cOff; in DMPlexCreateReferenceTree_Union() local 309 PetscCall(PetscSectionGetOffset(unionConeSection, uOff, &cOff)); in DMPlexCreateReferenceTree_Union() 314 unionCones[cOff + c] = eOff; in DMPlexCreateReferenceTree_Union() 315 unionOrientations[cOff + c] = orientation[c]; in DMPlexCreateReferenceTree_Union() 319 PetscInt dof, uDof, uOff, c, cOff; in DMPlexCreateReferenceTree_Union() local 328 PetscCall(PetscSectionGetOffset(unionConeSection, uOff, &cOff)); in DMPlexCreateReferenceTree_Union() 340 unionCones[cOff + c] = eOff; in DMPlexCreateReferenceTree_Union() [all …]
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex20.c | 77 PetscInt cOff, sOff; in main() local 79 PetscCall(PetscSectionGetOffset(coordSection, v, &cOff)); in main() 81 xArray[sOff] = coordArray[cOff + d]; in main()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex3.c | 475 PetscInt cOff, a, aDof, aOff, j; in SetupSection() local 479 PetscCall(PetscSectionGetOffset(aSec, c, &cOff)); in SetupSection() 480 a = anchors[cOff]; in SetupSection() 484 PetscCall(PetscSectionGetOffset(cSec, c, &cOff)); in SetupSection() 494 … for (j = 0; j < cDof; j++) PetscCall(MatSetValue(cMat, cOff + j, aOff + j, 1., INSERT_VALUES)); in SetupSection()
|