Lines Matching refs:problem

21 static PetscErrorCode PRINT_ADVECTION(Honee honee, ProblemData problem, AppCtx app_ctx) {  in PRINT_ADVECTION()  argument
30 PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->ics.qfctx, CEED_MEM_HOST, &setup_ctx)); in PRINT_ADVECTION()
31 …PetscCallCeed(ceed, CeedQFunctionContextGetData(problem->apply_vol_rhs.qfctx, CEED_MEM_HOST, &adve… in PRINT_ADVECTION()
68 PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->ics.qfctx, &setup_ctx)); in PRINT_ADVECTION()
69 …PetscCallCeed(ceed, CeedQFunctionContextRestoreData(problem->apply_vol_rhs.qfctx, &advection_ctx)); in PRINT_ADVECTION()
381 PetscErrorCode NS_ADVECTION(ProblemData problem, DM dm, void *ctx) { in NS_ADVECTION() argument
489 if (stab == STAB_SUPG) problem->create_mass_operator = CreateKSPMassOperator_AdvectionStabilized; in NS_ADVECTION()
546 problem->print_info = PRINT_ADVECTION; in NS_ADVECTION()
547 problem->num_comps_jac_data = 0; in NS_ADVECTION()
550problem->ics = (HoneeQFSpec){.qf_func_ptr = ICsAdvection2d, .qf_loc = ICs… in NS_ADVECTION()
551problem->apply_vol_rhs = (HoneeQFSpec){.qf_func_ptr = RHS_Advection2d, .qf_loc = RH… in NS_ADVECTION()
552problem->apply_vol_ifunction = (HoneeQFSpec){.qf_func_ptr = IFunction_Advection2d, .qf_lo… in NS_ADVECTION()
553 problem->compute_exact_solution_error = PETSC_TRUE; in NS_ADVECTION()
556problem->ics = (HoneeQFSpec){.qf_func_ptr = ICsAdvection, .qf_loc = ICsAd… in NS_ADVECTION()
557problem->apply_vol_rhs = (HoneeQFSpec){.qf_func_ptr = RHS_Advection, .qf_loc = RHS_… in NS_ADVECTION()
558problem->apply_vol_ifunction = (HoneeQFSpec){.qf_func_ptr = IFunction_Advection, .qf_loc … in NS_ADVECTION()
559 problem->compute_exact_solution_error = PETSC_FALSE; in NS_ADVECTION()
562 problem->ics.qfctx = ics_qfctx; in NS_ADVECTION()
563 problem->apply_vol_rhs.qfctx = advection_qfctx; in NS_ADVECTION()
564 …PetscCallCeed(ceed, CeedQFunctionContextReferenceCopy(advection_qfctx, &problem->apply_vol_ifuncti… in NS_ADVECTION()
566 problem->num_components = 5; in NS_ADVECTION()
567 PetscCall(PetscMalloc1(problem->num_components, &problem->component_names)); in NS_ADVECTION()
568 …for (PetscInt i = 0; i < 5; i++) PetscCall(PetscStrallocpy(component_names[i], &problem->component… in NS_ADVECTION()
597 for (PetscCount b = 0; b < problem->num_bc_defs; b++) { in NS_ADVECTION()
598 BCDefinition bc_def = problem->bc_defs[b]; in NS_ADVECTION()