Commits

Manuel Hasert committed 6239e04

merging with kartiks changes

Comments (0)

Files changed (1)

source/aot_out_module.f90

     !------------------------------------------------------------------------ 
     if (present(filename)) then
       put_conf%outunit = newunit()
+      write(*,*) 'opening filename',trim(filename)
       open(unit = put_conf%outunit, file = trim(filename), action = 'write', &
         &  status='replace', recl=360)
     else if ( present(outUnit) ) then
        stop
     end if
 
-      put_conf%indent = 0
-      put_conf%stack(:) = 0 
-      put_conf%level = 0
+    put_conf%indent = 0
+    put_conf%stack(:) = 0 
+    put_conf%level = 0
+
   end subroutine aot_open_put
 !******************************************************************************!