tools_math Module


Uses

  • module~~tools_math~~UsesGraph module~tools_math tools_math module~class_vector class_vector module~tools_math->module~class_vector module~class_psblas class_psblas module~tools_math->module~class_psblas module~class_vector->module~class_psblas module~class_stopwatch class_stopwatch module~class_psblas->module~class_stopwatch module~tools_psblas tools_psblas module~class_psblas->module~tools_psblas module~class_stopwatch->module~tools_psblas psb_base_mod psb_base_mod module~class_stopwatch->psb_base_mod psb_prec_mod psb_prec_mod module~tools_psblas->psb_prec_mod module~tools_psblas->psb_base_mod psb_krylov_mod psb_krylov_mod module~tools_psblas->psb_krylov_mod

Used by


Contents


Variables

TypeVisibility AttributesNameInitial
integer, public, parameter:: it_convergence_ =2
integer, public, parameter:: it_counter_ =3
integer, public, parameter:: it_time_ =1
real(kind=psb_dpk_), public, parameter:: pi =3.14159265358979323846264338327950288d0

Interfaces

public interface build_prec

interface

  • public module subroutine cart_to_polar(x, y, rho, theta, square)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(in) :: x
    real(kind=psb_dpk_), intent(in) :: y
    real(kind=psb_dpk_), intent(out) :: rho
    real(kind=psb_dpk_), intent(out) :: theta
    logical, intent(in), optional :: square

public interface factorize

public interface lin_interp

public interface pwl_deriv

public interface pwl_interp

interface

  • public module subroutine pwl_nearest(x, x_data, i1, i2)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(in) :: x
    real(kind=psb_dpk_), intent(in) :: x_data(:)
    integer, intent(out) :: i1
    integer, intent(out) :: i2

public interface solve_sys

public interface sort

  • private interface isort()

    Arguments

    None

interface

  • private module subroutine cholesky_fact_m(a)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(inout) :: a(:,:)

interface

  • private module subroutine cholesky_solve_m(a, b)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(in) :: a(:,:)
    real(kind=psb_dpk_), intent(inout) :: b(:)

interface

  • private module subroutine cholesky_solve_v(a, b)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(in) :: a(:)
    real(kind=psb_dpk_), intent(inout) :: b(:)

interface

  • private module subroutine choloesky_fact_v(a)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(inout) :: a(:)

interface

  • private module subroutine isort(ivet)

    Arguments

    Type IntentOptional AttributesName
    integer, intent(inout) :: ivet(:)

interface

  • private module function lin_interp_s(f1, f2, fac)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(in) :: f1
    real(kind=psb_dpk_), intent(in) :: f2
    real(kind=psb_dpk_), intent(in) :: fac

    Return Value real(kind=psb_dpk_)

interface

  • private module function lin_interp_v(f1, f2, fac)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(in) :: f1
    type(vector), intent(in) :: f2
    real(kind=psb_dpk_), intent(in) :: fac

    Return Value type(vector)

interface

  • private module subroutine lu_fact(n, a, ipiv, info)

    Arguments

    Type IntentOptional AttributesName
    integer, intent(in) :: n
    real(kind=psb_dpk_), intent(inout) :: a(n,n)
    integer, intent(out) :: ipiv(n)
    integer, intent(out) :: info

interface

  • private module subroutine lu_solve(n, a, ipiv, b, info)

    Arguments

    Type IntentOptional AttributesName
    integer, intent(in) :: n
    real(kind=psb_dpk_), intent(in) :: a(n,n)
    integer, intent(in) :: ipiv(n)
    real(kind=psb_dpk_), intent(inout) :: b(n)
    integer, intent(out) :: info

interface

  • private subroutine psb_build_prec(cprec, nlev, cmethod, a, desc_a, prec)

    Arguments

    Type IntentOptional AttributesName
    character(len=*), intent(in) :: cprec
    integer, intent(in) :: nlev
    character(len=*), intent(in) :: cmethod
    type(psb_dspmat_type), intent(in) :: a
    type(psb_desc_type), intent(inout) :: desc_a
    type(psb_dprec_type), intent(inout) :: prec

interface

  • private module subroutine psb_solve_sys(a, prec, b, x, desc, cmethod, eps, itmax, iter, err)

    Arguments

    Type IntentOptional AttributesName
    type(psb_dspmat_type), intent(in) :: a
    type(psb_dprec_type), intent(inout) :: prec
    real(kind=psb_dpk_), intent(in) :: b(:)
    real(kind=psb_dpk_), intent(inout) :: x(:)
    type(psb_desc_type), intent(in) :: desc
    character(len=*), intent(in) :: cmethod
    real(kind=psb_dpk_), intent(in) :: eps
    integer, intent(in) :: itmax
    integer, intent(out) :: iter
    real(kind=psb_dpk_), intent(out) :: err

interface

  • private module subroutine pwl_deriv_x_s(dydx, x, y_data, x_data)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(out) :: dydx
    real(kind=psb_dpk_), intent(in) :: x
    real(kind=psb_dpk_), intent(in) :: y_data(:)
    real(kind=psb_dpk_), intent(in) :: x_data(:)

interface

  • private module subroutine pwl_deriv_x_v(dydx, x, y_data, x_data)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(out) :: dydx(:)
    real(kind=psb_dpk_), intent(in) :: x
    real(kind=psb_dpk_), intent(in) :: y_data(:,:)
    real(kind=psb_dpk_), intent(in) :: x_data(:)

interface

  • private module subroutine pwl_deriv_x_vec(dydx, x, y_data, x_data)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(out) :: dydx
    real(kind=psb_dpk_), intent(in) :: x
    type(vector), intent(in) :: y_data(:)
    real(kind=psb_dpk_), intent(in) :: x_data(:)

interface

  • private module subroutine pwl_interp_dx_s(y, x, y_data, xmin, dx)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(out) :: y
    real(kind=psb_dpk_), intent(in) :: x
    real(kind=psb_dpk_), intent(in) :: y_data(:)
    real(kind=psb_dpk_), intent(in) :: xmin
    real(kind=psb_dpk_), intent(in) :: dx

interface

  • private module subroutine pwl_interp_dx_v(y, x, y_data, xmin, dx)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(out) :: y(:)
    real(kind=psb_dpk_), intent(in) :: x(:)
    real(kind=psb_dpk_), intent(in) :: y_data(:)
    real(kind=psb_dpk_), intent(in) :: xmin
    real(kind=psb_dpk_), intent(in) :: dx

interface

  • private module subroutine pwl_interp_x_s(y, x, y_data, x_data)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(out) :: y
    real(kind=psb_dpk_), intent(in) :: x
    real(kind=psb_dpk_), intent(in) :: y_data(:)
    real(kind=psb_dpk_), intent(in) :: x_data(:)

interface

  • private module subroutine pwl_interp_x_v(y, x, y_data, x_data)

    Arguments

    Type IntentOptional AttributesName
    real(kind=psb_dpk_), intent(out) :: y(:)
    real(kind=psb_dpk_), intent(in) :: x
    real(kind=psb_dpk_), intent(in) :: y_data(:,:)
    real(kind=psb_dpk_), intent(in) :: x_data(:)

interface

  • private module subroutine pwl_interp_x_vec(y, x, y_data, x_data)

    Arguments

    Type IntentOptional AttributesName
    type(vector), intent(out) :: y
    real(kind=psb_dpk_), intent(in) :: x
    type(vector), intent(in) :: y_data(:)
    real(kind=psb_dpk_), intent(in) :: x_data(:)