Changeset 23363


Ignore:
Timestamp:
10/01/18 14:46:53 (6 years ago)
Author:
jdquinn
Message:

BUG: Typo in missing gmsh error message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m

    r22821 r23363  
    2323        resolution=getfieldvalue(options,'resolution')*1000;
    2424
    25         %initialize mesh: 
     25        %initialize mesh:
    2626        mesh=mesh3dsurface;
    2727
     
    9797                end
    9898                fprintf(fid,'};\n');
    99                
     99
    100100                fclose(fid);
    101101                % }}}
     
    112112        end
    113113        if isempty(gmshpath),
    114                 error('gmt not found, make sure it is properly installed');
     114                error('gmsh not found, make sure it is properly installed');
    115115        end
    116116
     
    161161        mesh.numberofelements=fscanf(fid,'%i',1);
    162162        A=fscanf(fid,'%i %i %i %i %i %i %i %i',[8 mesh.numberofelements]);
    163         mesh.elements=A(6:8,:)'; 
     163        mesh.elements=A(6:8,:)';
    164164        A=fscanf(fid,'%s',1);
    165165        if ~strcmp(A,'$EndElements'),
    166166                error(['Expecting $EndElements (' A ')']);
    167167        end
    168         fclose(fid); 
     168        fclose(fid);
    169169        %}}}
    170170
    171         %figure out other fields in mesh3dsurface: 
     171        %figure out other fields in mesh3dsurface:
    172172        mesh.r=sqrt(mesh.x.^2+mesh.y.^2+mesh.z.^2);
    173173        mesh.lat = asin(mesh.z./mesh.r)/pi*180;
    174174        mesh.long = atan2(mesh.y,mesh.x)/pi*180;
    175175
    176         %erase files: 
     176        %erase files:
    177177        system('rm -rf sphere.geo sphere.msh sphere.pos');
    178178
    179         %return mesh: 
     179        %return mesh:
    180180        return;
Note: See TracChangeset for help on using the changeset viewer.