Lines Matching refs:ustar
825 PetscScalar ubar, du[2], a[2], fL[2], fR[2], lam[2], ustar[2], R[2][2]; in PhysicsRiemann_IsoGas_Roe() local
844 for (i = 0; i < 2; i++) ustar[i] = uL[i] + a[0] * R[0][i]; in PhysicsRiemann_IsoGas_Roe()
845 if (uL[1] / uL[0] < c && c < ustar[1] / ustar[0]) { /* 1-wave is sonic rarefaction */ in PhysicsRiemann_IsoGas_Roe()
850 } else if (ustar[1] / ustar[0] < -c && -c < uR[1] / uR[0]) { /* 2-wave is sonic rarefaction */ in PhysicsRiemann_IsoGas_Roe()
871 PetscScalar ustar[2]; in PhysicsRiemann_IsoGas_Exact() local
922 ustar[0] = star.rho; in PhysicsRiemann_IsoGas_Exact()
923 ustar[1] = star.rho * star.u; in PhysicsRiemann_IsoGas_Exact()
924 IsoGasFlux(c, ustar, flux); in PhysicsRiemann_IsoGas_Exact()
1015 PetscScalar g = phys->gravity, ustar[2], cL, cR, c, cstar; in PhysicsRiemann_Shallow_Exact() local
1078 ustar[0] = star.h; in PhysicsRiemann_Shallow_Exact()
1079 ustar[1] = star.h * star.u; in PhysicsRiemann_Shallow_Exact()
1080 ShallowFlux(phys, ustar, flux); in PhysicsRiemann_Shallow_Exact()