bugfix: did not work with VTK 8

This commit is contained in:
Martin Diehl 2021-09-01 11:07:39 +02:00
parent 1eb96f4934
commit 949eea1624
2 changed files with 3 additions and 2 deletions

@ -1 +1 @@
Subproject commit 8a6ab2d16b01ca6fa4cd8cef62f68cd1b4f0cadd
Subproject commit 65c453c46d157f6448ab48829d059b1d641fde47

View File

@ -266,7 +266,8 @@ subroutine readVTI(grid,geomSize,origin,material, &
integer :: i
if (getXMLValue(header,'Direction') /= '1 0 0 0 1 0 0 0 1') &
temp = getXMLValue(header,'Direction')
if (temp /= '1 0 0 0 1 0 0 0 1' .and. temp /= '') & ! https://discourse.vtk.org/t/vti-specification/6526
call IO_error(error_ID = 844, ext_msg = 'coordinate order')
temp = getXMLValue(header,'WholeExtent')