Changeset 27421


Ignore:
Timestamp:
11/24/22 02:49:06 (2 years ago)
Author:
rueckamp
Message:

CHG: make transientrestart working for flowbandmodels; adding DebrisThickness

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/miscellaneous/transientrestart.m

    r25703 r27421  
    4141if isfield(results,'Watercolumn'), md.initialization.watercolumn=results.Watercolumn; end
    4242if isfield(results,'Enthalpy'),    md.initialization.enthalpy=results.Enthalpy; end
     43if isfield(results,'DebrisThickness'),md.initialization.debris=results.DebrisThickness; end
    4344
    4445%Deal with new geometry
     
    4849        if isa(md.mesh,'mesh3dprisms')
    4950                md.mesh.z=base+thickness./md.geometry.thickness.*(md.mesh.z-md.geometry.base);
     51        else
     52                md.mesh.y=base+thickness./md.geometry.thickness.*(md.mesh.y-md.geometry.base);
    5053        end
    5154        md.geometry.base=base;
Note: See TracChangeset for help on using the changeset viewer.