@@ -41,12 +41,12 @@ subroutine FMS_WriteFBranching(B1)
4141! write header the first time through
4242 if (iunit == 0 ) then
4343 ! 1. Make the file name
44- file_name = trim (FMSWorkingDir)// " N.dat"
44+ file_name = trim (FMSWorkingDir)// ' N.dat'
4545
4646 ! 2. See if it exists
4747 inquire (file= file_name, exist= file_exists)
4848 if (file_exists) then
49- open (newunit= iunit, file= trim (file_name), position= " append" )
49+ open (newunit= iunit, file= trim (file_name), position= ' append' )
5050 else
5151 open (newunit= iunit, file= trim (file_name))
5252 write (fmt_str, * ) ' (a12,' , nstate, ' (" State ",i3,2x ),a10)'
@@ -78,12 +78,12 @@ subroutine FMS_WriteFEnergy(B1)
7878! write header the first time through
7979 if (iunit == 0 ) then
8080 ! 1. Make the file name
81- file_name = trim (FMSWorkingDir)// " E.dat"
81+ file_name = trim (FMSWorkingDir)// ' E.dat'
8282
8383 ! 2. See if it exists
8484 inquire (file= file_name, exist= file_exists)
8585 if (file_exists) then
86- open (newunit= iunit, file= trim (file_name), position= " append" )
86+ open (newunit= iunit, file= trim (file_name), position= ' append' )
8787 else
8888 open (newunit= iunit, file= trim (file_name))
8989 write (iunit, ' (a10,6(a15))' ) ' #Time' , ' EPotentialQM' , ' EKineticQM' , ' ETotalQM' , &
@@ -168,12 +168,12 @@ subroutine FMS_WriteFCorr(B1)
168168! write header the first time through
169169 if (iunit == 0 ) then
170170 ! 1. Make the file name
171- file_name = trim (FMSWorkingDir)// " CFxn.dat"
171+ file_name = trim (FMSWorkingDir)// ' CFxn.dat'
172172
173173 ! 2. See if it exists
174174 inquire (file= file_name, exist= file_exists)
175175 if (file_exists) then
176- open (newunit= iunit, file= trim (file_name), position= " append" )
176+ open (newunit= iunit, file= trim (file_name), position= ' append' )
177177 else
178178 open (newunit= iunit, file= trim (file_name))
179179 write (iunit, ' (6(a10))' ) ' #Time' , ' Amp^2' , ' CorrReal' , ' CorrImag'
@@ -221,7 +221,7 @@ subroutine FMS_WriteFParentChildOlap(T1, T2, filename, firsttime)
221221 character (len= 256 ) :: file_name
222222
223223 ! 1. get the file name and unit number
224- file_name = trim (FMSWorkingDir)// " pcolap." // filename
224+ file_name = trim (FMSWorkingDir)// ' pcolap.' // filename
225225
226226 ! 2. work out if we are opening a new file
227227 open_new_file = .false.
@@ -236,12 +236,12 @@ subroutine FMS_WriteFParentChildOlap(T1, T2, filename, firsttime)
236236 if (open_new_file) then
237237 open (newunit= IUnit, file= trim (file_name))
238238 if (NTrip /= 0 ) then
239- write (IUnit, ' (a15,2(2x,i1), a15,2(2x,i1))' ) " # Child ID, Ms" , T1% TrajID, T1% Ms, &
240- " Parent ID, Ms" , T2% TrajID, T2% Ms
239+ write (IUnit, ' (a15,2(2x,i1), a15,2(2x,i1))' ) ' # Child ID, Ms' , T1% TrajID, T1% Ms, &
240+ ' Parent ID, Ms' , T2% TrajID, T2% Ms
241241 else
242- write (IUnit, ' (a10,i1,a9,i1)' ) " # Child ID" , T1% TrajID, " Parent ID" , T2% TrajID
242+ write (IUnit, ' (a10,i1,a9,i1)' ) ' # Child ID' , T1% TrajID, ' Parent ID' , T2% TrajID
243243 end if
244- write (IUnit, ' (4(4x,a10))' ) " # Time" , " abs(S)" , " Re(S)" , " Im(S)"
244+ write (IUnit, ' (4(4x,a10))' ) ' # Time' , ' abs(S)' , ' Re(S)' , ' Im(S)'
245245 else
246246 open (newunit= iunit, file= trim (file_name), position= ' append' )
247247 end if
@@ -267,7 +267,7 @@ subroutine FMS_WriteFSOME(T1, T2, Tc, filename, firsttime)
267267 integer :: IUnit
268268 character (len= 256 ) :: file_name
269269
270- file_name = trim (FMSWorkingDir)// " SOME." // filename
270+ file_name = trim (FMSWorkingDir)// ' SOME.' // filename
271271
272272 ! 2. work out if we are opening a new file
273273 file_exists = .true.
@@ -278,9 +278,9 @@ subroutine FMS_WriteFSOME(T1, T2, Tc, filename, firsttime)
278278 ! 3. open the file
279279 if (.not. file_exists) then
280280 open (newunit= IUnit, file= trim (file_name))
281- write (IUnit, ' (a15,2(2x,i1), a15,2(2x,i1))' ) " # Child ID, Ms" , T1% TrajID, T1% Ms, &
282- " Parent ID, Ms" , T2% TrajID, T2% Ms
283- write (IUnit, ' (4(4x,a10))' ) " # Time" , " Centroid pos." , " SOME (Re, Im)" , " SOMENorm"
281+ write (IUnit, ' (a15,2(2x,i1), a15,2(2x,i1))' ) ' # Child ID, Ms' , T1% TrajID, T1% Ms, &
282+ ' Parent ID, Ms' , T2% TrajID, T2% Ms
283+ write (IUnit, ' (4(4x,a10))' ) ' # Time' , ' Centroid pos.' , ' SOME (Re, Im)' , ' SOMENorm'
284284 else
285285 open (newunit= iunit, file= trim (file_name), position= ' append' )
286286 end if
@@ -312,7 +312,7 @@ subroutine FMS_WriteFSOCeff(T1, T2, js, filename, firsttime)
312312 character (len= 256 ) :: file_name
313313
314314 ! 1. get the file name and unit number
315- file_name = trim (FMSWorkingDir)// " SOCeff." // filename
315+ file_name = trim (FMSWorkingDir)// ' SOCeff.' // filename
316316
317317 ! 2. work out if we are opening a new file
318318 open_new_file = .false.
@@ -326,8 +326,8 @@ subroutine FMS_WriteFSOCeff(T1, T2, js, filename, firsttime)
326326 ! 3. open the file
327327 if (open_new_file) then
328328 open (newunit= IUnit, file= trim (file_name))
329- write (IUnit, ' (a15,2(2x,i1), a15,2(2x,i1))' ) " # Child ID, Ms" , T1% TrajID, T1% Ms, &
330- " Parent ID, Ms" , T2% TrajID, T2% Ms
329+ write (IUnit, ' (a15,2(2x,i1), a15,2(2x,i1))' ) ' # Child ID, Ms' , T1% TrajID, T1% Ms, &
330+ ' Parent ID, Ms' , T2% TrajID, T2% Ms
331331 else
332332 open (newunit= iunit, file= trim (file_name), position= ' append' )
333333 end if
0 commit comments