Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 4th, 2013  |  syntax: Fortran  |  size: 0.30 KB  |  views: 3  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. module my_stuff
  2. implicit none
  3. double precision rawSE
  4. end module my_stuff
  5. *********
  6.  
  7. program test_rawSE
  8. use my_stuff
  9. implicit none
  10.  
  11. write (*, *) rawSE (2.0d0)
  12.  
  13. end program test_rawSE
  14. ********
  15.  
  16. double precision FUNCTION rawSE(x)
  17.   double precision x
  18.   rawSE = 2.0d0 * x
  19.   return
  20. end FUNCTION
clone this paste RAW Paste Data