From 8c0d9e4705c2616438a00a9034ee1e531aeb11ac Mon Sep 17 00:00:00 2001 From: EdCaunt Date: Wed, 25 Oct 2023 17:06:32 +0100 Subject: [PATCH] tests: Added diagnostic print statements --- tests/test_subdomains.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_subdomains.py b/tests/test_subdomains.py index 1cc65b61978..36ac053eb4d 100644 --- a/tests/test_subdomains.py +++ b/tests/test_subdomains.py @@ -204,6 +204,12 @@ def define(self, dimensions): stop = tuple(dim.symbolic_max.subs(mM_map) for dim in grid.subdomains['d0'].dimensions) + for dim, sta, sto in zip(grid.subdomains['d0'].dimensions, start, stop): + print(dim, sta, sto) + print(type(dim), type(sta), type(sto)) + print(dim._thickness_map) + print() + slices = tuple(slice(sta.subs(dim._thickness_map), sto.subs(dim._thickness_map)+1) if dim.is_Sub else slice(sta, sto+1)