Lines Matching full:problem
14 static PetscErrorCode PRINT_EULER_VORTEX(Honee honee, ProblemData problem, AppCtx app_ctx) { in PRINT_EULER_VORTEX() argument
20 PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfctx, CEED_MEM_HOST, &euler_ctx)); in PRINT_EULER_VORTEX()
22 " Problem:\n" in PRINT_EULER_VORTEX()
23 " Problem Name : %s\n" in PRINT_EULER_VORTEX()
30 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfctx, &euler_ctx)); in PRINT_EULER_VORTEX()
54 PetscErrorCode NS_EULER_VORTEX(ProblemData problem, DM dm, void *ctx) { in NS_EULER_VORTEX() argument
71 …problem->ics = (HoneeQFSpec){.qf_func_ptr = ICsEuler, .qf_loc = ICsEuler_… in NS_EULER_VORTEX()
72 problem->apply_vol_rhs = (HoneeQFSpec){.qf_func_ptr = Euler, .qf_loc = Euler_loc}; in NS_EULER_VORTEX()
73 …problem->apply_vol_ifunction = (HoneeQFSpec){.qf_func_ptr = IFunction_Euler, .qf_loc = IF… in NS_EULER_VORTEX()
74 problem->num_comps_jac_data = 0; in NS_EULER_VORTEX()
75 problem->compute_exact_solution_error = PETSC_TRUE; in NS_EULER_VORTEX()
76 problem->print_info = PRINT_EULER_VORTEX; in NS_EULER_VORTEX()
78 problem->num_components = 5; in NS_EULER_VORTEX()
79 PetscCall(PetscMalloc1(problem->num_components, &problem->component_names)); in NS_EULER_VORTEX()
80 …for (PetscInt i = 0; i < 5; i++) PetscCall(PetscStrallocpy(component_names[i], &problem->component… in NS_EULER_VORTEX()
99 PetscOptionsBegin(comm, NULL, "Options for EULER_VORTEX problem", NULL); in NS_EULER_VORTEX()
153 PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_qfctx, &problem->ics.qfctx)); in NS_EULER_VORTEX()
154 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_qfctx, &problem->apply_vol_rhs.qfctx)); in NS_EULER_VORTEX()
155 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(euler_qfctx, &problem->apply_vol_ifunction.q… in NS_EULER_VORTEX()
157 for (PetscCount b = 0; b < problem->num_bc_defs; b++) { in NS_EULER_VORTEX()
158 BCDefinition bc_def = problem->bc_defs[b]; in NS_EULER_VORTEX()