diff --git a/Team25/shape.py b/Team25/shape.py index 0557239a6bf3c5a2b853b73dd7485a29decf5ea7..f93f53149b4fc2db2590bcc69c1c7df7ccf8495a 100644 --- a/Team25/shape.py +++ b/Team25/shape.py @@ -1,7 +1,7 @@ # Open this file with Gmsh (interactively with File->Open->penning.py, or on the # command line with 'gmsh penning.py') # -from shutil import copyfile + import numpy as np import optlab import onelab @@ -39,8 +39,7 @@ c.openProject(file_geo) # dry getdp run (without -solve or -pos option) to get model parameters in the GUI c.runSubClient('myGetDP', mygetdp) -# define now optimization parameters -# some of them as Onelab parameter, to be editable in the GUI +# define optimization parameters as Onelab parameter (editable in the GUI) maxIter = c.defineNumber('Optimization/00Max iterations', value=100) maxChange = c.defineNumber('Optimization/01Max change', value=1e-5)