Home
last modified time | relevance | path

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

/petsc/src/dm/impls/swarm/tests/
H A Dex7.c221 PetscInt Np[2] = {10, 10}, Np2[2], field = 0, target = 0, Np_t[MAX_NUM_THRDS]; in go() local
283 Np_t[tid] = Np2[0] * Np2[1]; in go()
284 PetscCall(PetscMalloc3(Np_t[tid], &xx_t[tid], Np_t[tid], &yy_t[tid], Np_t[tid], &wp_t[tid])); in go()
292 PetscCall(maxwellian(2, x, 1.0, vol / (PetscReal)Np_t[tid], &wp_t[tid][pp])); in go()
310 …++) PetscCallAbort(PETSC_COMM_SELF, particlesToGrid(dm_t[tid], sw_t[tid], Np_t[tid], tid, dim, tar… in go()
/petsc/src/ts/tests/
H A Dex30.c547 PetscInt Np_t[LANDAU_MAX_GRIDS][EX30_MAX_NUM_THRDS]; in go() local
567 Np_t[grid][tid] = NN; in go()
713 …ierr_t = makeSwarm(sw, dim, Np_t[grid][tid], xx_t[grid][tid], yy_t[grid][tid], zz_t[gri… in go()
851 PetscInt Np_t[LANDAU_MAX_GRIDS][EX30_MAX_NUM_THRDS]; in go() local
875 Np_t[grid][tid] = NN; in go()
950 …ierr_t = makeSwarm(sw, dim, Np_t[grid][tid], xx_t[grid][tid], yy_t[grid][tid], zz_t[gri… in go()