Searched refs:newnleaves (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/is/utils/ |
| H A D | isltog.c | 1231 PetscInt nroots, nleaves, newnleaves, bs, i, j, m, mnroots, p; in ISLocalToGlobalMappingSetUpBlockInfo_Private() local 1274 for (i = 0, newnleaves = 0; i < nleaves; i++) { in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1275 newnleaves += leafdata[2 * i]; in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1280 PetscCall(PetscMalloc1(newnleaves, &newsfnode)); in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1298 …PetscCall(PetscSFSetGraph(sf2, mnroots, newnleaves, NULL, PETSC_OWN_POINTER, newsfnode, PETSC_OWN_… in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1302 PetscCall(PetscMalloc1(newnleaves, &newleafdata)); in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1314 …for (i = 0; i < newnleaves; i++) PetscCall(PetscHMapIPut(neighs, newleafdata[i], &iter, &missing)); in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1366 PetscCall(PetscMalloc1(newnleaves, &mapping->info_nodei[0])); in ISLocalToGlobalMappingSetUpBlockInfo_Private() 1368 PetscCall(PetscArraycpy(mapping->info_nodei[0], newleafdata, newnleaves)); in ISLocalToGlobalMappingSetUpBlockInfo_Private()
|