1 function [icl1,icl2]=hzc2icl(hzc,n)
2 % [icl1,icl2]=hzc2icl(hzc,n)
4 % hzc vector size 2, coarsening factors
5 % n vector size 3, fine mesh size
7 % icl1 coarse indices in the horizontal direction 1
8 % icl2 coarse indices in the horizontal direction 2
11 icl1(end+1)=n(1); % extend, end must be coarse