correct unit for size

This commit is contained in:
Philip Eisenlohr 2021-11-16 10:28:23 -05:00
parent fd0a3f58fa
commit 66f9c771dd
1 changed files with 2 additions and 2 deletions

View File

@ -55,8 +55,8 @@ class Grid:
mat_N = self.N_materials
return util.srepr([
f'cells : {util.srepr(self.cells, " x ")}',
f'size : {util.srepr(self.size, " x ")}/m',
f'origin: {util.srepr(self.origin," ")}/m',
f'size : {util.srepr(self.size, " x ")} / m³',
f'origin: {util.srepr(self.origin," ")} / m',
f'# materials: {mat_N}' + ('' if mat_min == 0 and mat_max+1 == mat_N else
f' (min: {mat_min}, max: {mat_max})')
])