Ignore:
Timestamp:
07/02/14 09:26:48 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: improved help

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/inversion.m

    r18169 r18216  
    206206                        WriteData(fid,'object',obj,'fieldname','vy_obs','format','DoubleMat','mattype',1,'scale',1./yts);
    207207                        WriteData(fid,'object',obj,'fieldname','vz_obs','format','DoubleMat','mattype',1,'scale',1./yts);
    208                         WriteData(fid,'object',obj,'fieldname','thickness_obs','format','DoubleMat','mattype',1);
     208                        if(numel(obj.thickness_obs)==md.mesh.numberofelements),
     209                                mattype=2;
     210                        else
     211                                mattype=1;
     212                        end
     213                        WriteData(fid,'object',obj,'class','inversion','fieldname','thickness_obs','format','DoubleMat','mattype',mattype);
     214
    209215
    210216                        %process control parameters
Note: See TracChangeset for help on using the changeset viewer.