OptFEM2DP1 Toolbox  V1.2b3
Matlab/Octave Optimized P1-Lagrange Finite Element Method in 2D
 All Files Functions 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 % Copyright:
9 % See \ref license
10  addpath([pwd,filesep,'common']);
11  addpath([pwd,filesep,'Opt']);
12  addpath([pwd,filesep,'base']);
13  addpath([pwd,filesep,'valid']);
14  addpath([pwd,filesep,'bench']);
15  if isOctave()
16  more off
17 
18  pkg load msh
19  pkg load general
20  graphics_toolkit('fltk')
21  end