Skip to content
Discussion options

You must be logged in to vote

Based on the official charmm PSFParser (charmm/source/io/psfres.F90), a blank line is required.

     if (qextfmt) then
        idleng=8
        if (prnlev >= 2) write(outu,'(a)') &
             ' psf_read_formatted: Reading PSF in the expanded format.'
        fmt00='(/I10)'
        fmt01=  '(I10,1X,A8,1X,A8,1X,A8,1X,A8,1X,I4,1X,2G14.6,I8)'
        ....
     else
        idleng=4
        fmt00='(/I8)'
        fmt01='(I8,1X,A4,1X,A4,1X,A4,1X,A4,1X,I4,1X,2G14.6,I8)'
        .....
     endif

The formats used for both reading and writing have a leading slash, e.g. fmt00='(/I10)' or fmt00='(/I8)'. In Fortran, the leading / in a format skips to the next record. On write, it emits a blank line f…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@orbeckst
Comment options

Answer selected by orbeckst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants