Lines Matching refs:stg_ctx

42                                               const StgShur14Context stg_ctx) {  in InterpolateProfile()  argument
43 const CeedInt nprofs = stg_ctx->nprofs; in InterpolateProfile()
44 const CeedScalar *prof_wd = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in InterpolateProfile()
45 const CeedScalar *prof_eps = &stg_ctx->data[stg_ctx->offsets.eps]; in InterpolateProfile()
46 const CeedScalar *prof_lt = &stg_ctx->data[stg_ctx->offsets.lt]; in InterpolateProfile()
47 const CeedScalar *prof_ubar = &stg_ctx->data[stg_ctx->offsets.ubar]; in InterpolateProfile()
48 const CeedScalar *prof_cij = &stg_ctx->data[stg_ctx->offsets.cij]; in InterpolateProfile()
129 … const CeedScalar nu, CeedScalar qn[], const StgShur14Context stg_ctx) { in CalcSpectrum() argument
130 const CeedInt nmodes = stg_ctx->nmodes; in CalcSpectrum()
131 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in CalcSpectrum()
158 … const CeedScalar qn[], CeedScalar u[3], const StgShur14Context stg_ctx) { in StgShur14Calc() argument
159 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc()
160 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in StgShur14Calc()
161 const CeedScalar *phi = &stg_ctx->data[stg_ctx->offsets.phi]; in StgShur14Calc()
162 const CeedScalar *sigma = &stg_ctx->data[stg_ctx->offsets.sigma]; in StgShur14Calc()
163 const CeedScalar *d = &stg_ctx->data[stg_ctx->offsets.d]; in StgShur14Calc()
168 xhat[0] = (X[0] - stg_ctx->u0 * t) * Max(2 * kappa[0] / kappa[n], 0.1); in StgShur14Calc()
201 const StgShur14Context stg_ctx) { in StgShur14Calc_PrecompEktot() argument
202 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc_PrecompEktot()
203 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in StgShur14Calc_PrecompEktot()
204 const CeedScalar *phi = &stg_ctx->data[stg_ctx->offsets.phi]; in StgShur14Calc_PrecompEktot()
205 const CeedScalar *sigma = &stg_ctx->data[stg_ctx->offsets.sigma]; in StgShur14Calc_PrecompEktot()
206 const CeedScalar *d = &stg_ctx->data[stg_ctx->offsets.d]; in StgShur14Calc_PrecompEktot()
213 xhat[0] = (X[0] - stg_ctx->u0 * t) * Max(2 * kappa[0] / kappa[n], 0.1); in StgShur14Calc_PrecompEktot()
240 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14Preprocess() local
241 const CeedScalar dx = stg_ctx->dx; in StgShur14Preprocess()
242 const CeedScalar mu = stg_ctx->newtonian_ctx.mu; in StgShur14Preprocess()
243 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14Preprocess()
244 const CeedScalar P0 = stg_ctx->P0; in StgShur14Preprocess()
245 const CeedScalar Rd = GasConstant(&stg_ctx->newtonian_ctx); in StgShur14Preprocess()
249 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Preprocess()
250 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in StgShur14Preprocess()
263 ScaleN(h_node_sep, stg_ctx->h_scale_factor, 3); in StgShur14Preprocess()
265 InterpolateProfile(wall_dist, ubar, cij, &eps, &lt, stg_ctx); in StgShur14Preprocess()
286 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in ICsStg() local
287 const NewtonianIdealGasContext gas = &stg_ctx->newtonian_ctx; in ICsStg()
289 const CeedScalar dx = stg_ctx->dx; in ICsStg()
290 const CeedScalar time = stg_ctx->time; in ICsStg()
291 const CeedScalar theta0 = stg_ctx->theta0; in ICsStg()
292 const CeedScalar P0 = stg_ctx->P0; in ICsStg()
303 ScaleN(h_node_sep, stg_ctx->h_scale_factor, 3); in ICsStg()
305 InterpolateProfile(x_i[1], ubar, cij, &eps, &lt, stg_ctx); in ICsStg()
306 if (stg_ctx->use_fluctuating_IC) { in ICsStg()
307 CalcSpectrum(x_i[1], eps, lt, h_node_sep, nu, qn, stg_ctx); in ICsStg()
308 StgShur14Calc(x_i, time, ubar, cij, qn, u, stg_ctx); in ICsStg()
337 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14Inflow() local
339 const bool is_implicit = stg_ctx->is_implicit; in StgShur14Inflow()
340 const bool mean_only = stg_ctx->mean_only; in StgShur14Inflow()
341 const bool prescribe_T = stg_ctx->prescribe_T; in StgShur14Inflow()
342 const CeedScalar dx = stg_ctx->dx; in StgShur14Inflow()
343 const CeedScalar mu = stg_ctx->newtonian_ctx.mu; in StgShur14Inflow()
344 const CeedScalar time = stg_ctx->time; in StgShur14Inflow()
345 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14Inflow()
346 const CeedScalar P0 = stg_ctx->P0; in StgShur14Inflow()
347 const CeedScalar cv = stg_ctx->newtonian_ctx.cv; in StgShur14Inflow()
348 const CeedScalar Rd = GasConstant(&stg_ctx->newtonian_ctx); in StgShur14Inflow()
349 const CeedScalar gamma = HeatCapacityRatio(&stg_ctx->newtonian_ctx); in StgShur14Inflow()
361 ScaleN(h_node_sep, stg_ctx->h_scale_factor, 3); in StgShur14Inflow()
363 InterpolateProfile(X[1][i], ubar, cij, &eps, &lt, stg_ctx); in StgShur14Inflow()
365 CalcSpectrum(X[1][i], eps, lt, h_node_sep, mu / rho, qn, stg_ctx); in StgShur14Inflow()
366 StgShur14Calc(x, time, ubar, cij, qn, u, stg_ctx); in StgShur14Inflow()
415 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14Inflow_Jacobian() local
416 const bool implicit = stg_ctx->is_implicit; in StgShur14Inflow_Jacobian()
417 const CeedScalar cv = stg_ctx->newtonian_ctx.cv; in StgShur14Inflow_Jacobian()
418 const CeedScalar Rd = GasConstant(&stg_ctx->newtonian_ctx); in StgShur14Inflow_Jacobian()
419 const CeedScalar gamma = HeatCapacityRatio(&stg_ctx->newtonian_ctx); in StgShur14Inflow_Jacobian()
421 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14Inflow_Jacobian()
422 const bool prescribe_T = stg_ctx->prescribe_T; in StgShur14Inflow_Jacobian()
475 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14InflowStrongQF() local
476 const NewtonianIdealGasContext gas = &stg_ctx->newtonian_ctx; in StgShur14InflowStrongQF()
478 const bool mean_only = stg_ctx->mean_only; in StgShur14InflowStrongQF()
479 const CeedScalar dx = stg_ctx->dx; in StgShur14InflowStrongQF()
480 const CeedScalar time = stg_ctx->time; in StgShur14InflowStrongQF()
481 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14InflowStrongQF()
482 const CeedScalar P0 = stg_ctx->P0; in StgShur14InflowStrongQF()
496 ScaleN(h_node_sep, stg_ctx->h_scale_factor, 3); in StgShur14InflowStrongQF()
498 InterpolateProfile(coords[1][i], ubar, cij, &eps, &lt, stg_ctx); in StgShur14InflowStrongQF()
501 …14Calc_PrecompEktot(x, time, ubar, cij, inv_Ektotal[i], h_node_sep, x[1], eps, lt, nu, u, stg_ctx); in StgShur14InflowStrongQF()
504 CalcSpectrum(coords[1][i], eps, lt, h_node_sep, nu, qn, stg_ctx); in StgShur14InflowStrongQF()
505 StgShur14Calc(x, time, ubar, cij, qn, u, stg_ctx); in StgShur14InflowStrongQF()