Peano
Loading...
Searching...
No Matches
plotSolution.py File Reference

Go to the source code of this file.

Namespaces

namespace  plotSolution
 

Variables

float plotSolution.rho_L = 1.0
 
float plotSolution.rho_R = 0.125
 
float plotSolution.v_L = 0.0
 
float plotSolution.v_R = 0.0
 
float plotSolution.P_L = 1.0
 
float plotSolution.P_R = 0.1
 
float plotSolution.x_min = 0.0
 
float plotSolution.x_max = 2.0
 
 plotSolution.solver = sphtools.RiemannSolver(gas_gamma)
 
tuple plotSolution.delta_x = (x_max - x_min) / N
 
tuple plotSolution.center = (x_max + x_min) / 2
 
 plotSolution.c_R = np.sqrt(gas_gamma * P_R / rho_R)
 
tuple plotSolution.x_shock = (c_R + v_R) * time
 
 plotSolution.ms