%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This file is part of NS2DDV. % % % % Copyright(C) 2011-2017 C. Calgaro (caterina.calgaro@math.univ-lille1.fr) % % E. Creusé (emmanuel.creuse@math.univ-lille1.fr) % % T. Goudon (thierry.goudon@inria.fr) % % A. Mouton (alexandre.mouton@math.univ-lille1.fr) % % % % NS2DDV is free software: you can redistribute it and/or modify it under the terms % % of the GNU General Public License as published by the Free Software Foundation, % % either version 3 of the License, or (at your option) any later version. % % % % NS2DDV is distributed in the hope that it will be useful, but WITHOUT ANY % % WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A % % PARTICULAR PURPOSE. See the GNU General Public License for more details. % % % % You should have received a copy of the GNU General Public License along with % % NS2DDV. If not, see . % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function[] = load_paths(inputpath) % INPUT % inputpath (optional) Root path of NS2DDV if (nargin == 0) rootpath = '.'; elseif (nargin == 1) rootpath = inputpath; else error('load_paths accepts 0 or 1 arguments'); end path(path, strcat(rootpath, '/MESH')); path(path, strcat(rootpath, '/MESH/MESH_FILES')); path(path, strcat(rootpath, '/MESH/MESH_FILES/DIHEDRAL')); path(path, strcat(rootpath, '/ASSEMBLING')); path(path, strcat(rootpath, '/ASSEMBLING/FINITE_ELEMENTS')); path(path, strcat(rootpath, '/ASSEMBLING/FINITE_ELEMENTS/GLOBAL_ASSEMBLING_PCT')); path(path, strcat(rootpath, '/ASSEMBLING/FINITE_ELEMENTS/GLOBAL_ASSEMBLING_SERIAL')); path(path, strcat(rootpath, '/ASSEMBLING/FINITE_ELEMENTS/LOCAL_ASSEMBLING')); path(path, strcat(rootpath, '/MISC')); path(path, strcat(rootpath, '/MISC/INTGAUSS')); path(path, strcat(rootpath, '/MISC/BLASIUS')); path(path, strcat(rootpath, '/MISC/INTGAUSS/DUNAVANT_INTGAUSS')); path(path, strcat(rootpath, '/MODELS')); path(path, strcat(rootpath, '/MODELS/NSDV')); path(path, strcat(rootpath, '/MODELS/NSDV/BOUNDARY_CONDITIONS')); path(path, strcat(rootpath, '/MODELS/NSDV/PRESSURE_CONSTRAIN')); path(path, strcat(rootpath, '/MODELS/NSDV/INITIALIZATION')); path(path, strcat(rootpath, '/MODELS/NSDV/EXACTSOLUTION')); path(path, strcat(rootpath, '/MODELS/NSDV/COMPUTATION')); path(path, strcat(rootpath, '/MODELS/NSDV/COMPUTATION/FE_PART')); path(path, strcat(rootpath, '/MODELS/NSDV/COMPUTATION/FV_PART')); path(path, strcat(rootpath, '/MODELS/NSDV/COMPUTATION/FV_PART/MUSCL')); path(path, strcat(rootpath, '/MODELS/NSDV/SOURCETERMS')); path(path, strcat(rootpath, '/MODELS/NSDV/OUTPUTS')); path(path, strcat(rootpath, '/MODELS/NSDV/POSTPROCESSING')); path(path, strcat(rootpath, '/MODELS/NS')); path(path, strcat(rootpath, '/MODELS/NS/ASSEMBLING')); path(path, strcat(rootpath, '/MODELS/NS/ASSEMBLING/GLOBAL_ASSEMBLING_PCT')); path(path, strcat(rootpath, '/MODELS/NS/ASSEMBLING/GLOBAL_ASSEMBLING_SERIAL')); path(path, strcat(rootpath, '/MODELS/NS/ASSEMBLING/LOCAL_ASSEMBLING')); path(path, strcat(rootpath, '/MODELS/NS/BOUNDARY_CONDITIONS')); path(path, strcat(rootpath, '/MODELS/NS/FIXEDPOINTS')); path(path, strcat(rootpath, '/MODELS/NS/INITIALIZATION')); path(path, strcat(rootpath, '/MODELS/NS/EXACTSOLUTION')); path(path, strcat(rootpath, '/MODELS/NS/COMPUTATION')); path(path, strcat(rootpath, '/MODELS/NS/COMPUTATION/FE_PART')); path(path, strcat(rootpath, '/MODELS/NS/SOURCETERMS')); path(path, strcat(rootpath, '/MODELS/NS/OUTPUTS')); path(path, strcat(rootpath, '/MODELS/NS/POSTPROCESSING')); path(path, strcat(rootpath, '/OUTPUTS')); path(path, strcat(rootpath, '/OUTPUTS/TRICONT')); path(path, strcat(rootpath, '/OUTPUTS/TWOD')); path(path, strcat(rootpath, '/OUTPUTS/SUPLABEL')); path(path, strcat(rootpath, '/POSTPROCESSING')); path(path, strcat(rootpath, '/POSTPROCESSING/GLOBAL_DIAG_PCT')); path(path, strcat(rootpath, '/POSTPROCESSING/GLOBAL_DIAG_SERIAL')); path(path, strcat(rootpath, '/POSTPROCESSING/LOCAL_DIAG')); path(path, strcat(rootpath, '/UI')); path(path, strcat(rootpath, '/EXAMPLES')); end