Changeset 21702


Ignore:
Timestamp:
05/04/17 08:32:27 (8 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed amr for old models

File:
1 edited

Legend:

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

    r21674 r21702  
    122122                        end
    123123                        %2014 November 12
    124                         if isa(md.calving,'double');
    125                                 md.calving=calving();
    126                         end
     124                        if isa(md.calving,'double'); md.calving=calving(); end
    127125                        %2016 February 3
    128                         if isa(md.slr,'double');
    129                                 md.slr=slr();
    130                         end
     126                        if isa(md.slr,'double'); md.slr=slr(); end
    131127                        %2016 October 11
    132                         if isa(md.esa,'double');
    133                                 md.esa=esa();
    134                         end
     128                        if isa(md.esa,'double'); md.esa=esa(); end
    135129                        %2017 February 10th
    136130                        if md.settings.solver_residue_threshold==0,
     
    138132                        end
    139133                        %2017 April 10th
    140                         if isa(md.gia,'gia');
    141                                 md.gia=giaivins();
    142                         end
     134                        if isa(md.gia,'gia'), md.gia=giaivins(); end
     135                        %2017 May 4th
     136                        if isa(md.amr,'double'); md.amr=amr(); end
    143137
    144138                end% }}}
Note: See TracChangeset for help on using the changeset viewer.