Lines Matching refs:global_stg_ctx
22 StgShur14Context global_stg_ctx; variable
247 PetscCall(PetscCalloc1(1, &global_stg_ctx)); in SetupStg()
248 global_stg_ctx->alpha = alpha; in SetupStg()
249 global_stg_ctx->u0 = u0; in SetupStg()
250 global_stg_ctx->is_implicit = user->phys->implicit; in SetupStg()
251 global_stg_ctx->prescribe_T = prescribe_T; in SetupStg()
252 global_stg_ctx->mean_only = mean_only; in SetupStg()
253 global_stg_ctx->use_fluctuating_IC = use_fluctuating_IC; in SetupStg()
254 global_stg_ctx->theta0 = theta0; in SetupStg()
255 global_stg_ctx->P0 = P0; in SetupStg()
256 global_stg_ctx->h_scale_factor = stg_h_scale_factor; in SetupStg()
265 global_stg_ctx->dx = given_stg_dx ? stg_dx : domain_size[0] / faces[0]; in SetupStg()
266 …PetscCheck((global_stg_ctx->dx > 0) && PetscIsNormalReal((PetscReal)global_stg_ctx->dx), comm, PET… in SetupStg()
267 "STG dx must be positive normal number, got %g", global_stg_ctx->dx); in SetupStg()
271 global_stg_ctx->newtonian_ctx = *newtonian_ig_ctx; in SetupStg()
274 PetscCall(GetStgContextData(comm, dm, stg_inflow_path, stg_rand_path, &global_stg_ctx)); in SetupStg()
277 …tSetData(stg_context, CEED_MEM_HOST, CEED_USE_POINTER, global_stg_ctx->total_bytes, global_stg_ctx… in SetupStg()