Lines Matching refs:num_levels
71 PetscInt num_levels = 1, fine_level = 0; in main() local
88 num_levels = app_ctx->num_levels; in main()
89 fine_level = num_levels - 1; in main()
139 PetscCall(PetscMalloc1(num_levels, &level_dms)); in main()
140 for (PetscInt level = 0; level < num_levels; level++) { in main()
182 PetscCall(PetscMalloc1(num_levels, &U_g)); in main()
183 PetscCall(PetscMalloc1(num_levels, &U_loc)); in main()
184 PetscCall(PetscMalloc1(num_levels, &U_g_size)); in main()
185 PetscCall(PetscMalloc1(num_levels, &U_l_size)); in main()
186 PetscCall(PetscMalloc1(num_levels, &U_loc_size)); in main()
189 for (PetscInt level = 0; level < num_levels; level++) { in main()
242 PetscCall(PetscMalloc1(num_levels, &ceed_data)); in main()
254 for (PetscInt level = num_levels - 2; level >= 0; level--) { in main()
354 … (app_ctx->degree == 1 || app_ctx->multigrid_choice == MULTIGRID_NONE) ? 0 : num_levels)); in main()
383 PetscCall(PetscMalloc1(num_levels, &jacob_ctx)); in main()
384 PetscCall(PetscMalloc1(num_levels, &jacob_mat)); in main()
385 for (PetscInt level = 0; level < num_levels; level++) { in main()
400 form_jacob_ctx->num_levels = num_levels; in main()
413 PetscCall(PetscMalloc1(num_levels, &prolong_restr_ctx)); in main()
414 PetscCall(PetscMalloc1(num_levels, &prolong_restr_mat)); in main()
415 for (PetscInt level = 1; level < num_levels; level++) { in main()
501 PetscCall(PCMGSetLevels(pc, num_levels, NULL)); in main()
502 for (PetscInt level = 0; level < num_levels; level++) { in main()
803 for (PetscInt level = 0; level < num_levels; level++) { in main()