Skip to content

Commit fe2cbc5

Browse files
committed
new function to produce options class
1 parent 512eabd commit fe2cbc5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

cr_bayesian_optim/fractal_dim.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,16 @@ def load_or_compute_last_iter(options):
110110
return cells[last_iter], out_path
111111

112112

113+
def produce_options():
114+
options = crb.Options(
115+
show_progressbar=True, storage_location="out/fractal_dim_multi"
116+
)
117+
options.time.t_max = 2000
118+
options.domain.domain_size = 2000
119+
options.time.dt = 0.3
120+
return options
121+
122+
113123
def calculate_fractal_dim_over_time(cells: crb.CellOutput, options: crb.Options):
114124
iterations = sorted(cells.keys())
115125
dims = []

0 commit comments

Comments
 (0)