Skip to content

Commit

Permalink
tests: Added diagnostic print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
EdCaunt committed Oct 25, 2023
1 parent d1753cd commit 8c0d9e4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_subdomains.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8c0d9e4

Please sign in to comment.