Changeset 22080


Ignore:
Timestamp:
09/14/17 11:24:22 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added one option to enforce boundary edges

File:
1 edited

Legend:

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

    r21919 r22080  
    2222%                         1 -> use Green formula
    2323%   - KeepVertices :      try to keep initial vertices when adaptation is done on an existing mesh (default 1)
     24%   - NoBoundaryRefinment: do not refine boundary, only follow contour provided (default 0)
    2425%   - maxnbv :            maximum number of vertices used to allocate memory (default is 10^6)
    2526%   - maxsubdiv :         maximum subdivision of exisiting elements (default is 10)
     
    286287                count=count+nods;
    287288
     289        end
     290
     291        %Deal with RequiredEdges
     292        if getfieldvalue(options,'NoBoundaryRefinment',0)==1,
     293                bamg_geometry.RequiredEdges=[1:size(bamg_geometry.Edges,1)]';
    288294        end
    289295
Note: See TracChangeset for help on using the changeset viewer.