Lines Matching refs:num_vertices

278 …m, const PetscInt v_target, const PetscInt numthreads, const PetscInt num_vertices, const PetscInt…  in gridToParticles_private()  argument
285 …of %" PetscInt_FMT ": map back to particles\n", global_vertex_id + 1, num_vertices, v_id_0 + 1, ct… in gridToParticles_private()
289 if (glb_v_id < num_vertices) { in gridToParticles_private()
459 PetscErrorCode go(TS ts, Vec X, const PetscInt num_vertices, const PetscInt a_Np, const PetscInt di… in go() argument
484 …_FMT " global items (vertices) %d DMs\n", ctx->num_grids, ctx->batch_sz, num_vertices, (int)nDMs)); in go()
534 …for (PetscInt global_vertex_id_0 = 0; global_vertex_id_0 < num_vertices; global_vertex_id_0 += ctx… in go()
551 …if (glb_v_id < num_vertices) { // the ragged e… in go()
688 … if (glb_v_id < num_vertices) { // the ragged edge of the last batch in go()
707 if (glb_v_id < num_vertices) { in go()
720 if (glb_v_id < num_vertices) { in go()
734 if (glb_v_id < num_vertices) { in go()
754 if (glb_v_id < num_vertices) { in go()
802 …py batch %" PetscInt_FMT " of %" PetscInt_FMT ", n = %g\n", v_target, num_vertices, (double)(1 / N… in go()
854 if (glb_v_id < num_vertices) { in go()
919 … if (glb_v_id < num_vertices) { // the ragged edge of the last batch in go()
944 if (glb_v_id < num_vertices) { in go()
959 if (glb_v_id < num_vertices) { in go()
974 if (glb_v_id < num_vertices) { in go()
998 …Particles_private(grid_dm, globSwarmArray, dim, v_target, numthreads, num_vertices, global_vertex_… in go()
1013 if (glb_v_id < num_vertices) { in go()
1042 PetscInt dim = 2, num_vertices = 1, Np = 10, v_target = 0, g_target = 0; in main() local
1054 … of user spatial vertices to be batched for Landau", "ex30.c", num_vertices, &num_vertices, NULL)); in main()
1059num_vertices, PETSC_COMM_WORLD, PETSC_ERR_ARG_OUTOFRANGE, "Batch to view %" PetscInt_FMT " should … in main()
1079 PetscCall(go(ts, X, num_vertices, Np, dim, v_target, g_target, shift, use_uniform_particle_grid)); in main()