diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-06-21 12:42:36 +0200 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-06-21 12:42:36 +0200 |
commit | 63c2faecd587b08b4a481a0da8b821edd58db572 (patch) | |
tree | a1d52331001114319d603096d4aea372016cbf8a /src | |
parent | f73f1331f30d330dd10cd0b02ca56c3ab5d31eaa (diff) | |
download | fortran-assignment3-63c2faecd587b08b4a481a0da8b821edd58db572.tar.gz fortran-assignment3-63c2faecd587b08b4a481a0da8b821edd58db572.zip |
add module with functions for integrating
Diffstat (limited to 'src')
-rw-r--r-- | src/functions.f90 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/functions.f90 b/src/functions.f90 new file mode 100644 index 0000000..7216970 --- /dev/null +++ b/src/functions.f90 @@ -0,0 +1,11 @@ +MODULE functions + +CONTAINS + + FUNCTION my_exp(x) result(y) + real(kind=8), intent(in) :: x + real(kind=8) :: y + y = exp(x) + END FUNCTION my_exp + +END MODULE functions |