Lines Matching refs:stg_ctx
37 const StgShur14Context stg_ctx) { in InterpolateProfile() argument
38 const CeedInt nprofs = stg_ctx->nprofs; in InterpolateProfile()
39 const CeedScalar *prof_wd = &stg_ctx->data[stg_ctx->offsets.wall_dist]; in InterpolateProfile()
40 const CeedScalar *prof_eps = &stg_ctx->data[stg_ctx->offsets.eps]; in InterpolateProfile()
41 const CeedScalar *prof_lt = &stg_ctx->data[stg_ctx->offsets.lt]; in InterpolateProfile()
42 const CeedScalar *prof_ubar = &stg_ctx->data[stg_ctx->offsets.ubar]; in InterpolateProfile()
43 const CeedScalar *prof_cij = &stg_ctx->data[stg_ctx->offsets.cij]; in InterpolateProfile()
124 … const CeedScalar nu, CeedScalar qn[], const StgShur14Context stg_ctx) { in CalcSpectrum() argument
125 const CeedInt nmodes = stg_ctx->nmodes; in CalcSpectrum()
126 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in CalcSpectrum()
153 … const CeedScalar qn[], CeedScalar u[3], const StgShur14Context stg_ctx) { in StgShur14Calc() argument
154 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc()
155 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in StgShur14Calc()
156 const CeedScalar *phi = &stg_ctx->data[stg_ctx->offsets.phi]; in StgShur14Calc()
157 const CeedScalar *sigma = &stg_ctx->data[stg_ctx->offsets.sigma]; in StgShur14Calc()
158 const CeedScalar *d = &stg_ctx->data[stg_ctx->offsets.d]; in StgShur14Calc()
163 xhat[0] = (X[0] - stg_ctx->u0 * t) * Max(2 * kappa[0] / kappa[n], 0.1); in StgShur14Calc()
196 const StgShur14Context stg_ctx) { in StgShur14Calc_PrecompEktot() argument
197 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Calc_PrecompEktot()
198 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in StgShur14Calc_PrecompEktot()
199 const CeedScalar *phi = &stg_ctx->data[stg_ctx->offsets.phi]; in StgShur14Calc_PrecompEktot()
200 const CeedScalar *sigma = &stg_ctx->data[stg_ctx->offsets.sigma]; in StgShur14Calc_PrecompEktot()
201 const CeedScalar *d = &stg_ctx->data[stg_ctx->offsets.d]; in StgShur14Calc_PrecompEktot()
208 xhat[0] = (X[0] - stg_ctx->u0 * t) * Max(2 * kappa[0] / kappa[n], 0.1); in StgShur14Calc_PrecompEktot()
249 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14Preprocess() local
250 const CeedScalar mu = stg_ctx->newt_ctx.gas.mu; in StgShur14Preprocess()
251 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14Preprocess()
252 const CeedScalar P0 = stg_ctx->P0; in StgShur14Preprocess()
253 const CeedScalar Rd = GasConstant(stg_ctx->newt_ctx.gas); in StgShur14Preprocess()
257 const CeedInt nmodes = stg_ctx->nmodes; in StgShur14Preprocess()
258 const CeedScalar *kappa = &stg_ctx->data[stg_ctx->offsets.kappa]; in StgShur14Preprocess()
266 CalculateElementLengths(dXdx, stg_ctx->h_scale_factor, h_node_sep); in StgShur14Preprocess()
267 InterpolateProfile(wall_dist, ubar, cij, &eps, <, stg_ctx); in StgShur14Preprocess()
288 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in ICsStg() local
289 const NewtonianIdealGasContext context = &stg_ctx->newt_ctx; in ICsStg()
292 const CeedScalar dx = stg_ctx->dx; in ICsStg()
293 const CeedScalar time = stg_ctx->time; in ICsStg()
294 const CeedScalar theta0 = stg_ctx->theta0; in ICsStg()
295 const CeedScalar P0 = stg_ctx->P0; in ICsStg()
305 CalculateElementLengths(dXdx, stg_ctx->h_scale_factor, h_node_sep); in ICsStg()
306 h_node_sep[0] = dx * stg_ctx->h_scale_factor; in ICsStg()
308 InterpolateProfile(x_i[1], ubar, cij, &eps, <, stg_ctx); in ICsStg()
309 if (stg_ctx->use_fluctuating_IC) { in ICsStg()
310 CalcSpectrum(x_i[1], eps, lt, h_node_sep, nu, qn, stg_ctx); in ICsStg()
311 StgShur14Calc(x_i, time, ubar, cij, qn, u, stg_ctx); in ICsStg()
340 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14Inflow() local
341 const NewtonianIGProperties gas = stg_ctx->newt_ctx.gas; in StgShur14Inflow()
343 const bool is_implicit = stg_ctx->is_implicit; in StgShur14Inflow()
344 const bool mean_only = stg_ctx->mean_only; in StgShur14Inflow()
345 const bool prescribe_T = stg_ctx->prescribe_T; in StgShur14Inflow()
346 const CeedScalar dx = stg_ctx->dx; in StgShur14Inflow()
348 const CeedScalar time = stg_ctx->time; in StgShur14Inflow()
349 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14Inflow()
350 const CeedScalar P0 = stg_ctx->P0; in StgShur14Inflow()
365 ScaleN(h_node_sep, stg_ctx->h_scale_factor, 3); in StgShur14Inflow()
367 InterpolateProfile(X[1][i], ubar, cij, &eps, <, stg_ctx); in StgShur14Inflow()
369 CalcSpectrum(X[1][i], eps, lt, h_node_sep, mu / rho, qn, stg_ctx); in StgShur14Inflow()
370 StgShur14Calc(x, time, ubar, cij, qn, u, stg_ctx); in StgShur14Inflow()
419 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14Inflow_Jacobian() local
420 const NewtonianIGProperties gas = stg_ctx->newt_ctx.gas; in StgShur14Inflow_Jacobian()
421 const bool implicit = stg_ctx->is_implicit; in StgShur14Inflow_Jacobian()
426 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14Inflow_Jacobian()
427 const bool prescribe_T = stg_ctx->prescribe_T; in StgShur14Inflow_Jacobian()
480 const StgShur14Context stg_ctx = (StgShur14Context)ctx; in StgShur14InflowStrongQF() local
481 const NewtonianIGProperties gas = stg_ctx->newt_ctx.gas; in StgShur14InflowStrongQF()
483 const bool mean_only = stg_ctx->mean_only; in StgShur14InflowStrongQF()
484 const CeedScalar time = stg_ctx->time; in StgShur14InflowStrongQF()
485 const CeedScalar theta0 = stg_ctx->theta0; in StgShur14InflowStrongQF()
486 const CeedScalar P0 = stg_ctx->P0; in StgShur14InflowStrongQF()
495 CalculateElementLengths(dXdx, stg_ctx->h_scale_factor, h_node_sep); in StgShur14InflowStrongQF()
496 InterpolateProfile(coords[1][i], ubar, cij, &eps, <, stg_ctx); in StgShur14InflowStrongQF()
499 …14Calc_PrecompEktot(x, time, ubar, cij, inv_Ektotal[i], h_node_sep, x[1], eps, lt, nu, u, stg_ctx); in StgShur14InflowStrongQF()
502 CalcSpectrum(coords[1][i], eps, lt, h_node_sep, nu, qn, stg_ctx); in StgShur14InflowStrongQF()
503 StgShur14Calc(x, time, ubar, cij, qn, u, stg_ctx); in StgShur14InflowStrongQF()
511 StateToQ(gas, s, q, stg_ctx->newt_ctx.state_var); in StgShur14InflowStrongQF()
512 switch (stg_ctx->newt_ctx.state_var) { in StgShur14InflowStrongQF()