namespace mom_intrinsic_functions

Overview

A module with intrinsic functions that are used by MOM but are not supported by some compilers. More…

namespace mom_intrinsic_functions {

// global functions

real function, public invcosh(x x);

} // namespace mom_intrinsic_functions

Detailed Documentation

A module with intrinsic functions that are used by MOM but are not supported by some compilers.

Global Functions

real function, public invcosh(x x)

Evaluate the inverse cosh, either using a math library or an equivalent expression.

Parameters:

x

The argument of the inverse of cosh. NaNs will occur if x<1, but there is no error checking