% MAIN_RK - Programme principal qui transporte des particules
% Inputs: Wind, current
%
% Outputs: particule position in lon and lat
% Other m-files required: RK.m, rotate_vector.m
% Author: michel tamtare
% ISMER-UQAR/polr
% email: tamkpanka.tamtare@uqar.ca
% juin 2018; Last revision:
%------------- BEGIN CODE ------------------------------------------------------------------------------------------------------------------------------------
% trouver les indices des cellules mouill??es dans le domaine choisi
t=1;
forii=i1:i2
forkk=k1:k2
%if ( ~isnan(test(ii,kk)) )
kcomp(t)=kk;
icomp(t)=ii;
t=t+1;
%end
end
end
%******************************************************************Fin de la configuration*********************************************************************
%****************************************************************Chargement des fichiers **********************************************************************
% MAIN_RK - Programme principal qui transporte des particules
% Inputs: Wind, current
%
% Outputs: particule position in lon and lat
% Other m-files required: RK.m, rotate_vector.m
% Author: michel tamtare
% ISMER-UQAR/polr
% email: tamkpanka.tamtare@uqar.ca
% juin 2018; Last revision:
%------------- BEGIN CODE ------------------------------------------------------------------------------------------------------------------------------------
% trouver les indices des cellules mouill??es dans le domaine choisi
t=1;
forii=i1:i2
forkk=k1:k2
%if ( ~isnan(test(ii,kk)) )
kcomp(t)=kk;
icomp(t)=ii;
t=t+1;
%end
end
end
%******************************************************************Fin de la configuration*********************************************************************
%% ************ Chargement des fichiers ***********************
% MAIN_RK - Programme principal qui transporte des particules
% Inputs: Wind, current
%
% Outputs: particule position in lon and lat
% Other m-files required: RK.m, rotate_vector.m
% Author: michel tamtare
% ISMER-UQAR/polr
% email: tamkpanka.tamtare@uqar.ca
% juin 2018; Last revision:
%------------- BEGIN CODE ------------------------------------------------------------------------------------------------------------------------------------