Lines Matching refs:PetscObjectCast

21     PetscCallCXX(PetscObjectCast(dctx)->cpp = new CxxData{dctx});  in construct_()
34 PetscCall(PetscHeaderDestroy_Private(PetscObjectCast(dctx), PETSC_FALSE)); in destroy_()
49 PetscCall(PetscHeaderReset_Internal(PetscObjectCast(dctx))); in reset_()
152 if (--(PetscObjectCast(*dctx)->refct) <= 0) { in PetscDeviceContextDestroy()
328 …cDeviceContext %" PetscInt64_FMT " has no attached PetscDevice to get", PetscObjectCast(dctx)->id); in PetscDeviceContextGetDevice()
389 …e an explicitly attached PetscDevice, using default with type %s\n", PetscObjectCast(dctx)->id, Pe… in PetscDeviceContextSetUp()
483 …%" PetscInt64_FMT ") %s idle\n", PetscObjectCast(dctx)->name ? PetscObjectCast(dctx)->name : "unna… in PetscDeviceContextQueryIdle()
529 bid = PetscObjectCast(dctxb)->id; in PetscDeviceContextWaitForContext()
534 …a, "dctx %" PetscInt64_FMT " waiting on dctx %" PetscInt64_FMT "\n", PetscObjectCast(dctxa)->id, b… in PetscDeviceContextWaitForContext()
535 PetscCall(PetscObjectStateIncrease(PetscObjectCast(dctxa))); in PetscDeviceContextWaitForContext()
635 PetscCall(PetscObjectGetId(PetscObjectCast(childctx), &childID)); in PetscDeviceContextForkWithStreamType()
644 …t_FMT " children from parent %" PetscInt64_FMT " with IDs: %s\n", n, PetscObjectCast(dctx)->id, id… in PetscDeviceContextForkWithStreamType()
773 PetscCallCXX(idList += std::to_string(PetscObjectCast((*dsub)[i])->id)); in PetscDeviceContextJoin()
790 if (children[i] && (children[i] == PetscObjectCast((*dsub)[j])->id)) { in PetscDeviceContextJoin()
811 …t_FMT " ctxs to ctx %" PetscInt64_FMT ", mode %s with IDs: %s\n", n, PetscObjectCast(dctx)->id, Pe… in PetscDeviceContextJoin()
896 const auto pobj = PetscObjectCast(*dctx); in PetscDeviceContextGetNullContextForDevice_Private()
958 const auto pobj = PetscObjectCast(dctx); in PetscDeviceContextSetFromOptions()
1014 PetscCall(PetscObjectTypeCompare(PetscObjectCast(viewer), PETSCVIEWERASCII, &isascii)); in PetscDeviceContextView()
1020 PetscCall(PetscObjectPrintClassNamePrefixType(PetscObjectCast(dctx), sub)); in PetscDeviceContextView()
1062 PetscCall(PetscObjectViewFromOptions(PetscObjectCast(dctx), obj, name)); in PetscDeviceContextViewFromOptions()