RFOF - RF Library for Orbit Following Codes
RFOF_numerics Module Reference

Generic numerical solvers. More...

List of all members.

Public Member Functions

subroutine Ridders_derivative (FCN, x, h, rel_tol, err, fprim)
 subroutine Ridders_derivative(FCN, x, h, err, fprim)
subroutine polycoef_3points (t, x, coef, error)
subroutine solve_quadratic_polynomial_real_roots (coef, root1, root2, Nsolutions)
real(8) function eval_quadratic_polynomial (coef, t)
real(8) function eval_derivative_of_quadratic_polynomial (coef, t)
real(8) function AIRY_SPECIAL_ARG (PX)
real(8) function BESSELJ (N, X)
REAL(8) function BESSELJ0 (X)
REAL(8) function BESSELJ1 (X)
subroutine add_to_sorted_list_3columns (list, nelements, t, x, y)
subroutine test_list ()

Detailed Description

Generic numerical solvers.

Author:
T. Johnson
Date:
2010.06.08
Version:
"$Id: RFOF_numerics.F90 188 2011-09-12 11:50:22Z tjohnson $"

Definition at line 10 of file RFOF_numerics.F90.


Member Function/Subroutine Documentation

subroutine RFOF_numerics::Ridders_derivative (   FCN,
real(8), intent(in)  x,
real(8), intent(in)  h,
real(8), intent(in)  rel_tol,
real(8), intent(out)  err,
real(8), intent(out)  fprim 
)

subroutine Ridders_derivative(FCN, x, h, err, fprim)

Returns the derivative of a function func at a point x by Ridders’ method of polynomial extrapolation. The value h is input as an estimated initial stepsize; it need not be small, but rather should be an increment in x over which func changes substantially. An estimate of the error in the derivative is returned as err. Stepsize is decreased by CON at each iteration. Sets maximum size of tableau. Return when error is SAFE worse than the best so far.

Definition at line 82 of file RFOF_numerics.F90.

subroutine RFOF_numerics::polycoef_3points ( real(8), dimension(3), intent(in)  t,
real(8), dimension(3), intent(in)  x,
real(8), dimension(3), intent(out)  coef,
integer, intent(out)  error 
)

Definition at line 162 of file RFOF_numerics.F90.

subroutine RFOF_numerics::solve_quadratic_polynomial_real_roots ( real(8), dimension(3), intent(in)  coef,
real(8), intent(out)  root1,
real(8), intent(out)  root2,
integer, intent(out)  Nsolutions 
)

Definition at line 208 of file RFOF_numerics.F90.

real(8) function RFOF_numerics::eval_quadratic_polynomial ( real(8), dimension(3), intent(in)  coef,
real(8), intent(in)  t 
)

Definition at line 252 of file RFOF_numerics.F90.

real(8) function RFOF_numerics::eval_derivative_of_quadratic_polynomial ( real(8), dimension(3), intent(in)  coef,
real(8), intent(in)  t 
)

Definition at line 270 of file RFOF_numerics.F90.

real(8) function RFOF_numerics::AIRY_SPECIAL_ARG ( real(8), intent(in)  PX)

Definition at line 292 of file RFOF_numerics.F90.

real(8) function RFOF_numerics::BESSELJ ( integer, intent(in)  N,
real(8), intent(in)  X 
)

Definition at line 463 of file RFOF_numerics.F90.

REAL(8) function RFOF_numerics::BESSELJ0 ( REAL(8)  X)

Definition at line 536 of file RFOF_numerics.F90.

REAL(8) function RFOF_numerics::BESSELJ1 ( REAL(8)  X)

Definition at line 587 of file RFOF_numerics.F90.

subroutine RFOF_numerics::add_to_sorted_list_3columns ( real(8), dimension(:,:), intent(inout), pointer  list,
integer, intent(inout)  nelements,
real(8), intent(in)  t,
real(8), intent(in)  x,
real(8), intent(in)  y 
)

Definition at line 640 of file RFOF_numerics.F90.

subroutine RFOF_numerics::test_list ( )

Definition at line 679 of file RFOF_numerics.F90.


The documentation for this module was generated from the following file: