Lines Matching refs:problem
74 ProblemData problem; in main() local
75 PetscCall(PetscCalloc1(1, &problem)); in main()
95 problem->set_bc_from_ics = PETSC_TRUE; in main()
109 PetscCall(BoundaryConditionSetUp(user, problem, app_ctx, bc)); in main()
160 PetscCall(CreateDM(comm, problem, mat_type, vec_type, &dm)); 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()
197 PetscCall(SetupLibceed(ceed, ceed_data, dm, user, app_ctx, problem, bc)); in main()
212 if (problem->set_bc_from_ics) { 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()
275 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_inflow.qfunction_context)); in main()
276 …PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_inflow_jacobian.qfunction_context)… in main()
277 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_outflow.qfunction_context)); in main()
278 …PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_outflow_jacobian.qfunction_context… in main()
279 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_freestream.qfunction_context)); in main()
280 …PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_freestream_jacobian.qfunction_cont… in main()
281 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_slip.qfunction_context)); in main()
282 … PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_slip_jacobian.qfunction_context)); in main()
283 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->ics.qfunction_context)); in main()
284 PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_vol_rhs.qfunction_context)); in main()
285 … PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_vol_ifunction.qfunction_context)); in main()
286 … PetscCallCeed(ceed, CeedQFunctionContextDestroy(&problem->apply_vol_ijacobian.qfunction_context)); in main()
335 for (PetscInt i = 0; i < problem->num_bc_defs; i++) { in main()
336 PetscCall(BCDefinitionDestroy(&problem->bc_defs[i])); in main()
338 PetscCall(PetscFree(problem->bc_defs)); in main()
341 PetscCall(PetscFree(problem)); in main()
346 PetscCall(PetscFree(problem)); in main()