Index: ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py =================================================================== --- ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py (revision 25121) +++ ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py (revision 25122) @@ -128,9 +128,9 @@ # "-format" option. # if options.exist('refine'): - subprocess.call('gmsh -v 0 -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos', shell=True) + subprocess.call('gmsh -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos', shell=True) else: - subprocess.call('gmsh -v 0 -tol 1e-8 -2 -format msh2 sphere.geo', shell=True) + subprocess.call('gmsh -tol 1e-8 -2 -format msh2 sphere.geo', shell=True) #import mesh: {{{ fid = open('sphere.msh', 'r') Index: ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m =================================================================== --- ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m (revision 25121) +++ ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m (revision 25122) @@ -15,11 +15,11 @@ % md.mesh=gmshplanet('radius',6000,'resolution',100); % Get Gmsh version - [s,r]=system(['gmsh -info | grep ''Version'' | sed -e ''s/Version[[:blank:]]*:[[:blank:]]//'' | cut -d ''.'' -f1']) + [s,r]=system(['gmsh -info | grep ''Version'' | sed -e ''s/Version[[:blank:]]*:[[:blank:]]//'' | cut -d ''.'' -f1']); if s~=0, error(r); end - gmshmajorversion=str2num(r) + gmshmajorversion=str2num(r); if ~ismember([3,4],gmshmajorversion), error(['gmshplanet: Gmsh major version ' gmshmajorversion ' not supported!']); end @@ -138,9 +138,9 @@ % "-format" option. % if exist(options,'refine'), - system([gmshpath ' -v 0 -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos']); + system([gmshpath ' -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos']); else - system([gmshpath ' -v 0 -tol 1e-8 -2 -format msh2 sphere.geo']); + system([gmshpath ' -tol 1e-8 -2 -format msh2 sphere.geo']); end %import mesh: {{{