source: issm/oecreview/Archive/25834-26739/ISSM-26027-26028.diff

Last change on this file was 26740, checked in by Mathieu Morlighem, 3 years ago

CHG: added 25834-26739

File size: 1.2 KB
  • ../trunk-jpl/examples/ISMIP/runme.m

     
    123123        %->
    124124
    125125        % periodic boundaries have to be fixed on the sides
    126         % create tabs with the side of the domain
     126        % Find the indices of the sides of the domain, separately for x and y
    127127        % for x
    128         % create maxX #help find
     128        % create maxX, list of indices where x is equal to max of x (use >> help find)
    129129        %->
    130130
    131         % create minX
     131        % create minX, list of indices where x is equal to min of x
    132132        %->
    133133
    134         % for y, max X and minX should be excluded
    135         % create maxY
     134        % for y
     135        % create maxY, list of indices where y is equal to max of y
     136        %  but not where x is equal to max or min of x
     137        % (i.e, indices in maxX and minX should be excluded from maxY and minY)
    136138        %->
    137139
    138         % create minY
     140        % create minY, list of indices where y is equal to max of y
     141        %  but not where x is equal to max or min of x
    139142        %->
    140143
    141         % set the node that should be paired together
     144        % set the node that should be paired together, minX with maxX and minY with maxY
    142145        % #md.stressbalance.vertex_pairing
    143146        %->
    144147
Note: See TracBrowser for help on using the repository browser.