Welcome

This is a module that helps the user to run an external executable file (.exe). The executable file is named GDISK.EXE and it is in the C:\DMVL\. i.e. C:\DMVL\GDISK.EXE. The GDISK.EXE that is incorporated in the DMVL is a FORTRAN calculative code that belongs to the observatory of BEOGRAD and it deals with galactic disk problem.  We compile it using Microsoft FORTRAN using CONSOLE PROJECT APPLICATION win32 - Release to succeed the fastest running. Every body can incorporate its own GDISK.EXE overwriting that it is in the C:\DMVL\ and reading - writing the files that the GDISK.EXE to communicate with all the other DMVL parts.


THE INPUT FILE

The GDISK.EXE use then file disk_in.txt that fortran command opens open(1,file='C:\DMVL\disk_in.txt',status='old') and it is INPUT file.

The next fortran commands read this:

READ(1,*)KKKK

read(1,*) xinc,r0,rm,n,xl0,xp,xc,xw,q

CLOSE(1)

The READ(1,*)KKKK must read always the value 1.  This is reserved

In future design it will be used for instruction to GDISK.EXE  to the FSC.EXE (the main user interface module)  and to disk6.exe (the calculative core of  DMVL).

FSC.EXE use the same file to incorporate the result of GDISK.EXE running in the  RRKS file.


THE OUTPOU FILES

open(2,file='C:\DMVL\disc-line.dat',status='unknown')

Disc-line.dat is the main output file. The FSC.EXE incorporates this in an .RRKS file with its producing data. Disk6.exe reads this for calculating and fitting.

Its first line is only one number that says how many lines follow this line.

All next lines include wave length, and disk calculation emission result separated with comma to be red with List-directed Input-Output.

For example

         141

     6205.000000,   4.641661E-31

     6210.000000,   1.109323E-29

     6215.000000,   2.450222E-28

     6220.000000,   5.002283E-27

     6225.000000,   9.439489E-26

     6230.000000,   1.646538E-24

     6235.000000,   2.655015E-23

              •                        •

            •                        •

            •                        •

OPEN(4,FILE='C:\DMVL\disc-view.txt')

The file above would have the form.

     6205.000000      4.641661E-31

     6210.000000      1.109323E-29

     6215.000000      2.450222E-28

     6220.000000      5.002283E-27

     6225.000000      9.439489E-26

              •                        •

            •                        •

            •                        •

VIEWDISK.exe reads this file and shows the shape of the galactic disk emission

 open(2,file='C:\DMVL\disc-line1.dat',status='unknown')

This file does not used by DMVL. It only for user.