Lines Matching refs:NN

398       PetscInt      bs, NN;  in PostStep()  local
405 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in PostStep()
407 for (PetscInt pp = 0; pp < NN; pp++) { in PostStep()
424 PetscInt bs, NN; in PostStep() local
426 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in PostStep()
428 for (PetscInt pp = 0; pp < NN; pp++) { in PostStep()
566 …const PetscInt NNreal = Npi * Npj * Npk, NN = NNreal + (dim == 2 ? 3 : 6); // make room for boundi… in go() local
567 Np_t[grid][tid] = NN; in go()
568 if (glb_v_id == v_target) nTargetP[grid] = NN; in go()
569 …PetscCall(PetscMalloc4(NN, &xx_t[grid][tid], NN, &yy_t[grid][tid], NN, &wp_t[grid][tid], dim == 2 … in go()
576 …etscInt_FMT " particles (diagnostic target = %" PetscInt_FMT ")\n", glb_v_id, grid, NN, v_target)); in go()
673 const PetscInt NN = nTargetP[grid]; in go() local
674 for (PetscInt pp = 0; pp < NN; pp++) { in go()
781 PetscInt bs, NN; in go() local
788 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in go()
790 for (PetscInt pp = 0; pp < NN; pp++) { in go()
807 PetscInt bs, NN; in go() local
808 PetscCall(DMSwarmGetLocalSize(sw, &NN)); in go()
811 for (PetscInt pp = 0; pp < NN; pp++) { in go()
860 PetscInt Npi = Npp0, Npj = 2 * Npp0, Npk = 1, NN; in go() local
868NN = Npi * Npj * Npk + (dim == 2 ? 3 : 6); // make a regular grid of particles Npp x Npp in go()
873 NN = Npi * Npj * Npk + (dim == 2 ? 3 : 6); in go()
875 Np_t[grid][tid] = NN; in go()
876 …PetscCall(PetscMalloc4(NN, &xx_t[grid][tid], NN, &yy_t[grid][tid], NN, &wp_t[grid][tid], dim == 2 … in go()
881 … PetscCall(PetscInfo(pack, "Resampling %d particles, %d vertices\n", (int)NN, (int)Nv)); // temp in go()
893 PetscInt pp = NN - 3; in go()
904 const PetscInt p0 = NN - 6; in go()