Lines Matching refs:Npc
1168 PetscInt *pidx, Npc, q; in DMSwarmInitializeCoordinates() local
1170 PetscCall(DMSwarmSortGetPointsPerCell(sw, c, &Npc, &pidx)); in DMSwarmInitializeCoordinates()
1172 for (q = 0; q < Npc; ++q) { in DMSwarmInitializeCoordinates()
1182 PetscCall(DMSwarmSortRestorePointsPerCell(sw, c, &Npc, &pidx)); in DMSwarmInitializeCoordinates()
1355 PetscInt *pindices, Npc; in DMProjectFieldLocal_Swarm() local
1357 PetscCall(DMSwarmSortGetPointsPerCell(dm, cell, &Npc, &pindices)); in DMProjectFieldLocal_Swarm()
1358 maxC = PetscMax(maxC, Npc); in DMProjectFieldLocal_Swarm()
1359 PetscCall(DMSwarmSortRestorePointsPerCell(dm, cell, &Npc, &pindices)); in DMProjectFieldLocal_Swarm()
1365 PetscInt *pindices, Npc; in DMProjectFieldLocal_Swarm() local
1369 PetscCall(DMSwarmSortGetPointsPerCell(dm, cell, &Npc, &pindices)); in DMProjectFieldLocal_Swarm()
1375 for (PetscInt p = 0; p < Npc; ++p) { in DMProjectFieldLocal_Swarm()
1396 PetscCall(PetscFECreateTabulation(fe, 1, Npc, xi, 1, &T[field])); in DMProjectFieldLocal_Swarm()
1398 for (PetscInt p = 0; p < Npc; ++p) { in DMProjectFieldLocal_Swarm()
1403 PetscCall(DMSwarmSortRestorePointsPerCell(dm, cell, &Npc, &pindices)); in DMProjectFieldLocal_Swarm()