Home
last modified time | relevance | path

Searched refs:npoints_curr (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/swarm/
H A Dswarm_migrate.c209 PetscInt npoints_curr, range = 0; in DMSwarmMigrate_CellDMScatter() local
212 PetscCall(DMSwarmDataBucketGetSizes(swarm->db, &npoints_curr, NULL, NULL)); in DMSwarmMigrate_CellDMScatter()
213 PetscCall(PetscMalloc1(npoints_curr, &sf_cells)); in DMSwarmMigrate_CellDMScatter()
216 for (p = 0; p < npoints_curr; p++) { in DMSwarmMigrate_CellDMScatter()
225 …PetscCall(PetscSFSetGraph(sfcell, range, npoints_curr, NULL, PETSC_OWN_POINTER, sf_cells, PETSC_OW… in DMSwarmMigrate_CellDMScatter()
252 PetscInt npoints_curr; in DMSwarmMigrate_CellDMScatter() local
258 PetscCall(DMSwarmDataBucketGetSizes(swarm->db, &npoints_curr, NULL, NULL)); in DMSwarmMigrate_CellDMScatter()
260 for (p = 0; p < npoints_curr; p++) { in DMSwarmMigrate_CellDMScatter()
264 …PetscCall(DMSwarmDataBucketGetSizes(swarm->db, &npoints_curr, NULL, NULL)); /* you need to update … in DMSwarmMigrate_CellDMScatter()