The following patch was needed to prevent this error in result solver, with the attached sif. Coord appears to have 3 elements regardless of dim, so printing coord with the trailed ' 0.0' causes a runtime error
In folder:At line 2089 of file ResultOutputSolve.f90 (unit = 58, file = './paraver.0001.vtk')
Fortran runtime error: Expected REAL for item 5 in formatted transfer, got CHARACTER
(2ES16.7E3,A)
/trunk/fem/src/
Code: Select all
--- ResultOutputSolve.f90.orig 2011-03-01 18:24:54.896096459 +0000
+++ ResultOutputSolve.f90 2011-03-01 18:25:57.055113854 +0000
@@ -2084,11 +2084,7 @@
END IF
END IF
- IF( dim <= 2 ) THEN
- WRITE( IOUnit,'(2ES16.7E3,A)' ) Coord,' 0.0'
- ELSE
- WRITE( IOUnit,'(3ES16.7E3)' ) Coord
- END IF
+ WRITE( IOUnit,'(3ES16.7E3)' ) Coord
END DO
WRITE ( IOUnit, * )