Lines Matching refs:CeedScalar

22 CEED_QFUNCTION_HELPER int Freestream(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar  in Freestream()
25 const CeedScalar(*q)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in Freestream()
26 const CeedScalar(*q_data_sur) = in[2]; in Freestream()
27 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in Freestream()
28 CeedScalar(*jac_data_sur) = context->newtonian_ctx.is_implicit ? out[1] : NULL; in Freestream()
34 const CeedScalar qi[5] = {q[0][i], q[1][i], q[2][i], q[3][i], q[4][i]}; in Freestream()
37 CeedScalar wdetJb, normal[3]; in Freestream()
50 CeedScalar Flux[5]; in Freestream()
55 CeedScalar zeros[6] = {0.}; in Freestream()
63 …UNCTION(Freestream_Conserv_HLL)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Conserv_HLL()
67 CEED_QFUNCTION(Freestream_Prim_HLL)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *… in Freestream_Prim_HLL()
71 …UNCTION(Freestream_Entropy_HLL)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Entropy_HLL()
75 …NCTION(Freestream_Conserv_HLLC)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Conserv_HLLC()
79 CEED_QFUNCTION(Freestream_Prim_HLLC)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar in Freestream_Prim_HLLC()
83 …NCTION(Freestream_Entropy_HLLC)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Entropy_HLLC()
87 …_HELPER int Freestream_Jacobian(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Jacobian()
89 const CeedScalar(*dq)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in Freestream_Jacobian()
90 const CeedScalar(*q_data_sur) = in[2]; in Freestream_Jacobian()
91 const CeedScalar(*jac_data_sur) = in[4]; in Freestream_Jacobian()
93 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in Freestream_Jacobian()
101 CeedScalar wdetJb, normal[3]; in Freestream_Jacobian()
105 CeedScalar qi[5], dqi[5]; in Freestream_Jacobian()
120 CeedScalar dFlux[5]; in Freestream_Jacobian()
127 …reestream_Jacobian_Conserv_HLL)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Jacobian_Conserv_HLL()
131 …N(Freestream_Jacobian_Prim_HLL)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Jacobian_Prim_HLL()
135 …reestream_Jacobian_Entropy_HLL)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Jacobian_Entropy_HLL()
139 …eestream_Jacobian_Conserv_HLLC)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Jacobian_Conserv_HLLC()
143 …(Freestream_Jacobian_Prim_HLLC)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Jacobian_Prim_HLLC()
147 …eestream_Jacobian_Entropy_HLLC)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in Freestream_Jacobian_Entropy_HLLC()
158 CEED_QFUNCTION_HELPER CeedScalar Softplus(CeedScalar x, CeedScalar width) { in Softplus()
163 CEED_QFUNCTION_HELPER CeedScalar Softplus_fwd(CeedScalar x, CeedScalar dx, CeedScalar width) { in Softplus_fwd()
165 const CeedScalar t = exp(x / width); in Softplus_fwd()
177 …CTION_HELPER int RiemannOutflow(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in RiemannOutflow()
179 const CeedScalar(*q)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in RiemannOutflow()
180 const CeedScalar(*Grad_q) = in[1]; in RiemannOutflow()
181 const CeedScalar(*q_data_sur) = in[2]; in RiemannOutflow()
182 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in RiemannOutflow()
183 CeedScalar(*jac_data_sur) = outflow->gas.is_implicit ? out[1] : NULL; in RiemannOutflow()
189 CeedScalar wdetJb, dXdx[2][3], normal[3]; in RiemannOutflow()
192 const CeedScalar qi[5] = {q[0][i], q[1][i], q[2][i], q[3][i], q[4][i]}; in RiemannOutflow()
198 const CeedScalar u_normal = Dot3(y_ext.velocity, normal); in RiemannOutflow()
199 …const CeedScalar proj = (1 - outflow->recirc) * Softplus(-u_normal, outflow->softplus_velocity… in RiemannOutflow()
208 CeedScalar strain_rate[6], kmstress[6], stress[3][3], Fe[3]; in RiemannOutflow()
216 CeedScalar Flux[5]; in RiemannOutflow()
230 …UNCTION(RiemannOutflow_Conserv)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in RiemannOutflow_Conserv()
234 CEED_QFUNCTION(RiemannOutflow_Prim)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *… in RiemannOutflow_Prim()
238 …UNCTION(RiemannOutflow_Entropy)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in RiemannOutflow_Entropy()
245 …PER int RiemannOutflow_Jacobian(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in RiemannOutflow_Jacobian()
247 const CeedScalar(*dq)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in RiemannOutflow_Jacobian()
248 const CeedScalar(*Grad_dq) = in[1]; in RiemannOutflow_Jacobian()
249 const CeedScalar(*q_data_sur) = in[2]; in RiemannOutflow_Jacobian()
250 const CeedScalar(*jac_data_sur) = in[4]; in RiemannOutflow_Jacobian()
251 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in RiemannOutflow_Jacobian()
258 CeedScalar wdetJb, dXdx[2][3], normal[3]; in RiemannOutflow_Jacobian()
262 CeedScalar qi[5], kmstress[6], dqi[5]; in RiemannOutflow_Jacobian()
274 const CeedScalar u_normal = Dot3(s_int.Y.velocity, normal); in RiemannOutflow_Jacobian()
275 const CeedScalar du_normal = Dot3(ds_int.Y.velocity, normal); in RiemannOutflow_Jacobian()
276 …const CeedScalar proj = (1 - outflow->recirc) * Softplus(-u_normal, outflow->softplus_velocit… in RiemannOutflow_Jacobian()
277 …const CeedScalar dproj = (1 - outflow->recirc) * Softplus_fwd(-u_normal, -du_normal, outflow->… in RiemannOutflow_Jacobian()
289 CeedScalar dstrain_rate[6], dkmstress[6], stress[3][3], dstress[3][3], dFe[3]; in RiemannOutflow_Jacobian()
298 CeedScalar dFlux[5]; in RiemannOutflow_Jacobian()
306 …iemannOutflow_Jacobian_Conserv)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in RiemannOutflow_Jacobian_Conserv()
310 …N(RiemannOutflow_Jacobian_Prim)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in RiemannOutflow_Jacobian_Prim()
314 …iemannOutflow_Jacobian_Entropy)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in RiemannOutflow_Jacobian_Entropy()
325 …TION_HELPER int PressureOutflow(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in PressureOutflow()
327 const CeedScalar(*q)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in PressureOutflow()
328 const CeedScalar(*Grad_q) = in[1]; in PressureOutflow()
329 const CeedScalar(*q_data_sur) = in[2]; in PressureOutflow()
330 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in PressureOutflow()
331 CeedScalar(*jac_data_sur) = outflow->gas.is_implicit ? out[1] : NULL; in PressureOutflow()
337 const CeedScalar qi[5] = {q[0][i], q[1][i], q[2][i], q[3][i], q[4][i]}; in PressureOutflow()
341 CeedScalar wdetJb, dXdx[2][3], normal[3]; in PressureOutflow()
348 CeedScalar strain_rate[6], kmstress[6], stress[3][3], Fe[3]; in PressureOutflow()
357 CeedScalar Flux[5]; in PressureOutflow()
371 …NCTION(PressureOutflow_Conserv)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in PressureOutflow_Conserv()
375 CEED_QFUNCTION(PressureOutflow_Prim)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar in PressureOutflow_Prim()
379 …NCTION(PressureOutflow_Entropy)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in PressureOutflow_Entropy()
386 …ER int PressureOutflow_Jacobian(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in PressureOutflow_Jacobian()
388 const CeedScalar(*dq)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0]; in PressureOutflow_Jacobian()
389 const CeedScalar(*Grad_dq) = in[1]; in PressureOutflow_Jacobian()
390 const CeedScalar(*q_data_sur) = in[2]; in PressureOutflow_Jacobian()
391 const CeedScalar(*jac_data_sur) = in[4]; in PressureOutflow_Jacobian()
392 CeedScalar(*v)[CEED_Q_VLA] = (CeedScalar(*)[CEED_Q_VLA])out[0]; in PressureOutflow_Jacobian()
399 CeedScalar wdetJb, dXdx[2][3], normal[3]; in PressureOutflow_Jacobian()
403 CeedScalar qi[5], kmstress[6], dqi[5]; in PressureOutflow_Jacobian()
416 CeedScalar dstrain_rate[6], dkmstress[6], stress[3][3], dstress[3][3], dFe[3]; in PressureOutflow_Jacobian()
426 CeedScalar dFlux[5]; in PressureOutflow_Jacobian()
434 …essureOutflow_Jacobian_Conserv)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in PressureOutflow_Jacobian_Conserv()
438 …(PressureOutflow_Jacobian_Prim)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in PressureOutflow_Jacobian_Prim()
442 …essureOutflow_Jacobian_Entropy)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *con… in PressureOutflow_Jacobian_Entropy()