Searched refs:ncurr (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/ksp/ksp/tutorials/network/ |
| H A D | ex2.c | 41 PetscInt nbat, ncurr, fr, to; in random_network() local 58 ncurr = (PetscInt)(0.1 * nvertex); in random_network() 141 for (i = 0; i < ncurr; i++) { in random_network()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex70.c | 526 PetscInt dim, nel, npe, q, k, d, ncurr, Nfc; in DMSwarmPICInsertPointsCellwise() local 589 PetscCall(DMSwarmGetLocalSize(dm, &ncurr)); in DMSwarmPICInsertPointsCellwise() 628 for (q = 0; q < npoints; q++) PetscCall(DMSwarmCopyPoint(dm, nnlist[q], ncurr + q)); in DMSwarmPICInsertPointsCellwise() 633 for (d = 0; d < dim; d++) swarm_coor[dim * (ncurr + q) + d] = xp[dim * q + d]; in DMSwarmPICInsertPointsCellwise() 635 swarm_cellid[ncurr + q] = e; in DMSwarmPICInsertPointsCellwise() 647 for (d = 0; d < dim; d++) swarm_coor[dim * (ncurr + q) + d] = xp[dim * q + d]; in DMSwarmPICInsertPointsCellwise() 649 swarm_cellid[ncurr + q] = e; in DMSwarmPICInsertPointsCellwise()
|