Changeset 11659


Ignore:
Timestamp:
03/07/12 13:52:47 (13 years ago)
Author:
Eric.Larour
Message:

Updated loading of old models that include rifts

File:
1 edited

Legend:

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

    r11509 r11659  
    271271                         if isfield(structmd,'z'), md.mesh.z=structmd.z; end
    272272                         if isfield(structmd,'mask'), md.flaim.criterion=structmd.mask; end
    273           if isfield(structmd,'pressureload'), md.diagnostic.icefront=structmd.pressureload; end
     273                        if isfield(structmd,'pressureload'), md.diagnostic.icefront=structmd.pressureload; end
    274274                         if isfield(structmd,'diagnostic_ref'), md.diagnostic.referential=structmd.diagnostic_ref; end
     275                         if isfield(structmd,'rifts'), md.rifts.riftstruct=structmd.rifts; end
     276                         if isfield(structmd,'riftsinfo'), md.rifts.riftproperties=structmd.riftinfo; end
    275277
    276278                         %Field changes
     
    357359                                 pos=find(structmd.cm_responses==382); md.inversion.cost_functions(pos)=503;
    358360                         end
     361
    359362                         if isfield(structmd,'artificial_diffusivity') & structmd.artificial_diffusivity==2,
    360363                                         md.thermal.stabilization=2;
Note: See TracChangeset for help on using the changeset viewer.