Home
last modified time | relevance | path

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

/petsc/src/dm/impls/swarm/
H A Dswarmpic.c1355 PetscInt *pindices, Npc; in DMProjectFieldLocal_Swarm() local
1357 PetscCall(DMSwarmSortGetPointsPerCell(dm, cell, &Npc, &pindices)); 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()
1381 … for (PetscInt b = 0; b < cbs[i]; ++b, ++off) xr[off] = coordVals[i][pindices[p] * cbs[i] + b]; in DMProjectFieldLocal_Swarm()
1387 …for (PetscInt b = 0; b < bs[i]; ++b, ++off) val[p * totbs + off] = vals[i][pindices[p] * bs[i] + b… in DMProjectFieldLocal_Swarm()
1401 …u, NULL, u_x, bs, NULL, &val[p * totbs], NULL, NULL, time, &xi[p * dim], 0, NULL, &a[pindices[p]]); in DMProjectFieldLocal_Swarm()
1403 PetscCall(DMSwarmSortRestorePointsPerCell(dm, cell, &Npc, &pindices)); in DMProjectFieldLocal_Swarm()