Skip to content

Commit 189b3b6

Browse files
committed
📝 yet more improvements for verbose level=2
1 parent b7caa25 commit 189b3b6

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

wakis/gridFIT3D.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,9 @@ def __init__(
224224
y:[{ymin:.3f}, {ymax:.3f}],\n\
225225
z:[{zmin:.3f}, {zmax:.3f}]"
226226
)
227+
print(" * Minimum cell sizes: dx={:.3e}, dy={:.3e}, dz={:.3e}".format(
228+
np.min(self.dx), np.min(self.dy), np.min(self.dz)
229+
))
227230

228231
# MPI subdivide domain
229232
if self.use_mpi:

wakis/solverFIT3D.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def __init__(
121121
CFL number used when computing dt from grid spacing.
122122
"""
123123

124+
print("Initializing Electromagnetic solver...")
124125
self.verbose = verbose
125126
t0 = time.time()
126127
self.logger = Logger()

0 commit comments

Comments
 (0)