Skip to content

Commit

Permalink
add support for forward Euler integrator
Browse files Browse the repository at this point in the history
  • Loading branch information
C.A.P. Linssen committed Aug 8, 2023
1 parent bb8190f commit 6f4aa11
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/nest_tests/test_forward_euler_integrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ def generate_target(self, numeric_solver: str):
input_path = [os.path.realpath(os.path.join(os.path.dirname(__file__), os.path.join(
os.pardir, os.pardir, s))) for s in files]
generate_nest_target(input_path=input_path,
logging_level="DEBUG",
suffix="_" + numeric_solver.replace("-", "_") + "_nestml",
module_name="nestml" + numeric_solver.replace("-", "_") + "module",
codegen_opts={"numeric_solver": numeric_solver})
logging_level="DEBUG",
suffix="_" + numeric_solver.replace("-", "_") + "_nestml",
module_name="nestml" + numeric_solver.replace("-", "_") + "module",
codegen_opts={"numeric_solver": numeric_solver})

nest.Install("nestml" + numeric_solver.replace("-", "_") + "module")


def test_forward_euler_integrator(self):
self.generate_target("forward-Euler")
self.generate_target("rk45")
Expand Down

0 comments on commit 6f4aa11

Please sign in to comment.