Lines Matching refs:dm
141 DM dm; in main() local
160 PetscCall(CreateDM(comm, problem, mat_type, vec_type, &dm)); in main()
161 user->dm = dm; in main()
162 PetscCall(DMSetApplicationContext(dm, user)); in main()
171 PetscCall((*p)(problem, dm, &user, bc)); in main()
175 PetscCall(SetUpDM(dm, problem, app_ctx->degree, app_ctx->q_extra, bc, phys_ctx)); in main()
178 if (app_ctx->viz_refine) PetscCall(VizRefineDM(dm, user, problem, bc, phys_ctx)); in main()
185 PetscCall(DMCreateGlobalVector(dm, &Q)); in main()
189 PetscCall(DMCreateLocalVector(dm, &user->Q_loc)); in main()
190 PetscCall(DMCreateLocalVector(dm, &user->Q_dot_loc)); in main()
197 PetscCall(SetupLibceed(ceed, ceed_data, dm, user, app_ctx, problem, bc)); in main()
203 PetscCall(ICs_FixMultiplicity(dm, ceed_data, user, user->Q_loc, Q, 0.0)); in main()
213 PetscCall(SetBCsFromICs(dm, Q, user->Q_loc)); in main()
241 PetscCall(TSSolve_NS(dm, user, app_ctx, phys_ctx, problem, &Q, &final_time, &ts)); in main()
246 PetscCall(PostProcess(ts, ceed_data, dm, problem, user, Q, final_time)); in main()
320 PetscCall(DMDestroy(&dm)); in main()