Home
last modified time | relevance | path

Searched refs:dfr (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex9.c883 PetscScalar fr, fl, dfr, dfl; in PhysicsRiemann_IsoGas_Exact() local
896dfr = (R.rho < rho) ? 1 / PetscSqrtScalar(R.rho * rho) * (1 - 0.5 * (rho - R.rho) / rho) : 1 / rho; in PhysicsRiemann_IsoGas_Exact()
897 tmp = rho - res / (c * (dfr + dfl)); in PhysicsRiemann_IsoGas_Exact()
1032 PetscScalar fr, fl, dfr, dfl; in PhysicsRiemann_Shallow_Exact() local
1051dfr = (R.h < h) ? 0.5 / fr * 0.5 * g * (-R.h * R.h / (h * h) - 1 + 2 * h / R.h) : PetscSqrtScalar… in PhysicsRiemann_Shallow_Exact()
1052 tmp = h - res / (dfr + dfl); in PhysicsRiemann_Shallow_Exact()
/petsc/src/ts/tutorials/multirate/
H A Dex4.c179 PetscScalar fr, fl, dfr, dfl; in PhysicsRiemann_Shallow_Exact() local
198dfr = (R.h < h) ? 0.5 / fr * 0.5 * g * (-R.h * R.h / (h * h) - 1 + 2 * h / R.h) : PetscSqrtScalar… in PhysicsRiemann_Shallow_Exact()
199 tmp = h - res / (dfr + dfl); in PhysicsRiemann_Shallow_Exact()