Changeset 25122


Ignore:
Timestamp:
06/23/20 09:24:01 (5 years ago)
Author:
jdquinn
Message:

CHG: Resetting verbosity level in call to Gmsh; missing semicolons causing prints

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  
    1616
    1717        % 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']);
    1919        if s~=0,
    2020                error(r);
    2121        end
    22         gmshmajorversion=str2num(r)
     22        gmshmajorversion=str2num(r);
    2323        if ~ismember([3,4],gmshmajorversion),
    2424                error(['gmshplanet: Gmsh major version ' gmshmajorversion ' not supported!']);
     
    139139        %
    140140        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']);
    142142        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']);
    144144        end
    145145
  • issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py

    r25116 r25122  
    129129    #
    130130    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)
    132132    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)
    134134
    135135    #import mesh:  {{{
Note: See TracChangeset for help on using the changeset viewer.