-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdata.py
More file actions
23 lines (18 loc) · 727 Bytes
/
Copy pathdata.py
File metadata and controls
23 lines (18 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
from src.geometry_ls import circle, circle_2, star, smooth_star, step, tan_function, circle_trans
# Mesh parameters
N = 32 # h = 1/N
Lx = 1.0
Ly = 1.0
Lz = 0.
# Level set function selection
# Options: circle, star, smooth_star, step, tan_function, circle_trans
level_set_function = circle
# Reinitialization solver and parameters
solver_type = "mumps" # "mumps" coarse solver / "gmres" iterative solver / "cg" iterative solver / "petsc" default ksp solver
l_param = 2.0 # Stabilization parameter
projection = False # True or False for L-2 projection of the norm of the gradient of the LS function.
# Iterative corrector parameters
tolerance = 1e-8
max_iterations = 10
# Noise parameters
use_noise = False # True or False