Lines Matching refs:ds

65 …CeedScalar TotalSpecificEnthalpy_fwd(NewtonianIdealGasContext gas, const State s, const State ds) {  in TotalSpecificEnthalpy_fwd()  argument
66 CeedScalar de_kinetic = Dot3(ds.Y.velocity, s.Y.velocity); in TotalSpecificEnthalpy_fwd()
67 CeedScalar de_internal = gas->cv * ds.Y.temperature; in TotalSpecificEnthalpy_fwd()
68 …return de_internal + de_kinetic + ds.Y.pressure / s.U.density - s.Y.pressure / Square(s.U.density)… in TotalSpecificEnthalpy_fwd()
263 State ds; in StateFromPrimitive_fwd() local
264 ds.U = dU; in StateFromPrimitive_fwd()
265 ds.Y = dY; in StateFromPrimitive_fwd()
266 return ds; in StateFromPrimitive_fwd()
340 State ds; in StateFromU_fwd() local
341 ds.U.density = dU[0]; in StateFromU_fwd()
342 ds.U.momentum[0] = dU[1]; in StateFromU_fwd()
343 ds.U.momentum[1] = dU[2]; in StateFromU_fwd()
344 ds.U.momentum[2] = dU[3]; in StateFromU_fwd()
345 ds.U.E_total = dU[4]; in StateFromU_fwd()
346 ds.Y = StatePrimitiveFromConservative_fwd(gas, s, ds.U); in StateFromU_fwd()
347 return ds; in StateFromU_fwd()
362 State ds; in StateFromY_fwd() local
363 ds.Y.pressure = dY[0]; in StateFromY_fwd()
364 ds.Y.velocity[0] = dY[1]; in StateFromY_fwd()
365 ds.Y.velocity[1] = dY[2]; in StateFromY_fwd()
366 ds.Y.velocity[2] = dY[3]; in StateFromY_fwd()
367 ds.Y.temperature = dY[4]; in StateFromY_fwd()
368 ds.U = StateConservativeFromPrimitive_fwd(gas, s, ds.Y); in StateFromY_fwd()
369 return ds; in StateFromY_fwd()
386 State ds; in StateFromV_fwd() local
393 ds.U = StateConservativeFromEntropy_fwd(gas, s, state_dV); in StateFromV_fwd()
394 ds.Y = StatePrimitiveFromEntropy_fwd(gas, s, state_dV); in StateFromV_fwd()
395 return ds; in StateFromV_fwd()
415 State ds; in StateFromQ_fwd() local
418 ds = StateFromU_fwd(gas, s, dQ); in StateFromQ_fwd()
421 ds = StateFromY_fwd(gas, s, dQ); in StateFromQ_fwd()
424 ds = StateFromV_fwd(gas, s, dQ); in StateFromQ_fwd()
427 return ds; in StateFromQ_fwd()
438 CEED_QFUNCTION_HELPER void FluxInviscid_fwd(NewtonianIdealGasContext gas, State s, State ds, StateC… in FluxInviscid_fwd() argument
440 dFlux[i].density = ds.U.momentum[i]; in FluxInviscid_fwd()
442 …dFlux[i].momentum[j] = ds.U.momentum[i] * s.Y.velocity[j] + s.U.momentum[i] * ds.Y.velocity[j] + d… in FluxInviscid_fwd()
444 …dFlux[i].E_total = (ds.U.E_total + ds.Y.pressure) * s.Y.velocity[i] + (s.U.E_total + s.Y.pressure)… in FluxInviscid_fwd()
459 …ive FluxInviscidDotNormal_fwd(NewtonianIdealGasContext gas, State s, State ds, const CeedScalar no… in FluxInviscidDotNormal_fwd() argument
461 FluxInviscid_fwd(gas, s, ds, dFlux); in FluxInviscidDotNormal_fwd()
470 CEED_QFUNCTION_HELPER void FluxInviscidStrong(NewtonianIdealGasContext gas, State s, State ds[3], C… in FluxInviscidStrong()
474 FluxInviscid_fwd(gas, s, ds[i], dF); in FluxInviscidStrong()