finite_differences Module


Interfaces

public interface fd3pt

  • public subroutine fd3pt_real(prof, profgrad, dr)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in), dimension(:) :: prof
    real, intent(out), dimension(:) :: profgrad
    real, intent(in) :: dr
  • public subroutine fd3pt_real_array(prof, profgrad, dr)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in), dimension(:) :: prof
    real, intent(out), dimension(:) :: profgrad
    real, intent(in), dimension(:) :: dr
  • public subroutine fd3pt_complex_array(prof, profgrad, dr)

    Arguments

    Type IntentOptional Attributes Name
    complex, intent(in), dimension(:) :: prof
    complex, intent(out), dimension(:) :: profgrad
    real, intent(in), dimension(:) :: dr

public interface fd5pt

  • public subroutine fd5pt_real(prof, profgrad, dr)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in), dimension(:) :: prof
    real, intent(out), dimension(:) :: profgrad
    real, intent(in) :: dr
  • public subroutine fd5pt_array(prof, profgrad, dr)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in), dimension(:) :: prof
    real, intent(out), dimension(:) :: profgrad
    real, intent(in), dimension(:) :: dr

public interface first_order_upwind

  • public subroutine first_order_upwind_real(llim, f, del, sgn, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    real, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    real, intent(out), dimension(llim:) :: df
  • public subroutine first_order_upwind_complex(llim, f, del, sgn, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    complex, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    complex, intent(out), dimension(llim:) :: df

public interface third_order_upwind

  • public subroutine third_order_upwind_complex(llim, f, del, sgn, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    complex, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    complex, intent(out), dimension(llim:) :: df
  • public subroutine third_order_upwind_real(llim, f, del, sgn, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    real, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    real, intent(out), dimension(llim:) :: df

public interface fifth_order_upwind

  • public subroutine fifth_order_upwind_complex(llim, f, del, sgn, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    complex, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    complex, intent(out), dimension(llim:) :: df
  • public subroutine fifth_order_upwind_real(llim, f, del, sgn, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    real, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    real, intent(out), dimension(llim:) :: df

public interface tridag

  • public subroutine tridag_real(aa, bb, cc, sol)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in), dimension(:) :: aa
    real, intent(in), dimension(:) :: bb
    real, intent(in), dimension(:) :: cc
    real, intent(inout), dimension(:) :: sol
  • public subroutine tridag_complex(llim, aa, bb, cc, sol)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    real, intent(in), dimension(llim:) :: aa
    real, intent(in), dimension(llim:) :: bb
    real, intent(in), dimension(llim:) :: cc
    complex, intent(inout), dimension(llim:) :: sol

public interface second_order_centered

  • public subroutine second_order_centered_real(llim, f, del, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    real, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    real, intent(out), dimension(llim:) :: df
  • public subroutine second_order_centered_complex(llim, f, del, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    complex, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    complex, intent(out), dimension(llim:) :: df

public interface four_point_triangle

  • public subroutine four_point_triangle_real(llim, f, del, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    real, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    real, intent(out), dimension(llim:) :: df
  • public subroutine four_point_triangle_complex(llim, f, del, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    complex, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    complex, intent(out), dimension(llim:) :: df

public interface fourth_order_centered

  • public subroutine fourth_order_centered_real(llim, f, del, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    real, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    real, intent(out), dimension(llim:) :: df
  • public subroutine fourth_order_centered_complex(llim, f, del, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    complex, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    complex, intent(out), dimension(llim:) :: df

public interface second_order_centered_zed

  • public subroutine second_order_centered_zed_real(llim, iseg, nseg, f, del, sgn, fl, fr, periodic, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    integer, intent(in) :: iseg
    integer, intent(in) :: nseg
    real, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    real, intent(in), dimension(:) :: fl
    real, intent(in), dimension(:) :: fr
    logical, intent(in) :: periodic
    real, intent(out), dimension(llim:) :: df
  • public subroutine second_order_centered_zed_complex(llim, iseg, nseg, f, del, sgn, fl, fr, periodic, df)

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: llim
    integer, intent(in) :: iseg
    integer, intent(in) :: nseg
    complex, intent(in), dimension(llim:) :: f
    real, intent(in) :: del
    integer, intent(in) :: sgn
    complex, intent(in), dimension(:) :: fl
    complex, intent(in), dimension(:) :: fr
    logical, intent(in) :: periodic
    complex, intent(out), dimension(llim:) :: df

public interface d2_3pt

  • public subroutine d2_3pt_real(f, d2f, dr)

    Arguments

    Type IntentOptional Attributes Name
    real, intent(in), dimension(:) :: f
    real, intent(out), dimension(:) :: d2f
    real, intent(in), dimension(:) :: dr
  • public subroutine d2_3pt_complex(f, d2f, dr)

    Arguments

    Type IntentOptional Attributes Name
    complex, intent(in), dimension(:) :: f
    complex, intent(out), dimension(:) :: d2f
    real, intent(in), dimension(:) :: dr

Subroutines

public subroutine first_order_upwind_real(llim, f, del, sgn, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
real, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
real, intent(out), dimension(llim:) :: df

public subroutine first_order_upwind_complex(llim, f, del, sgn, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
complex, intent(out), dimension(llim:) :: df

public subroutine third_order_upwind_complex(llim, f, del, sgn, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
complex, intent(out), dimension(llim:) :: df

public subroutine third_order_upwind_real(llim, f, del, sgn, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
real, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
real, intent(out), dimension(llim:) :: df

public subroutine fifth_order_upwind_complex(llim, f, del, sgn, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
complex, intent(out), dimension(llim:) :: df

public subroutine fifth_order_upwind_real(llim, f, del, sgn, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
real, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
real, intent(out), dimension(llim:) :: df

public subroutine third_order_upwind_zed(llim, iseg, nseg, f, del, sgn, fl, fr, periodic, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
integer, intent(in) :: iseg
integer, intent(in) :: nseg
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
complex, intent(in), dimension(:) :: fl
complex, intent(in), dimension(:) :: fr
logical, intent(in) :: periodic
complex, intent(out), dimension(llim:) :: df

public subroutine first_order_upwind_zed(llim, iseg, nseg, f, del, sgn, fl, fr, periodic, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
integer, intent(in) :: iseg
integer, intent(in) :: nseg
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
complex, intent(in), dimension(:) :: fl
complex, intent(in), dimension(:) :: fr
logical, intent(in) :: periodic
complex, intent(out), dimension(llim:) :: df

public subroutine second_order_centered_real(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
real, intent(in), dimension(llim:) :: f
real, intent(in) :: del
real, intent(out), dimension(llim:) :: df

public subroutine second_order_centered_complex(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
complex, intent(out), dimension(llim:) :: df

public subroutine four_point_triangle_real(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
real, intent(in), dimension(llim:) :: f
real, intent(in) :: del
real, intent(out), dimension(llim:) :: df

public subroutine four_point_triangle_complex(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
complex, intent(out), dimension(llim:) :: df

public subroutine fourth_order_centered_real(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
real, intent(in), dimension(llim:) :: f
real, intent(in) :: del
real, intent(out), dimension(llim:) :: df

public subroutine fourth_order_centered_complex(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
complex, intent(out), dimension(llim:) :: df

public subroutine second_order_centered_zed_real(llim, iseg, nseg, f, del, sgn, fl, fr, periodic, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
integer, intent(in) :: iseg
integer, intent(in) :: nseg
real, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
real, intent(in), dimension(:) :: fl
real, intent(in), dimension(:) :: fr
logical, intent(in) :: periodic
real, intent(out), dimension(llim:) :: df

public subroutine second_order_centered_zed_complex(llim, iseg, nseg, f, del, sgn, fl, fr, periodic, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
integer, intent(in) :: iseg
integer, intent(in) :: nseg
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
complex, intent(in), dimension(:) :: fl
complex, intent(in), dimension(:) :: fr
logical, intent(in) :: periodic
complex, intent(out), dimension(llim:) :: df

public subroutine second_order_centered_vpa(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
complex, intent(out), dimension(llim:) :: df

public subroutine fd_cell_centres_zed(llim, f, del, sgn, fl, fr, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
complex, intent(in) :: fl
complex, intent(in) :: fr
complex, intent(out), dimension(llim:) :: df

public subroutine cell_centres_zed(llim, f, upwnd, sgn, fl, fr, fc)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: upwnd
integer, intent(in) :: sgn
complex, intent(in) :: fl
complex, intent(in) :: fr
complex, intent(out), dimension(llim:) :: fc

public subroutine fd_variable_upwinding_zed(llim, iseg, nseg, f, del, sgn, upwnd, fl, fr, periodic, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
integer, intent(in) :: iseg
integer, intent(in) :: nseg
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
real, intent(in) :: upwnd
complex, intent(in), dimension(:) :: fl
complex, intent(in), dimension(:) :: fr
logical, intent(in) :: periodic
complex, intent(out), dimension(llim:) :: df

public subroutine fd_variable_upwinding_vpa(llim, f, del, sgn, upwnd, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
integer, intent(in) :: sgn
real, intent(in) :: upwnd
complex, intent(out), dimension(llim:) :: df

public subroutine fd3pt_real(prof, profgrad, dr)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: prof
real, intent(out), dimension(:) :: profgrad
real, intent(in) :: dr

public subroutine fd3pt_real_array(prof, profgrad, dr)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: prof
real, intent(out), dimension(:) :: profgrad
real, intent(in), dimension(:) :: dr

public subroutine fd3pt_complex_array(prof, profgrad, dr)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:) :: prof
complex, intent(out), dimension(:) :: profgrad
real, intent(in), dimension(:) :: dr

public subroutine fd5pt_real(prof, profgrad, dr)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: prof
real, intent(out), dimension(:) :: profgrad
real, intent(in) :: dr

public subroutine fd5pt_array(prof, profgrad, dr)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: prof
real, intent(out), dimension(:) :: profgrad
real, intent(in), dimension(:) :: dr

public subroutine d2_3pt_real(f, d2f, dr)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: f
real, intent(out), dimension(:) :: d2f
real, intent(in), dimension(:) :: dr

public subroutine d2_3pt_complex(f, d2f, dr)

Arguments

Type IntentOptional Attributes Name
complex, intent(in), dimension(:) :: f
complex, intent(out), dimension(:) :: d2f
real, intent(in), dimension(:) :: dr

public subroutine tridag_real(aa, bb, cc, sol)

Arguments

Type IntentOptional Attributes Name
real, intent(in), dimension(:) :: aa
real, intent(in), dimension(:) :: bb
real, intent(in), dimension(:) :: cc
real, intent(inout), dimension(:) :: sol

public subroutine tridag_complex(llim, aa, bb, cc, sol)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
real, intent(in), dimension(llim:) :: aa
real, intent(in), dimension(llim:) :: bb
real, intent(in), dimension(llim:) :: cc
complex, intent(inout), dimension(llim:) :: sol

public subroutine fourth_derivate_second_centered_vpa(llim, f, del, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
complex, intent(out), dimension(llim:) :: df

public subroutine fourth_derivative_second_centered_zed(llim, iseg, nseg, f, del, fl, fr, periodic, df)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: llim
integer, intent(in) :: iseg
integer, intent(in) :: nseg
complex, intent(in), dimension(llim:) :: f
real, intent(in) :: del
complex, intent(in), dimension(:) :: fl
complex, intent(in), dimension(:) :: fr
logical, intent(in) :: periodic
complex, intent(out), dimension(llim:) :: df