Searched refs:childIDs (Results 1 – 6 of 6) sorted by relevance
| /petsc/src/sys/objects/device/interface/ |
| H A D | dcontext.cxx | 32 PetscCall(PetscFree(dctx->childIDs)); in destroy_() 53 PetscCall(PetscArrayzero(dctx->childIDs, dctx->maxNumChildren)); in reset_() 610 if (auto &childIDs = dctx->childIDs) { in PetscDeviceContextForkWithStreamType() local 614 PetscCall(PetscRealloc(numChildren * sizeof(*childIDs), &childIDs)); in PetscDeviceContextForkWithStreamType() 616 PetscCall(PetscArrayzero(std::next(childIDs, maxNumChildren), numAllocated)); in PetscDeviceContextForkWithStreamType() 619 PetscCall(PetscCalloc1(numChildren, &childIDs)); in PetscDeviceContextForkWithStreamType() 626 auto &childID = dctx->childIDs[i]; in PetscDeviceContextForkWithStreamType() 781 const auto children = dctx->childIDs; in PetscDeviceContextJoin() 1029 PetscCall(PetscViewerASCIIPrintf(sub, "%" PetscInt64_FMT, dctx->childIDs[i])); in PetscDeviceContextView() 1031 PetscCall(PetscViewerASCIIPrintf(sub, "%" PetscInt64_FMT ", ", dctx->childIDs[i])); in PetscDeviceContextView()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plextree.c | 211 …teReferenceTree_SetTree(DM dm, PetscSection parentSection, PetscInt parents[], PetscInt childIDs[]) in DMPlexCreateReferenceTree_SetTree() argument 214 PetscCall(DMPlexSetTree_Internal(dm, parentSection, parents, childIDs, PETSC_TRUE, PETSC_FALSE)); in DMPlexCreateReferenceTree_SetTree() 221 PetscInt dim, p, pStart, pEnd, pRefStart, pRefEnd, d, offset, parentSize, *parents, *childIDs; in DMPlexCreateReferenceTree_Union() local 395 PetscCall(PetscMalloc2(parentSize, &parents, parentSize, &childIDs)); in DMPlexCreateReferenceTree_Union() 407 childIDs[pOff] = uOff; in DMPlexCreateReferenceTree_Union() 410 PetscCall(DMPlexCreateReferenceTree_SetTree(*ref, parentSection, parents, childIDs)); in DMPlexCreateReferenceTree_Union() 412 PetscCall(PetscFree2(parents, childIDs)); in DMPlexCreateReferenceTree_Union() 895 …nternal(DM dm, PetscSection parentSection, PetscInt *parents, PetscInt *childIDs, PetscBool comput… in DMPlexSetTree_Internal() argument 913 if (childIDs != mesh->childIDs) { in DMPlexSetTree_Internal() 914 PetscCall(PetscFree(mesh->childIDs)); in DMPlexSetTree_Internal() [all …]
|
| H A D | plexsubmesh.c | 863 PetscInt *parents, *childIDs; in DMPlexShiftTree_Internal() local 868 PetscCall(DMPlexGetTree(dm, &pSec, &parents, &childIDs, NULL, NULL)); in DMPlexShiftTree_Internal() 904 childIDsShifted[offNew] = childIDs[off]; in DMPlexShiftTree_Internal()
|
| H A D | plex.c | 2876 PetscCall(PetscFree(mesh->childIDs)); in DMDestroy_Plex()
|
| /petsc/include/petsc/private/ |
| H A D | deviceimpl.h | 239 …PetscObjectId *childIDs; /* array containing ids of contexts currently forked from this one… member
|
| H A D | dmpleximpl.h | 194 PetscInt *childIDs; /* point to child ID */ member
|