Lines Matching refs:Np
65 PetscInt Np, timestep = 0, bs, N, M, nzl; in gridToParticles() local
145 PetscCall(DMSwarmGetLocalSize(sw, &Np)); in gridToParticles()
149 for (int p = 0; p < Np; p++) { in gridToParticles()
161 PetscErrorCode particlesToGrid(const DM dm, DM sw, const PetscInt Np, const PetscInt a_tid, const P… in particlesToGrid() argument
171 PetscCall(DMSwarmSetLocalSizes(sw, Np, zero)); in particlesToGrid()
174 for (p = 0; p < Np; p++) { in particlesToGrid()
221 PetscInt Np[2] = {10, 10}, Np2[2], field = 0, target = 0, Np_t[MAX_NUM_THRDS]; in go() local
247 PetscCall(PetscOptionsGetIntArray(NULL, NULL, "-np", Np, &i, NULL)); in go()
271 hp[i] = (hi[i] - lo[i]) / Np[i]; in go()
280 Np2[0] = Np[0]; in go()
281 Np2[1] = Np[1]; in go()
324 …)moments_1[2], (double)((moments_1[2] - moments_0[2]) / moments_0[2]), Np[0] * Np[1], numthreads)); in go()