Skip to content
Snippets Groups Projects
Commit 7a9e23ef authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

pp

parent b81c1bb9
No related branches found
No related tags found
No related merge requests found
# 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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment