Ignore:
Timestamp:
09/16/15 17:15:08 (10 years ago)
Author:
Eric.Larour
Message:

CHG: finished first prototype implementation of the GEMB model inside the Gembx module of the SurfaceMassBalancex module,
and inside the SMBgemb.m class, as well as the SMBGemb method of the Element.cpp class.
Had to introduce the concept also of a DoubleArrayInput to keep track of the vertical gridded datasets within each element.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/gemb.m

    r19527 r19554  
    2323md.smb.pAir=[repmat(inputs.pAir0',md.mesh.numberofelements,1);dateN'];
    2424
    25 md.smb.Vz=inputs.LP.Vz;
    26 md.smb.Tz=inputs.LP.Tz;
    27 md.smb.Tmean=inputs.LP.Tmean;
    28 md.smb.C=inputs.LP.C;
     25md.smb.Vz=repmat(inputs.LP.Vz,md.mesh.numberofelements,1);
     26md.smb.Tz=repmat(inputs.LP.Tz,md.mesh.numberofelements,1);
     27md.smb.Tmean=repmat(inputs.LP.Tmean,md.mesh.numberofelements,1);
     28md.smb.C=repmat(inputs.LP.C,md.mesh.numberofelements,1);
    2929
    3030%settings
    31 md.smb.spinUp=2;
     31md.smb.ismelt=0;
     32md.smb.isthermal=0;
     33md.smb.isalbedo=0;
     34md.transient.isstressbalance=0;
     35md.transient.ismasstransport=0;
     36md.transient.isthermal=0;
     37md.timestepping.start_time=2000;
     38md.timestepping.final_time=2001;
     39md.timestepping.time_step=1/12; %monthly
     40
     41md.verbose=verbose('11111111');
    3242
    3343%Run transient
Note: See TracChangeset for help on using the changeset viewer.