Changeset 18724


Ignore:
Timestamp:
10/31/14 14:39:50 (10 years ago)
Author:
seroussi
Message:

CHG: added values and additional test consistency for PDD scheme new variables

Location:
issm/trunk-jpl
Files:
3 edited

Legend:

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

    r18717 r18724  
    88                precipitation             = NaN;
    99                monthlytemperatures       = NaN;
    10                 desfac                    = 0.5;
     10                desfac                    = 0;
    1111                s0p                       = 0;
    1212                s0t                       = 0;
    13                 rlaps                     = 6.5;
    14                 rlapslgm                  = 6.5;               
    15                 Pfac                      = NaN;
    16                 Tdiff                     = NaN;
    17                 sealev                    = NaN;
     13      rlaps                     = 0;
     14      rlapslgm                  = 0;               
     15      Pfac                      = NaN;
     16      Tdiff                     = NaN;
     17      sealev                    = NaN;
    1818                isdelta18o                = 0;
    1919                delta18o                  = NaN;
     
    6868                                md = checkfield(md,'fieldname','surfaceforcings.rlaps','>=',0,'numel',1);
    6969                                md = checkfield(md,'fieldname','surfaceforcings.rlapslgm','>=',0,'numel',1);
    70                                 md = checkfield(md,'fieldname','surfaceforcings.Pfac','NaN',1);
    71                                 md = checkfield(md,'fieldname','surfaceforcings.Tdiff','NaN',1);
    72                                 md = checkfield(md,'fieldname','surfaceforcings.sealev','NaN',1);
     70            md = checkfield(md,'fieldname','surfaceforcings.Pfac','NaN',1,'size',[2,NaN]);
     71            md = checkfield(md,'fieldname','surfaceforcings.Tdiff','NaN',1,'size',[2,NaN]);
     72            md = checkfield(md,'fieldname','surfaceforcings.sealev','NaN',1,'size',[2,NaN]);
    7373                                if(obj.isdelta18o==0)
    7474                                        md = checkfield(md,'fieldname','surfaceforcings.monthlytemperatures','forcing',1,'NaN',1);
  • TabularUnified issm/trunk-jpl/test/NightlyRun/test236.m

    r17555 r18724  
    4444md.timestepping.final_time=60;
    4545
     46md.surfaceforcings.Pfac=[1;1];
     47md.surfaceforcings.Tdiff=[1;1];
     48md.surfaceforcings.sealev=[1;1];
     49
    4650%
    4751md.transient.requested_outputs={'default','SurfaceforcingsMonthlytemperatures'};
  • TabularUnified issm/trunk-jpl/test/NightlyRun/test237.m

    r18068 r18724  
    4040    md.surfaceforcings.precipitations_presentday(md.mesh.numberofvertices+1,imonth+1)=((imonth+1)/12);
    4141end
     42
     43md.surfaceforcings.Pfac=[1;1];
     44md.surfaceforcings.Tdiff=[1;1];
     45md.surfaceforcings.sealev=[1;1];
    4246
    4347% time steps and resolution
Note: See TracChangeset for help on using the changeset viewer.