From c41541c286c1bcdabe62e916c97133b6c760878d Mon Sep 17 00:00:00 2001 From: lakue103 <laura.kuehle@uni-duesseldorf.de> Date: Tue, 22 Sep 2020 20:11:02 +0200 Subject: [PATCH] Changed every 'time' to 'current_time'. --- DG_Approximation.py | 2 +- Update_Scheme.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/DG_Approximation.py b/DG_Approximation.py index d89a79b..7493eff 100644 --- a/DG_Approximation.py +++ b/DG_Approximation.py @@ -27,7 +27,7 @@ TODO: Check whether consistency is given/possible for each class instance TODO: Make projection local variable -> Done TODO: Vector faster than Trans for longer processes, therefore replace -> Done -TODO: Make sure time is changed to current_time everywhere +TODO: Make sure time is changed to current_time everywhere -> Done """ import numpy as np diff --git a/Update_Scheme.py b/Update_Scheme.py index fb63815..e0f5654 100644 --- a/Update_Scheme.py +++ b/Update_Scheme.py @@ -43,11 +43,11 @@ class UpdateScheme(object): def get_time_history(self): return self.time_history - def step(self, projection, cfl_number, time): + def step(self, projection, cfl_number, current_time): self.original_projection = projection self.current_projection = projection self.cfl_number = cfl_number - self.time = time + self.time = current_time self._apply_stability_method() -- GitLab