Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/
H A Dex11.c497 PetscReal amach, rho, press, gas1, p1; in PhysicsSolution_Euler() local
498 amach = eu->amach; in PhysicsSolution_Euler()
501 p1 = press * (1.0 + 2.0 * gamma / (gamma + 1.0) * (amach * amach - 1.0)); in PhysicsSolution_Euler()
504 uu->ru[0] = ((uu->r - rho) * PetscSqrtReal(gamma * press / rho) * amach); in PhysicsSolution_Euler()
655 eu->amach = 2.02; in PhysicsCreate_Euler()
662 PetscCall(PetscOptionsReal("-eu_amach", "Shock speed (Mach)", "", eu->amach, &eu->amach, NULL)); in PhysicsCreate_Euler()
H A Dex11.h90 PetscReal amach; member