diff options
Diffstat (limited to 'Examples/EulerAuto.m')
-rw-r--r-- | Examples/EulerAuto.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Examples/EulerAuto.m b/Examples/EulerAuto.m index e021d36..8eb69de 100644 --- a/Examples/EulerAuto.m +++ b/Examples/EulerAuto.m @@ -36,11 +36,11 @@ initialShockCalc = ConditionalOnKeyword -> {"initial_data", "shock"}, Equations -> { - rho -> rhoR0 UnitStep[x-0.5] + rhoL0 (1-UnitStep[x-0.5]), - v[1] -> vR0 UnitStep[x-0.5] + vL0 (1-UnitStep[x-0.5]), + rho -> rhoR0 StepFunction[x-0.5] + rhoL0 (1-StepFunction[x-0.5]), + v[1] -> vR0 StepFunction[x-0.5] + vL0 (1-StepFunction[x-0.5]), v[2] -> 0, v[3] -> 0, - p -> pR0 UnitStep[x-0.5] + pL0 (1-UnitStep[x-0.5]) + p -> pR0 StepFunction[x-0.5] + pL0 (1-StepFunction[x-0.5]) } }; |