
fprintf('--> Initializing MIT course 2.29 Finite Volume Package ...')

% puts working directory and the file seperator in d0 (e.g. /)
d0=fileparts([pwd,filesep]); 
addpath(d0);
addpath([d0,'/Src/Advect']);
addpath([d0,'/Src/MatrixOps']);
addpath([d0,'/Src/NSSolvers']);
addpath([d0,'/Src/OtherSolvers']);
addpath([d0,'/Src/DOStochastic']);
addpath([d0,'/Src/Util']);
addpath([d0,'/Src/Util/SeaWater']);
addpath([d0,'/Save/DOAdaptSave']);
addpath([d0,'/Save/DOAdaptSave/Basis']);
addpath([d0,'/Save/DO_ICs']);
addpath([d0,'/Examples']);

addpath([d0,'/Cases/Pete_obstacle']); 
addpath([d0,'/Cases/Bottom_Gravity_Current']);
addpath([d0,'/Cases/Code_Verification_Test_Cases']);

% cd Src/Advect
% mex Narrowband_Advect_LS_mx.cpp
% mex Narrowband_LS_mx.cpp
% mex SCAadvect_CDS_mx.cpp
% mex SCAadvect_mx.cpp
% mex SCAadvect_TVD_mx.cpp
% mex UVadvect_DO_CDS_mx.cpp
% mex UVadvect_DO_mx.cpp
% mex UVadvect_TVD_mx.cpp
% cd ../Util
% mex dsegment.cpp
% cd ../..

fprintf(' Done!\n\n');
