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
  • issm/trunk-jpl/src/m/classes/diagnostic.m

    r15132 r15133  
    151151                end % }}}
    152152                function marshall(obj,md,fid) % {{{
    153                         WriteData(fid,'object',obj,'fieldname','spcvx','format','DoubleMat','mattype',1,'forcing',1);
    154                         WriteData(fid,'object',obj,'fieldname','spcvy','format','DoubleMat','mattype',1,'forcing',1);
    155                         WriteData(fid,'object',obj,'fieldname','spcvz','format','DoubleMat','mattype',1,'forcing',1);
     153                        WriteData(fid,'object',obj,'fieldname','spcvx','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
     154                        WriteData(fid,'object',obj,'fieldname','spcvy','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
     155                        WriteData(fid,'object',obj,'fieldname','spcvz','format','DoubleMat','mattype',1,'forcinglength',md.mesh.numberofvertices+1);
    156156                        WriteData(fid,'object',obj,'fieldname','restol','format','Double');
    157157                        WriteData(fid,'object',obj,'fieldname','reltol','format','Double');
Note: See TracChangeset for help on using the changeset viewer.