Title20110603


Main Programming Languages
ASP.NET C# Fortran Matlab
Ph.D
Major News CFD
OS
ubuntu windows IPAD
Review

[0] Vortex Sound
[1] Sound and Source of Sound
[2] Back-Scattering correction and further extensions of Amiets TE noise model Part 1: theory

Life
[0] 잡담 [1] 사진

이 블로그 검색

2014년 7월 16일 수요일

Reading C# binary file in Fortran

Program ReadCSBinary
    integer     :: len_t, NE
    real(8)     :: torque, fx
    open(101, file='Lowson.ini_0',form='unformatted', ACCESS="STREAM")
   
    read(101) len_t
    print *, len_t
    read(101) NE
    print *, NE
    read(101) torque
    print *, torque
    read(101) fx
    print *, fx
    close(101)
End

twitter leegse