Changeset 25122
- Timestamp:
- 06/23/20 09:24:01 (5 years ago)
- Location:
- issm/trunk-jpl/src/m/mesh/planet/gmsh
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m
r25117 r25122 16 16 17 17 % Get Gmsh version 18 [s,r]=system(['gmsh -info | grep ''Version'' | sed -e ''s/Version[[:blank:]]*:[[:blank:]]//'' | cut -d ''.'' -f1']) 18 [s,r]=system(['gmsh -info | grep ''Version'' | sed -e ''s/Version[[:blank:]]*:[[:blank:]]//'' | cut -d ''.'' -f1']); 19 19 if s~=0, 20 20 error(r); 21 21 end 22 gmshmajorversion=str2num(r) 22 gmshmajorversion=str2num(r); 23 23 if ~ismember([3,4],gmshmajorversion), 24 24 error(['gmshplanet: Gmsh major version ' gmshmajorversion ' not supported!']); … … 139 139 % 140 140 if exist(options,'refine'), 141 system([gmshpath ' - v 0 -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos']);141 system([gmshpath ' -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos']); 142 142 else 143 system([gmshpath ' - v 0 -tol 1e-8 -2 -format msh2 sphere.geo']);143 system([gmshpath ' -tol 1e-8 -2 -format msh2 sphere.geo']); 144 144 end 145 145 -
issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py
r25116 r25122 129 129 # 130 130 if options.exist('refine'): 131 subprocess.call('gmsh - v 0 -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos', shell=True)131 subprocess.call('gmsh -tol 1e-8 -2 -format msh2 sphere.geo -bgm sphere.pos', shell=True) 132 132 else: 133 subprocess.call('gmsh - v 0 -tol 1e-8 -2 -format msh2 sphere.geo', shell=True)133 subprocess.call('gmsh -tol 1e-8 -2 -format msh2 sphere.geo', shell=True) 134 134 135 135 #import mesh: {{{
Note:
See TracChangeset
for help on using the changeset viewer.