Changeset 129


Ignore:
Timestamp:
04/29/09 14:50:09 (16 years ago)
Author:
Eric.Larour
Message:

Fixed problem for vx

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/solutions/cielo/diagnostic.m

    r128 r129  
    11function md=diagnostic(md)
     2%DIAGNOSTIC - diagnostic solution sequence
     3%
     4%   Usage:
     5%      md=diagnostic(md)
    26
    37        %timing
     
    3842                md.pressure=md.rho_ice*md.g*(md.surface-md.z);
    3943        else
    40                
    4144                %load results onto model
    4245                md.vx=u_g(1:2:end)*md.yts;
    4346                md.vy=u_g(2:2:end)*md.yts;
    44                 md.vz=zeros(m_dv.nodesets.gsize,1);
     47                md.vz=zeros(md.numberofgrids,1);
    4548                md.vel=sqrt(md.vx.^2+md.vy.^2+md.vz.^2);
    4649       
Note: See TracChangeset for help on using the changeset viewer.