Lines Matching refs:star
165 } L = {uL[0], uL[1] / uL[0]}, R = {uR[0], uR[1] / uR[0]}, star; in PhysicsRiemann_Shallow_Exact() local
187 star.h = h; in PhysicsRiemann_Shallow_Exact()
188 star.u = L.u - fl; in PhysicsRiemann_Shallow_Exact()
207 cstar = PetscSqrtScalar(g * star.h); in PhysicsRiemann_Shallow_Exact()
208 if (L.u - cL < 0 && 0 < star.u - cstar) { /* 1-wave is sonic rarefaction */ in PhysicsRiemann_Shallow_Exact()
213 } else if (star.u + cstar < 0 && 0 < R.u + cR) { /* 2-wave is sonic rarefaction */ in PhysicsRiemann_Shallow_Exact()
218 …} else if ((L.h >= star.h && L.u - c >= 0) || (L.h < star.h && (star.h * star.u - L.h * L.u) / (st… in PhysicsRiemann_Shallow_Exact()
221 …} else if ((star.h <= R.h && R.u + c <= 0) || (star.h > R.h && (R.h * R.u - star.h * star.h) / (R.… in PhysicsRiemann_Shallow_Exact()
225 ustar[0] = star.h; in PhysicsRiemann_Shallow_Exact()
226 ustar[1] = star.h * star.u; in PhysicsRiemann_Shallow_Exact()
229 *maxspeed = MaxAbs(MaxAbs(star.u - cstar, star.u + cstar), MaxAbs(L.u - cL, R.u + cR)); in PhysicsRiemann_Shallow_Exact()