From 7a9e23efe3ed91a85d6033afe9340565b6e8b5f2 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 11 Sep 2018 08:33:21 +0200 Subject: [PATCH] pp --- Team25/shape.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Team25/shape.py b/Team25/shape.py index 0557239..f93f531 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) -- GitLab