www.pudn.com > level_set_methods_1.1.zip > init_vector_WENO.m, change:2005-05-05,size:301b


function [u_ext, v_ext] = init_vector_WENO(u,v) 
% 
% Extends boundaries of u and v 
% 
% Author: Baris Sumengen  sumengen@ece.ucsb.edu 
% http://vision.ece.ucsb.edu/~sumengen/ 
% 
 
 
u_ext = zeros(size(u)+6); 
v_ext = zeros(size(v)+6); 
u_ext(4:end-3,4:end-3) = u; 
v_ext(4:end-3,4:end-3) = v;