zvelocity.m.html CLAWPACK  
 Source file:   zvelocity.m
 Directory:   /home/rjl/git/claworg/clawpack-4.x/matlab
 Converted:   Sat Aug 6 2011 at 21:53:07   using clawcode2html
 This documentation file will not reflect any later changes in the source file.

 
function w = zvelocity(data)
%
% Compute the z-velocity from the data
% for problems where the fourth component is the z-momentum and the
% first component is the "density"  (e.g. Euler)


w = data(:,4)./data(:,1);