correct unit for size
This commit is contained in:
parent
fd0a3f58fa
commit
66f9c771dd
|
@ -55,8 +55,8 @@ class Grid:
|
||||||
mat_N = self.N_materials
|
mat_N = self.N_materials
|
||||||
return util.srepr([
|
return util.srepr([
|
||||||
f'cells : {util.srepr(self.cells, " x ")}',
|
f'cells : {util.srepr(self.cells, " x ")}',
|
||||||
f'size : {util.srepr(self.size, " x ")}/m',
|
f'size : {util.srepr(self.size, " x ")} / m³',
|
||||||
f'origin: {util.srepr(self.origin," ")}/m',
|
f'origin: {util.srepr(self.origin," ")} / m',
|
||||||
f'# materials: {mat_N}' + ('' if mat_min == 0 and mat_max+1 == mat_N else
|
f'# materials: {mat_N}' + ('' if mat_min == 0 and mat_max+1 == mat_N else
|
||||||
f' (min: {mat_min}, max: {mat_max})')
|
f' (min: {mat_min}, max: {mat_max})')
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue