This toolbox needs
This toolbox was tested under
OS | Matlab | gmsh |
Ubuntu 14.04.5 LTS | 2015b to 2017b | 2.x.0, with x in 13,14,15,16 |
3.0.x, with x from 0 to 6 | ||
Ubuntu 16.04.3 LTS | 2015b to 2017b | 2.x.0, with x in 13,14,15,16 |
3.0.x, with x from 0 to 6 | ||
Ubuntu 17.10 | 2015b to 2017b | 2.x.0, with x in 13,14,15,16 |
3.0.x, with x from 0 to 6 | ||
macOS Sierra 10.12.6 | 2015b to 2017b | 2.x.0, with x in 13,14,15,16 |
3.0.x, with x from 0 to 6 | ||
Windows 10.0.15063 | 2015b to 2017b | 2.x.0, with x in 13,14,15,16 |
3.0.x,with x from 0 to 6 | ||
For this method, one just have to get/download the install file (2 Ko) mfc_oogmsh_install.m
Thereafter, one run it under Matlab. This command download, extract and configure the fc-oogmsh toolbox and
the required fc-tools toolbox in the current directory.
By default, the gmsh binary is supposed to be located in
To specify an other location one can do
mfc_oogmsh_install(’gmsh_bin’, ’<GMSH>’)
where <GMSH> is the gmsh binary with path. It’s also possible, after installation, to change the gmsh binary by using the Matlab command
fc_oogmsh.configure(’gmsh_bin’,’<GMSH>’)
For example, to install this toolbox in ~/Matlab/toolboxes directory, one have to copy the file mfc_oogmsh_install.m in the ~/Matlab/toolboxes directory. Then in a Matlab terminal run commands :
>> cd ~/Matlab/toolboxes
>> mfc_oogmsh_install
There is the output of the mfc_oogmsh_install command on a Linux computer :
Parts of the Matlab <fc-oogmsh> toolbox.
Copyright (C) 2017 Francois Cuvelier <cuvelier@math.univ-paris13.fr>
1- Downloading and extracting the toolboxes
-> <fc-tools>[0.0.19] ... OK
-> <fc-oogmsh>[0.0.17] ... OK
2- Setting the <fc-oogmsh> toolbox
run fc_oogmsh.configure(’gmsh_bin’,’<PATH>/gmsh’) to change
[fc-oogmsh] Using GMSH binary : ~/bin/gmsh
[fc-oogmsh] Writing in ~/Matlab/toolboxes/fc-oogmsh-full/fc_oogmsh-0.0.17/configure_loc.m ...
[fc-oogmsh] configured with
-> gmsh_bin=’~/bin/gmsh’;
-> mesh_dir=’~/Matlab/toolboxes/fc-oogmsh-full/fc_oogmsh-0.0.17/meshes’;
-> geo_dir=’~/Matlab/toolboxes/fc-oogmsh-full/fc_oogmsh-0.0.17/geodir’;
-> fc_tools_dir=’~/Matlab/toolboxes/fc-oogmsh-full/fc_tools-0.0.19’;
[fc-oogmsh] done
3- Using the <fc-oogmsh> toolbox
Under Matlab:
addpath(’~/Matlab/toolboxes/fc-oogmsh-full/fc_oogmsh-0.0.17’)
fc_oogmsh.init()
See ~/Matlab/toolboxes/mfc_oogmsh_set.m
The complete toolbox (i.e. with all needed toolboxes) is stored in the directory ~/Matlab/toolboxes/fc-oogmsh-full and, for each Matlab session, one have to set the toolbox by :
>> addpath(’~/Matlab/toolboxes/fc-oogmsh-full/mfc-oogmsh-0.0.17’)
>> fc_oogmsh.init()
For uninstalling, one just have to delete the directory :
~/Matlab/toolboxes/fc-oogmsh-full
| ||||
Version | date | archives | install | |
0.0.16 | November 22, 2017 | |||
0.0.15 | October 31, 2017 | |||
0.0.14 | February 5, 2017 | |||
0.0.13 | February 1, 2017 | |||
0.0.12 | December 27, 2016 | |||
0.0.11 | December 23, 2016 | |||
0.0.10 | December 20, 2016 | |||