| /libCEED/examples/fluids/qfunctions/ |
| H A D | advection.h | 229 State *grad_s) { in StatePhysicalGradientFromReference_ND() argument 237 grad_s[k] = StateFromQ_fwd(gas, s, dqi, state_var); in StatePhysicalGradientFromReference_ND() 240 grad_s[2] = StateFromU(gas, U); in StatePhysicalGradientFromReference_ND() 250 grad_s[k] = StateFromQ_fwd(gas, s, dqi, state_var); in StatePhysicalGradientFromReference_ND() 302 State grad_s[3]; in IFunction_AdvectionGeneric() local 303 …tePhysicalGradientFromReference_ND(dim, Q, i, gas, s, STATEVAR_CONSERVATIVE, grad_q, dXdx, grad_s); in IFunction_AdvectionGeneric() 305 const CeedScalar Grad_E[3] = {grad_s[0].U.E_total, grad_s[1].U.E_total, grad_s[2].U.E_total}; in IFunction_AdvectionGeneric() 315 div_u += grad_s[k].Y.velocity[j]; in IFunction_AdvectionGeneric() 335 for (CeedInt i = 0; i < dim; i++) Fe[i] = -context->diffusion_coeff * grad_s[i].U.E_total; in IFunction_AdvectionGeneric() 438 State grad_s[3]; in RHSFunction_AdvectionGeneric() local [all …]
|
| H A D | velocity_gradient_projection.h | 28 State grad_s[3]; in VelocityGradientProjectionRHS() local 29 …tatePhysicalGradientFromReference(Q, i, context, s, state_var, (CeedScalar *)Grad_q, dXdx, grad_s); in VelocityGradientProjectionRHS() 32 VelocityGradient(grad_s, grad_velocity); in VelocityGradientProjectionRHS()
|
| H A D | newtonian.h | 84 State grad_s[3] = {{{0.}}}; in MassFunction_Newtonian() local 88 Stabilization(context, s, Tau_d, grad_s, U_dot, body_force, stab); in MassFunction_Newtonian() 169 State grad_s[3]; in RHSFunction_Newtonian() local 170 … StatePhysicalGradientFromReference(Q, i, context, s, STATEVAR_CONSERVATIVE, Grad_q, dXdx, grad_s); in RHSFunction_Newtonian() 173 KMStrainRate_State(grad_s, strain_rate); in RHSFunction_Newtonian() 176 ViscousEnergyFlux(context, s.Y, grad_s, stress, Fe); in RHSFunction_Newtonian() 202 Stabilization(context, s, Tau_d, grad_s, U_dot, body_force, stab); in RHSFunction_Newtonian() 240 State grad_s[3]; in IFunction_Newtonian() local 241 StatePhysicalGradientFromReference(Q, i, context, s, state_var, Grad_q, dXdx, grad_s); in IFunction_Newtonian() 244 KMStrainRate_State(grad_s, strain_rate); in IFunction_Newtonian() [all …]
|
| H A D | newtonian_state.h | 514 CEED_QFUNCTION_HELPER void VelocityGradient(const State grad_s[3], CeedScalar grad_velocity[3][3]) { in VelocityGradient() 515 grad_velocity[0][0] = grad_s[0].Y.velocity[0]; in VelocityGradient() 516 grad_velocity[0][1] = grad_s[1].Y.velocity[0]; in VelocityGradient() 517 grad_velocity[0][2] = grad_s[2].Y.velocity[0]; in VelocityGradient() 518 grad_velocity[1][0] = grad_s[0].Y.velocity[1]; in VelocityGradient() 519 grad_velocity[1][1] = grad_s[1].Y.velocity[1]; in VelocityGradient() 520 grad_velocity[1][2] = grad_s[2].Y.velocity[1]; in VelocityGradient() 521 grad_velocity[2][0] = grad_s[0].Y.velocity[2]; in VelocityGradient() 522 grad_velocity[2][1] = grad_s[1].Y.velocity[2]; in VelocityGradient() 523 grad_velocity[2][2] = grad_s[2].Y.velocity[2]; in VelocityGradient() [all …]
|
| H A D | bc_freestream.h | 205 State grad_s[3]; in RiemannOutflow() local 206 StatePhysicalGradientFromReference_Boundary(Q, i, gas, s_int, state_var, Grad_q, dXdx, grad_s); in RiemannOutflow() 209 KMStrainRate_State(grad_s, strain_rate); in RiemannOutflow() 212 ViscousEnergyFlux(gas, s_int.Y, grad_s, stress, Fe); in RiemannOutflow() 345 State grad_s[3]; in PressureOutflow() local 346 StatePhysicalGradientFromReference_Boundary(Q, i, gas, s, state_var, Grad_q, dXdx, grad_s); in PressureOutflow() 349 KMStrainRate_State(grad_s, strain_rate); in PressureOutflow() 352 ViscousEnergyFlux(gas, s.Y, grad_s, stress, Fe); in PressureOutflow()
|