Changeset 23354


Ignore:
Timestamp:
09/28/18 13:28:43 (6 years ago)
Author:
seroussi
Message:

BUG: checks not needed when we are not in a transient solution with a grounding line migration

File:
1 edited

Legend:

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

    r22993 r23354  
    3333                        md = checkfield(md,'fieldname','groundingline.melt_interpolation','values',{'NoMeltOnPartiallyFloating' 'SubelementMelt1' 'SubelementMelt2' 'FullMeltOnPartiallyFloating'});
    3434
    35                         if ~strcmp(self.migration,'None'),
     35                        if ~strcmp(self.migration,'None') & strcmp(solution,'TransientSolution') & md.transient.isgroundingline==1,
    3636                                if isnan(md.geometry.bed),
    3737                                        md = checkmessage(md,['requesting grounding line migration, but bathymetry is absent!']);
Note: See TracChangeset for help on using the changeset viewer.