From 63c2faecd587b08b4a481a0da8b821edd58db572 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Fri, 21 Jun 2019 12:42:36 +0200 Subject: add module with functions for integrating --- src/functions.f90 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/functions.f90 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 -- cgit v1.2.3