[skip sc] vtk output working and tested

need to check syntax check because ifort 17.0 has problems with new
mesh. Works, however, with Intel 17.8
This commit is contained in:
Martin Diehl 2020-01-13 10:38:32 +01:00
parent 76d0383c2f
commit 47bcdfc22c
3 changed files with 13 additions and 3 deletions

View File

@ -433,6 +433,15 @@ J2_plasticBehavior:
- master
- release
Marc_elementLib:
stage: marc
script:
- module load $IntelMarc $HDF5Marc $MSC
- Marc_elementLib/test.py
except:
- master
- release
###################################################################################################
grid_all_example:
stage: example

@ -1 +1 @@
Subproject commit 66d562c755cd9aa4bbb8280c509383014acd52db
Subproject commit 99701e9b21b287c39c922a65f70994cc7cf1236c

View File

@ -40,8 +40,9 @@ class DADF5():
self.version_major = f.attrs['DADF5-major']
self.version_minor = f.attrs['DADF5-minor']
if self.version_major != 0 or not 2 <= self.version_minor <= 5:
raise TypeError('Unsupported DADF5 version {} '.format(f.attrs['DADF5-version']))
if self.version_major != 0 or not 2 <= self.version_minor <= 6:
raise TypeError('Unsupported DADF5 version {}.{} '.format(f.attrs['DADF5_version_major'],
f.attrs['DADF5_version_minor']))
self.structured = 'grid' in f['geometry'].attrs.keys()