Académique Documents
Professionnel Documents
Culture Documents
3 4.20 0.1000000E-09-0.2000000E-04
If the variable is too long for the w field requested, *** will
be printed. Note for characters, you can specify just a
instead of aw, and it will figure out what w to use.
3 4.2
0.10E-09 -0.20E-04
where only the first word of each record is read. One can
also skip over a record by just reading nothing
read (unit=iu)
! go to previous record
The units of the record length are bytes for formatted files,
but are in unspecified vendor dependent units for
unformatted (binary) files. To determine what units to
use, one uses a special inquire function. For example to
open a direct access file where each record is big enough
to write an integer:
integer :: i
inquire(iolength=recordlength) i
open(unit= iu,file=filename, form=unformatted,
recl=recordlength,access=direct)
! perform 1d fft
! perform 2d fft
! perform 1d fft
! perform 2d fft