Lines Matching refs:user
19 PetscErrorCode ICs_FixMultiplicity(DM dm, CeedData ceed_data, User user, Vec Q_loc, Vec Q, CeedScal… in ICs_FixMultiplicity() argument
20 Ceed ceed = user->ceed; in ICs_FixMultiplicity()
26 …if (user->phys->ics_time_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(ceed_data->op_ics… in ICs_FixMultiplicity()
176 PetscErrorCode PrintError(CeedData ceed_data, DM dm, User user, Vec Q, PetscScalar final_time) { in PrintError() argument
186 PetscCall(ICs_FixMultiplicity(dm, ceed_data, user, Q_exact_loc, Q_exact, final_time)); in PrintError()
201 PetscErrorCode PostProcess(TS ts, CeedData ceed_data, DM dm, ProblemData problem, User user, Vec Q,… in PostProcess() argument
207 if (problem->compute_exact_solution_error && user->app_ctx->test_type == TESTTYPE_NONE) { in PostProcess()
208 PetscCall(PrintError(ceed_data, dm, user, Q, final_time)); in PostProcess()
214 if (user->app_ctx->test_type == TESTTYPE_NONE) { in PostProcess()
223 if (user->app_ctx->test_type == TESTTYPE_SOLVER) { in PostProcess()
224 PetscCall(RegressionTest(user->app_ctx, Q)); in PostProcess()
372 PetscErrorCode PrintRunInfo(User user, Physics phys_ctx, ProblemData problem, TS ts) { in PrintRunInfo() argument
373 Ceed ceed = user->ceed; in PrintRunInfo()
391 PetscCall(problem->print_info(user, problem, user->app_ctx)); in PrintRunInfo()
396 PetscCallCeed(ceed, CeedGetResource(user->ceed, &used_resource)); in PrintRunInfo()
397 PetscCallCeed(ceed, CeedGetPreferredMemType(user->ceed, &mem_type_backend)); in PrintRunInfo()
408 PetscCall(DMGetVecType(user->dm, &vec_type)); in PrintRunInfo()
441 if (user->app_ctx->cont_steps) { in PrintRunInfo()
447 … user->app_ctx->cont_file, user->app_ctx->cont_steps, user->app_ctx->cont_time)); in PrintRunInfo()
452 const CeedInt num_P = user->app_ctx->degree + 1, num_Q = num_P + user->app_ctx->q_extra; in PrintRunInfo()
453 PetscCall(DMGetGlobalVectorInfo(user->dm, &owned_dofs, &glob_dofs, NULL)); in PrintRunInfo()
454 PetscCall(DMGetLocalVectorInfo(user->dm, &local_dofs, NULL, NULL)); in PrintRunInfo()
505 PetscCall(DMGetSectionSF(user->dm, &sf)); in PrintRunInfo()