Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/p/y/pyclaw-HEAD/development/point_wise_rs/pyWrapperForRiemannSolver/riemannSolverSerialTimer.py   pyclaw(Download)
	print "Number of time steps is", i
 
	waves1, s1  = rs.solveVectorized(timer = True)
	timeResultsVectorized[j] = rs.elapsedTime
 
	rs.aux = random.random((rs.maux,rs.mx))
 
	waves1, s1  = rs.solveVectorized(timer = True)
	timeResultsVectorized[j] = rs.elapsedTime
 

src/p/y/pyclaw-HEAD/development/point_wise_rs/pyWrapperForRiemannSolver/riemannSolverDemo.py   pyclaw(Download)
rs.q = random.random((rs.meqn,rs.mx))
rs.aux = random.random((rs.maux,rs.mx))
waves1, s1  = rs.solveVectorized(timer = True)
waves2, s2  = rs.solvePointwize(timer = True)
 

src/p/y/pyclaw-HEAD/development/point_wise_rs/pyWrapperForRiemannSolver/riemannSolverAssertion.py   pyclaw(Download)
sRead = load("s.npy")
 
waves1, s1  = rs.solveVectorized(timer = True)
#waves2, s2  = rs.solvePointwize(timer = True)