Ignore:
Timestamp:
02/23/12 11:17:05 (13 years ago)
Author:
Mathieu Morlighem
Message:

moved AccumulationRate to Precepitation for PDD and removed ablation_rate never used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/utils/BC/SetMarineIceSheetBC.m

    r9734 r11509  
    7575
    7676
    77 %Create zeros basalforcings.melting_rate, surfaceforcings.ablation_rate, surfaceforcings.accumulation_rate
    78 % and surfaceforcings.mass_balance if not specified
    79 if isnan(md.surfaceforcings.accumulation_rate),
    80         md.surfaceforcings.accumulation_rate=zeros(md.mesh.numberofvertices,1);
    81         disp('      no surfaceforcings.accumulation_rate specified: values set as zero');
    82 end
    83 if isnan(md.surfaceforcings.ablation_rate),
    84         md.surfaceforcings.ablation_rate=zeros(md.mesh.numberofvertices,1);
    85         disp('      no surfaceforcings.ablation_rate specified: values set as zero');
     77%Create zeros basalforcings and surfaceforcings
     78if isnan(md.surfaceforcings.precipitation),
     79        md.surfaceforcings.precipitation=zeros(md.mesh.numberofvertices,1);
     80        disp('      no surfaceforcings.precipitation specified: values set as zero');
    8681end
    8782if isnan(md.surfaceforcings.mass_balance),
Note: See TracChangeset for help on using the changeset viewer.