Ignore:
Timestamp:
05/29/13 09:27:03 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: added forcinglength option so that WriteData knows whether all lines should be modified or not

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk-jpl/src/m/classes/hydrologyshreve.m ΒΆ

    r15132 r15133  
    6161                function marshall(obj,md,fid) % {{{
    6262                        WriteData(fid,'enum',HydrologyModelEnum(),'data',HydrologyshreveEnum(),'format','Integer');
    63                         WriteData(fid,'object',obj,'fieldname','spcwatercolumn','format','DoubleMat','mattype',1,'forcing',1);
     63                        WriteData(fid,'object',obj,'fieldname','spcwatercolumn','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
    6464                        WriteData(fid,'object',obj,'fieldname','n','format','Double');
    6565                        WriteData(fid,'object',obj,'fieldname','CR','format','Double');
Note: See TracChangeset for help on using the changeset viewer.