Changeset 18519


Ignore:
Timestamp:
09/15/14 15:22:42 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixing error message while loading models

File:
1 edited

Legend:

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

    r18507 r18519  
    127127                        end
    128128                        %2014 September 11
    129                         if (md.seaice==0);
     129                        if isa(md.seaice,'double');
    130130                                md.seaice=seaice()
    131             end
     131                        end
    132132                end% }}}
    133133        end
     
    149149
    150150                                                %Change some of the defauls
    151                                                 md.timestepping.in_years = false;
    152                                                 md.constants.g           = 9.80616; %Same as TOPAZ
     151                                                md.timestepping.in_years   = false;
     152                                                md.timestepping.time_step  = 600;
     153                                                md.timestepping.final_time = 600;
     154                                                md.constants.g             = 9.80616; %Same as TOPAZ
    153155                                        else
    154156                                                error('model constructor not supported yet');
Note: See TracChangeset for help on using the changeset viewer.