Opened 13 years ago

Last modified 13 years ago

#525 closed upgrade

Added error function (ERF) routines — at Initial Version

Reported by: arango Owned by: arango
Priority: major Milestone: Release ROMS/TOMS 3.6
Component: Nonlinear Version: 3.6
Keywords: Cc:

Description

Added a new file ROMS/Utility/erf.F to incomplete gamma function and error function:

  ERF        Error function, ERF(x)
  ERFC       Complementary error function, ERFC(x)
  ERFCC      Complementary error function, ERFCC(x): cheaper Chebyshev fitting approximation
  GAMMP      Incomplete gamma function, P(a,x)
  GAMMQ      Incomplete gamma function complement, Q(a,x)=1-P(a,x)

This functions are not part of the standard intrinsic functions in Fortran. There are handy when defining analytical expression. The implementation of these functions are adapted from Numerical Recipes.

Change History (0)

Note: See TracTickets for help on using tickets.