Searched refs:nchild (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/sys/objects/device/interface/ |
| H A D | dcontext.cxx | 783 auto &nchild = dctx->numChildren; in PetscDeviceContextJoin() local 786 …nchild, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Trying to destroy %" PetscInt_FMT " children o… in PetscDeviceContextJoin() 788 nchild -= n; in PetscDeviceContextJoin() 1025 if (const auto nchild = dctx->numChildren) { in PetscDeviceContextView() local 1027 for (PetscInt i = 0; i < nchild; ++i) { in PetscDeviceContextView() 1028 if (i == nchild - 1) { in PetscDeviceContextView()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexfem.c | 4148 PetscInt ghost, nsupp, nchild; in DMPlexGetFaceFields() local 4152 PetscCall(DMPlexGetTreeChildren(dm, face, &nchild, NULL)); in DMPlexGetFaceFields() 4153 if (ghost >= 0 || nsupp > 2 || nchild > 0) continue; in DMPlexGetFaceFields() 4308 PetscInt ghost, d, nchild, nsupp; in DMPlexGetFaceGeometry() local 4312 PetscCall(DMPlexGetTreeChildren(dm, face, &nchild, NULL)); in DMPlexGetFaceGeometry() 4313 if (ghost >= 0 || nsupp > 2 || nchild > 0) continue; in DMPlexGetFaceGeometry() 5386 PetscInt ghost, d, nsupp, nchild; in DMPlexComputeResidualByKey() local 5390 PetscCall(DMPlexGetTreeChildren(dm, face, &nchild, NULL)); in DMPlexComputeResidualByKey() 5391 if (ghost >= 0 || nsupp > 2 || nchild > 0) continue; in DMPlexComputeResidualByKey()
|