From c2e6aad09f893e4c8cb5cb9243c32a0d6d0d1e12 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 9 Jun 2022 21:48:32 +0200 Subject: Init ESDS repository --- tests/simple_wait_end_3n/simulator.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 tests/simple_wait_end_3n/simulator.py (limited to 'tests/simple_wait_end_3n/simulator.py') diff --git a/tests/simple_wait_end_3n/simulator.py b/tests/simple_wait_end_3n/simulator.py new file mode 100755 index 0000000..d4c9ec4 --- /dev/null +++ b/tests/simple_wait_end_3n/simulator.py @@ -0,0 +1,17 @@ +#!/usr/bin/env python + +# Load ESDS +import sys +sys.path.append("../../") +import esds +import numpy as np + +B=np.full((3,3),2) +L=np.full((3,3),0) +s=esds.Simulator(B,L) + +s.create_node("node") +s.create_node("node") +s.create_node("node") + +s.run() -- cgit v1.2.3