MOM6
MOM_intrinsic_functions.F90
Go to the documentation of this file.
1
module
mom_intrinsic_functions
2
3
!********+*********+*********+*********+*********+*********+*********+**
4
!* *
5
!* This file is a part of MOM. See MOM.F90 for licensing. *
6
!* *
7
!* This module holds intrinsic functions which are used by MOM but *
8
!* are not supported by some compilers. *
9
!* *
10
!********+*********+*********+*********+*********+*********+*********+**
11
12
implicit none
13
private
14
15
public
::
invcosh
16
17
contains
18
19
function
invcosh
(x)
20
real
,
intent(in)
:: x
21
real
:: invcosh
22
23
#ifdef __INTEL_COMPILER
24
invcosh=acosh(x)
25
#else
26
invcosh=log(x+sqrt(x*x-1))
27
#endif
28
29
end function
invcosh
30
31
end module
mom_intrinsic_functions
mom_intrinsic_functions::invcosh
real function, public invcosh(x)
Definition:
MOM_intrinsic_functions.F90:20
mom_intrinsic_functions
Definition:
MOM_intrinsic_functions.F90:1
src
framework
MOM_intrinsic_functions.F90
Generated by
1.8.14