mirror of
https://github.com/smyalygames/FiniteVolumeGPU.git
synced 2026-01-14 15:48:43 +01:00
Euler appears to work now
This commit is contained in:
@@ -110,6 +110,7 @@ class KP07 (Simulator.BaseSimulator):
|
||||
def stepEuler(self, dt):
|
||||
self.substepRK(dt, 0)
|
||||
self.t += dt
|
||||
self.nt += 1
|
||||
|
||||
def stepRK(self, dt, order):
|
||||
if (order != 2):
|
||||
@@ -117,6 +118,7 @@ class KP07 (Simulator.BaseSimulator):
|
||||
self.substepRK(dt, 0)
|
||||
self.substepRK(dt, 1)
|
||||
self.t += dt
|
||||
self.nt += 1
|
||||
|
||||
def download(self):
|
||||
return self.u0.download(self.stream)
|
||||
Reference in New Issue
Block a user