Ignore:
Timestamp:
07/20/16 22:01:03 (9 years ago)
Author:
agscott1
Message:

CHG: Updated mesh2dvertical, mesh3dprisms, mesh3dsurface, and mesh3dtetras to use a String when marshalling md.mesh.domain_type and md.mesh.elementtype

File:
1 edited

Legend:

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

    r20690 r20970  
    126126                end % }}}
    127127                function marshall(self,prefix,md,fid) % {{{
    128                         WriteData(fid,prefix,'name','md.mesh.domain_type','data',StringToEnum(['Domain' domaintype(self)]),'format','Integer');
     128                        WriteData(fid,prefix,'name','md.mesh.domain_type','data',['Domain' domaintype(self)],'format','String');
    129129                        WriteData(fid,prefix,'name','md.mesh.domain_dimension','data',dimension(self),'format','Integer');
    130                         WriteData(fid,prefix,'name','md.mesh.elementtype','data',StringToEnum(elementtype(self)),'format','Integer');
     130                        WriteData(fid,prefix,'name','md.mesh.elementtype','data',elementtype(self),'format','String');
    131131                        WriteData(fid,prefix,'object',self,'class','mesh','fieldname','x','format','DoubleMat','mattype',1);
    132132                        WriteData(fid,prefix,'object',self,'class','mesh','fieldname','y','format','DoubleMat','mattype',1);
Note: See TracChangeset for help on using the changeset viewer.