Fortran 90/95 and Computational Physics
Fortran 90/95 and Computational Physics
Fortran 90/95 and Computational Physics
- No tags were found...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Modules - Simple ExampleMODULE constantsIMPLICIT NONEINTEGER, PARAMETER :: long = SELECTED_REAL_KIND(15,307)REAL(long), PARAMETER :: pi = 3.14159265358979324D0END MODULE constantsPROGRAM module_exampleUSE constantsIMPLICIT NONEREAL(long) :: aa = 2D0*piprint*, aEND PROGRAM module_example<strong>Fortran</strong> <strong>90</strong>/<strong>95</strong> <strong>and</strong> <strong>Computational</strong> <strong>Physics</strong> – p.13/22