Searched refs:nkeys (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/sys/objects/device/tests/ |
| H A D | ex11.cxx | 40 static PetscErrorCode MarkedObjectMapView(PetscViewer vwr, std::size_t nkeys, const PetscObjectId *… in MarkedObjectMapView() argument 48 PetscCall(PetscViewerASCIISynchronizedPrintf(vwr, "size: %zu\n", nkeys)); in MarkedObjectMapView() 51 for (std::size_t i = 0; i < nkeys; ++i) { in MarkedObjectMapView() 74 …onst char cond_str[], MPI_Comm comm, PetscDeviceContext dctx, std::size_t nkeys, const PetscObject… in CheckMarkedObjectMap_Private() argument 89 PetscCall(MarkedObjectMapView(vwr, nkeys, keys, modes, ndeps, dependencies)); in CheckMarkedObjectMap_Private() 95 …etscBool)(!!(__cond__)), PetscStringize(__cond__), PETSC_COMM_SELF, dctx, nkeys, keys, modes, ndep… 117 std::size_t nkeys; in TestAllCombinations() local 126 PetscCall(PetscGetMarkedObjectMap_Internal(&nkeys, &keys, &modes, &ndeps, &dependencies)); in TestAllCombinations() 127 PetscCallCXX(found_keys.resize(nkeys)); in TestAllCombinations() 134 const auto keys_end = keys + nkeys; in TestAllCombinations() [all …]
|
| /petsc/src/vec/is/is/utils/ |
| H A D | isblock.c | 23 PetscErrorCode ISCompressIndicesGeneral(PetscInt n, PetscInt nkeys, PetscInt bs, PetscInt imax, con… in ISCompressIndicesGeneral() argument 40 PetscCall(PetscHMapICreateWithSize(nkeys / bs, &gid1_lid1)); in ISCompressIndicesGeneral() 126 PetscErrorCode ISExpandIndicesGeneral(PetscInt n, PetscInt nkeys, PetscInt bs, PetscInt imax, const… in ISExpandIndicesGeneral() argument
|
| /petsc/src/sys/objects/device/c/ |
| H A D | device.c | 294 PetscErrorCode PetscGetMarkedObjectMap_Internal(size_t *nkeys, PetscObjectId **keys, PetscMemoryAcc… in PetscGetMarkedObjectMap_Internal() argument 297 PetscAssertPointer(nkeys, 1); in PetscGetMarkedObjectMap_Internal() 302 *nkeys = 0; in PetscGetMarkedObjectMap_Internal() 310 PetscErrorCode PetscRestoreMarkedObjectMap_Internal(size_t nkeys, PETSC_UNUSED PetscObjectId **keys… in PetscRestoreMarkedObjectMap_Internal() argument
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 359 PetscErrorCode PetscGetMarkedObjectMap_Internal(std::size_t *nkeys, PetscObjectId **keys, PetscMemo… in PetscGetMarkedObjectMap_Internal() argument 363 const auto size = *nkeys = map.size(); in PetscGetMarkedObjectMap_Internal() 382 PetscErrorCode PetscRestoreMarkedObjectMap_Internal(std::size_t nkeys, PetscObjectId **keys, PetscM… in PetscRestoreMarkedObjectMap_Internal() argument 385 for (std::size_t i = 0; i < nkeys; ++i) PetscCall(PetscFree((*dependencies)[i])); in PetscRestoreMarkedObjectMap_Internal()
|
| /petsc/src/vec/is/sf/impls/window/ |
| H A D | sfwindow.c | 965 PetscMPIInt k, nkeys; in PetscSFView_Window() local 968 PetscCallMPI(MPI_Info_get_nkeys(w->info, &nkeys)); in PetscSFView_Window() 969 …werASCIIPrintf(viewer, " current info with %d keys. Ordered key-value pairs follow:\n", nkeys)); in PetscSFView_Window() 970 for (k = 0; k < nkeys; k++) { in PetscSFView_Window()
|