%
%Victor Chavarrias (victor.chavarrias@deltares.nl)
%
%$Revision$
%$Date$
%$Author$
%$Id$
%$HeadURL$
%

%% PREAMBLE

clear
clc
fclose all;

%% ADD OET

%change to your path to vtools/general in OET. 
path_add_fcn='p:\dflowfm\projects\2020_d-morphology\modellen\checkout\openearthtools_matlab\applications\vtools\general\';
addpath(path_add_fcn)
addOET(path_add_fcn)

%% INPUT

    %% paths

% path_mdu_ori=fullfile(pwd,'../','\01_simulations\r003\dflowfm\FlowFM.mdu');
% path_sim_upd=fullfile(pwd,'../','\01_simulations\r004\dflowfm\');

path_mdu_ori=fullfile(pwd,'../','\01_simulations\r005\dflowfm\FlowFM.mdu');
path_sim_upd=fullfile(pwd,'../','\01_simulations\r006\dflowfm\');

%% CALL

D3D_interpolate_crosssections(path_mdu_ori,path_sim_upd);