Lines Matching refs:problem

54 static PetscErrorCode CreateKSPMass(Honee honee, ProblemData problem) {  in CreateKSPMass()  argument
60 if (problem->create_mass_operator) PetscCall(problem->create_mass_operator(honee, &op_mass)); in CreateKSPMass()
92 PetscErrorCode SetupLibceed(Ceed ceed, DM dm, Honee honee, AppCtx app_ctx, ProblemData problem) { in SetupLibceed() argument
93 const PetscInt num_comp_q = problem->num_components; in SetupLibceed()
95 CeedInt q_data_size_vol, num_comps_jac_data = problem->num_comps_jac_data; in SetupLibceed()
143 …PetscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, problem->ics.qf_func_ptr, problem->ics.qf… in SetupLibceed()
144 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_ics, problem->ics.qfctx)); in SetupLibceed()
162 if (problem->apply_vol_rhs.qf_func_ptr) { in SetupLibceed()
165 …tscCallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, problem->apply_vol_rhs.qf_func_ptr, problem in SetupLibceed()
166 PetscCallCeed(ceed, CeedQFunctionSetContext(qf_rhs_vol, problem->apply_vol_rhs.qfctx)); in SetupLibceed()
190 if (problem->apply_vol_ifunction.qf_func_ptr) { in SetupLibceed()
193 …CallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, problem->apply_vol_ifunction.qf_func_ptr, prob… in SetupLibceed()
195 …PetscCallCeed(ceed, CeedQFunctionSetContext(qf_ifunction_vol, problem->apply_vol_ifunction.qfctx)); in SetupLibceed()
223 if (problem->apply_vol_ijacobian.qf_func_ptr) { in SetupLibceed()
226 …CallCeed(ceed, CeedQFunctionCreateInterior(ceed, 1, problem->apply_vol_ijacobian.qf_func_ptr, prob… in SetupLibceed()
228 …PetscCallCeed(ceed, CeedQFunctionSetContext(qf_ijacobian_vol, problem->apply_vol_ijacobian.qfctx)); in SetupLibceed()
254 …for (PetscCount b = 0; b < problem->num_bc_defs; b++) PetscCall(BCDefinitionAddOperators(problem->… in SetupLibceed()
263 PetscCall(CreateKSPMass(honee, problem)); in SetupLibceed()
275 …for (PetscCount b = 0; b < problem->num_bc_defs; b++) PetscCall(BCDefinitionAddOperators(problem->… in SetupLibceed()
286 … if (app_ctx->sgs_model_type == SGS_MODEL_DATA_DRIVEN) PetscCall(SgsDDSetup(ceed, honee, problem)); in SetupLibceed()
289 if (problem->use_strong_bc_ceed) PetscCall(SetupStrongBC_Ceed(ceed, dm, honee, problem)); in SetupLibceed()