OptFEM2DP1  1.1
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
 All Files Functions Variables Pages
InitOptFEM2D.m
Go to the documentation of this file.
1 function InitOptFEM2D()
2 % function InitOptFEM2D()
3 % Initialization of the MATLAB search path and loading of msh
4 % package for Octave
5 %
6 % If Octave is used, the msh and general packages are automatically loaded.
7 %
8 %
9 % OptFEM2DP1 [V1.1] - Copyright (C) 2013 CJS (LAGA)
10 %
11 % This file is part of OptFEM2DP1.
12 % OptFEM2DP1 is free software: you can redistribute it and/or modify
13 % it under the terms of the GNU General Public License as published by
14 % the Free Software Foundation, either version 3 of the License, or
15 % (at your option) any later version.
16 %
17 % OptFEM2DP1 is distributed in the hope that it will be useful,
18 % but WITHOUT ANY WARRANTY; without even the implied warranty of
19 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 % GNU General Public License for more details.
21 %
22 % You should have received a copy of the GNU General Public License
23 % along with this program. If not, see <http://www.gnu.org/licenses/>.
24  addpath([pwd,filesep,'common']);
25  addpath([pwd,filesep,'Opt']);
26  addpath([pwd,filesep,'base']);
27  addpath([pwd,filesep,'valid']);
28  addpath([pwd,filesep,'bench']);
29  if isOctave()
30  more off
31 
32  pkg load msh
33  pkg load general
34  graphics_toolkit('fltk')
35  end