1 # Created by Octave 3.6.1, Sun Mar 25 18:44:37 2012 UTC <root@t61>
13 # name: <cell-element>
17 PKG_ADD:# Run this only if the package is installed
18 PKG_ADD:if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
19 PKG_ADD: dirlist= {"Utilities","DDGOX","ThDDGOX","QDDGOX","METLINES","DDGOXT"};
21 PKG_ADD: for ii=1:length(dirlist)
22 PKG_ADD: addpath ( [ fileparts( mfilename("fullpath")) "/" dirlist{ii}])
25 PKG_ADD: __gmsh = file_in_path (EXEC_PATH, "gmsh");
26 PKG_ADD: if (isempty (__gmsh))
27 PKG_ADD: __gmsh = file_in_path (EXEC_PATH, "gmsh.exe");
28 PKG_ADD: if (isempty (__gmsh))
29 PKG_ADD: warning ("gmsh does not seem to be present some functionalities will be disabled");
32 PKG_ADD: clear __gmsh;
34 PKG_ADD: __dx = file_in_path (EXEC_PATH, "dx");
35 PKG_ADD: if (isempty (__dx))
36 PKG_ADD: __dx = file_in_path (EXEC_PATH, "dx.exe");
37 PKG_ADD: if (isempty (__dx))
38 PKG_ADD: warning ("dx does not seem to be present some functionalities will be disabled");
46 # name: <cell-element>
50 PKG_ADD:# Run this only if the package is installed
51 PKG_ADD:if (! exist (fullf