Lines Matching refs:dm
62 DM dm; in main() local
86 PetscCall(CreateDM(honee, problem, mat_type, vec_type, &dm)); in main()
87 honee->dm = dm; in main()
88 PetscCall(DMSetApplicationContext(dm, honee)); in main()
89 PetscCall(HoneeMeshTransformFromOptions(dm)); in main()
96 PetscCall((*p)(problem, dm, &honee)); in main()
100 PetscCall(SetUpDM(dm, problem, app_ctx->degree, app_ctx->q_extra, phys_ctx)); in main()
103 if (app_ctx->viz_refine) PetscCall(VizRefineDM(dm, honee, problem, phys_ctx)); in main()
110 PetscCall(DMCreateGlobalVector(dm, &Q)); in main()
112 PetscCall(DMCreateLocalVector(dm, &honee->Q_loc)); in main()
113 PetscCall(DMCreateLocalVector(dm, &honee->Q_dot_loc)); in main()
120 PetscCall(SetupLibceed(ceed, dm, honee, app_ctx, problem)); in main()
130 PetscCall(ICs_FixMultiplicity(dm, honee, honee->Q_loc, Q, 0.0)); in main()
140 PetscCall(SetBCsFromICs(dm, Q, honee->Q_loc)); in main()
159 PetscCall(TSSolve_NS(dm, honee, app_ctx, phys_ctx, problem, Q, &final_time, &ts)); in main()
164 PetscCall(PostProcess(ts, dm, problem, honee, Q, final_time)); in main()
168 PetscCall(DMDestroy(&dm)); in main()