Lines Matching refs:npos
277 Vec npos; in DMSwarmMigrate_CellDMScatter() local
296 PetscCall(VecGetSubVector(pos, nis, &npos)); in DMSwarmMigrate_CellDMScatter()
297 PetscCall(DMLocatePoints(dmcell, npos, DM_POINTLOCATION_NONE, &sfcell)); in DMSwarmMigrate_CellDMScatter()
298 PetscCall(VecRestoreSubVector(pos, nis, &npos)); in DMSwarmMigrate_CellDMScatter()
300 PetscCall(VecCreate(PETSC_COMM_SELF, &npos)); in DMSwarmMigrate_CellDMScatter()
301 PetscCall(VecSetSizes(npos, 0, PETSC_DETERMINE)); in DMSwarmMigrate_CellDMScatter()
302 PetscCall(VecSetBlockSize(npos, bs)); in DMSwarmMigrate_CellDMScatter()
303 PetscCall(VecSetType(npos, dm->vectype)); in DMSwarmMigrate_CellDMScatter()
304 PetscCall(DMLocatePoints(dmcell, npos, DM_POINTLOCATION_NONE, &sfcell)); in DMSwarmMigrate_CellDMScatter()
305 PetscCall(VecDestroy(&npos)); in DMSwarmMigrate_CellDMScatter()
308 PetscCall(VecGetSubVector(pos, nis, &npos)); in DMSwarmMigrate_CellDMScatter()
309 PetscCall(DMLocatePoints(dmcell, npos, DM_POINTLOCATION_NONE, &sfcell)); in DMSwarmMigrate_CellDMScatter()
310 PetscCall(VecRestoreSubVector(pos, nis, &npos)); in DMSwarmMigrate_CellDMScatter()