diff --git a/demo/lbb-stability/lbb-stability.py b/demo/lbb-stability/lbb-stability.py index 74a567f..27ab8f3 100644 --- a/demo/lbb-stability/lbb-stability.py +++ b/demo/lbb-stability/lbb-stability.py @@ -7,7 +7,6 @@ import numpy as np from petsc4py import PETSc from slepc4py import SLEPc -import tqdm def compute_inf_sup_constant(spaces, b, inner_products): @@ -101,7 +100,7 @@ def run(*, dimension, num_cells, element, num_layers=None, vdegree=None): stability_constants = [] nmin, nmax, nstep = args.num_cells_min, args.num_cells_max, args.num_cells_step -for num_cells in tqdm.trange(nmin, nmax + 1, nstep): +for num_cells in range(nmin, nmax + 1, nstep): h, λ = run( dimension=args.dimension, num_cells=num_cells, @@ -110,6 +109,7 @@ def run(*, dimension, num_cells, element, num_layers=None, vdegree=None): vdegree=args.vdegree ) stability_constants.append((h, λ)) + print(".", flush=True, end="") data = [] if pathlib.Path(args.output).is_file():