simpk Subroutine

public subroutine simpk(f, fint, ipan, ircut, drdi)

Uses

    • global_variables
    • mod_datatypes
    • mod_ssum

The integration of the function has been modified for functions with kinks - at each kink the integration is restarted.

Warning

Input is destroyed

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), dimension (*) :: f
real(kind=dp), intent(out) :: fint
integer, intent(in) :: ipan
integer, intent(in), dimension (0:ipand) :: ircut
real(kind=dp), intent(in), dimension (*) :: drdi