Skip to content

Commit d455f70

Browse files
committed
finalised scripts for release
1 parent 8e73be5 commit d455f70

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

runs/idealised_delaunay.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def autoreload():
120120

121121
params = var.params()
122122
params.plot = True
123-
params.lmbda_fa = 0.0
124123
params.lmbda_sa = 0.1
124+
params.lmbda_sa = 1e-6
125125
dplot = diagnostics.diag_plotter(params, nhi, nhj)
126126
dplot.show((0, 1), sols, kls=kls_ref, v_extent=v_extent, dfft_plot=True)
127127

@@ -391,7 +391,7 @@ def autoreload():
391391
v_extent=v_extent,
392392
ir_args=ir_args,
393393
phys_lbls=["", ""],
394-
fn=fn,
394+
fn="",
395395
)
396396
print(uw_01_rc.sum())
397397

@@ -413,7 +413,7 @@ def autoreload():
413413
v_extent=v_extent,
414414
ir_args=ir_args,
415415
phys_lbls=["", ""],
416-
fn=fn,
416+
fn="",
417417
)
418418
print(uw_02_rc.sum())
419419

runs/idealised_isosceles.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def csam_run(cell, n_modes, lmbda_fg, lmbda_sg):
274274

275275
# %%
276276
#### plot the errors
277+
print("amplitudes:")
277278
print(sums)
278279
plotter.error_bar_abs_plot(
279280
selected_errs,
@@ -302,7 +303,10 @@ def csam_run(cell, n_modes, lmbda_fg, lmbda_sg):
302303
# %%
303304
#### print the errors
304305
np.set_printoptions(suppress=True)
306+
print("percentage error in amplitude:")
305307
print(np.around(sum_errs, 5) * 100)
308+
print("")
309+
print("L2-errors:")
306310
print(errs)
307311

308312
# %%

0 commit comments

Comments
 (0)