Changeset 24942 for issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m
- Timestamp:
- 06/01/20 10:01:04 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m ΒΆ
r24919 r24942 16 16 17 17 % Get Gmsh version 18 % 19 % NOTE: 20 % - The output of `gmsh -version` does not follow a consistent format 21 % across major versions. 22 % - Under Gmsh 3.*, output of `gmsh -info` needs to be explicitly 23 % redirected to console in order to be grep'ped. 24 % - May need to modify the regex supplied to `sed` for future Gmsh versions. 25 % 26 % TODO: 27 % - Move this so we can retrieve like we do with 28 % `IssmConfig(_DAKOTA_VERSION_)`. 29 % 30 [status,gmshmajorversion]=system('gmsh -info 2>&1 | grep "Version" | sed -e "s/Version[[:blank:]]*:[[:blank:]]//" | cut -d "." -f1'); 31 32 gmshmajorversion=str2int(gmshmajorversion); 18 gmshmajorversion = IssmConfig('_GMSH_VERSION_MAJOR_'); 33 19 34 20 if ~ismember([3,4],gmshmajorversion),
Note:
See TracChangeset
for help on using the changeset viewer.