Changeset 10295


Ignore:
Timestamp:
10/25/11 13:26:58 (13 years ago)
Author:
schlegel
Message:

Added comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/regionaltransient2d.m

    r10129 r10295  
    3737
    3838%remesh
    39 %md2=bamg(md2,'hmax',hmax,'hmin',hmin,'field',[md2.inversion.vel_obs md2.geometry.thickness],'splitcorner',1,'KeepVertices',0);
    4039md2=bamg(mde,'hmin',hmin,'hmax',hmax,'field',[mde.inversion.vel_obs mde.geometry.thickness],'splitcorner',1,'KeepVertices',0,'err',err);
    4140md2=setmask(md2,'','');
     
    5150                fieldsize=size(field);
    5251
     52                %copy field, interpolated to new mesh
    5353                if isobject(field), %recursive call
    5454                        object_fields=fields(md1.(model_fields{i}));
     
    9292        end
    9393
     94        %Read transient velocities looping through only the populated times
    9495        spcx=[];
    9596        spcy=[];
     
    109110        end
    110111
     112        %As long as there are recorded time steps, spc the boundaries with velocities
    111113        if nsteps > 0
    112114                md2.diagnostic.spcvx=md2.diagnostic.spcvx*ones(1,size(spcx,2));
     
    121123        end
    122124
    123         %Diagnostic
     125        %Diagnostic.  Don't spc the icefront vertices.
    124126        if ~isnan(md2.diagnostic.icefront)
    125127                md1s=modelextract(md1,area);
Note: See TracChangeset for help on using the changeset viewer.