Changeset 27843


Ignore:
Timestamp:
07/20/23 11:36:48 (20 months ago)
Author:
jdquinn
Message:

CHG: Bad commit

Location:
issm/trunk-jpl/src/m/mesh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/mesh/roundmesh.m

    r27841 r27843  
    1111
    1212%First we have to create the domain outline
    13 if nargin>=4:
     13if nargin>=4
    1414        expname = varargin{1};
    1515else
     
    2727expwrite(A,expname);
    2828
    29 %Call Bamg
     29%Call mesher
    3030md=triangle(md,expname,resolution);
    3131%md=bamg(md,'domain','RoundDomainOutline.exp','hmin',resolution);
    3232
    3333%move the closest node to the center
    34 [mini pos]=min(md.mesh.x.^2+md.mesh.y.^2);
     34[minimum pos]=min(md.mesh.x.^2+md.mesh.y.^2);
    3535md.mesh.x(pos)=0.;
    3636md.mesh.y(pos)=0.;
  • issm/trunk-jpl/src/m/mesh/roundmesh.py

    r27842 r27843  
    3737    expwrite(A, expname)
    3838
    39     # Call Bamg
     39    # Call mesher
    4040    md = triangle(md, expname, resolution)
    4141    # md = bamg(md, 'domain', 'RoundDomainOutline.exp', 'hmin', resolution)
     
    4747
    4848    # Delete domain
    49     os.remove(expname)
     49    if not len(args):
     50        os.remove(expname)
    5051
    5152    return md
Note: See TracChangeset for help on using the changeset viewer.