Changeset 2567


Ignore:
Timestamp:
10/30/09 07:39:34 (15 years ago)
Author:
ala
Message:

minor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/classes/public/mesh/meshyams.m

    r2398 r2567  
    5353%load velocities
    5454disp('loading velocities...');
     55A=whos('-file',velocities);
     56if length(A)==4,
     57        intep='grid';
     58elseif  length(A)==5,
     59        interp='mesh';
     60else
     61        error(['meshyams error message: file ' velocities ' does not contain 4 (x,y,vx,vy) or 5 (x,y,index,vx,vy) variables']);
     62end
    5563load(velocities);
    5664
Note: See TracChangeset for help on using the changeset viewer.