Lines Matching full:problem

18 PetscErrorCode NS_EULER_VORTEX(ProblemData problem, DM dm, void *ctx, SimpleBC bc) {  in NS_EULER_VORTEX()  argument
34 problem->dim = 3; in NS_EULER_VORTEX()
35 problem->ics.qfunction = ICsEuler; in NS_EULER_VORTEX()
36 problem->ics.qfunction_loc = ICsEuler_loc; in NS_EULER_VORTEX()
37 problem->apply_vol_rhs.qfunction = Euler; in NS_EULER_VORTEX()
38 problem->apply_vol_rhs.qfunction_loc = Euler_loc; in NS_EULER_VORTEX()
39 problem->apply_vol_ifunction.qfunction = IFunction_Euler; in NS_EULER_VORTEX()
40 problem->apply_vol_ifunction.qfunction_loc = IFunction_Euler_loc; in NS_EULER_VORTEX()
41 problem->apply_inflow.qfunction = TravelingVortex_Inflow; in NS_EULER_VORTEX()
42 problem->apply_inflow.qfunction_loc = TravelingVortex_Inflow_loc; in NS_EULER_VORTEX()
43 problem->apply_outflow.qfunction = Euler_Outflow; in NS_EULER_VORTEX()
44 problem->apply_outflow.qfunction_loc = Euler_Outflow_loc; in NS_EULER_VORTEX()
45 problem->compute_exact_solution_error = PETSC_TRUE; in NS_EULER_VORTEX()
46 problem->print_info = PRINT_EULER_VORTEX; in NS_EULER_VORTEX()
69 PetscOptionsBegin(comm, NULL, "Options for EULER_VORTEX problem", NULL); in NS_EULER_VORTEX()
72 PetscInt n = problem->dim; in NS_EULER_VORTEX()
76 n = problem->dim; in NS_EULER_VORTEX()
114 problem->dm_scale = meter; in NS_EULER_VORTEX()
136 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->ics.qfunction_conte… in NS_EULER_VORTEX()
137 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_vol_rhs.qfunc… in NS_EULER_VORTEX()
138 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_vol_ifunction… in NS_EULER_VORTEX()
139 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_inflow.qfunct… in NS_EULER_VORTEX()
140 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_context, &problem->apply_outflow.qfunc… in NS_EULER_VORTEX()
145 PetscErrorCode PRINT_EULER_VORTEX(User user, ProblemData problem, AppCtx app_ctx) { in PRINT_EULER_VORTEX() argument
151 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfunction_context, CEED_MEM_HOST, &eu… in PRINT_EULER_VORTEX()
153 " Problem:\n" in PRINT_EULER_VORTEX()
154 " Problem Name : %s\n" in PRINT_EULER_VORTEX()
161 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfunction_context, &euler_ctx)); in PRINT_EULER_VORTEX()