biCGSTAB_t Derived Type

type, public, extends(solver_t) :: biCGSTAB_t

type~~bicgstab_t~~InheritsGraph type~bicgstab_t biCGSTAB_t type~solver_t solver_t type~solver_t->type~bicgstab_t
Help



Components

TypeVisibility AttributesNameInitial
integer, public :: maxIts =-1
real(kind=wp), public :: tol =1.0E-6_wp
character(len=:), public, allocatable:: name_long
character(len=:), public, allocatable:: name_short
real(kind=wp), public :: solveTime

Constructor

public interface biCGSTAB_t

  • private function newBiCGSTAB() result(self)

    Arguments

    None

    Return Value type(biCGSTAB_t)


Type-Bound Procedures

procedure, public :: setup => setup_bcg

  • private subroutine setup_bcg(self, A)

    Arguments

    Type IntentOptional AttributesName
    class(biCGSTAB_t), intent(inout) :: self
    class(sparse_t), intent(in) :: A

procedure, public :: step => step_bcg

  • private function step_bcg(self, A, b, x0, l) result(x)

    Arguments

    Type IntentOptional AttributesName
    class(biCGSTAB_t), intent(inout) :: self
    class(sparse_t), intent(in) :: A
    real(kind=wp), intent(in), dimension(A%N):: b
    real(kind=wp), intent(in), dimension(A%N):: x0
    integer, intent(in) :: l

    Return Value real(kind=wp), dimension(:), allocatable

procedure, public :: solve => solve_bcg

  • private function solve_bcg(self, A, b, x0) result(x)

    Arguments

    Type IntentOptional AttributesName
    class(biCGSTAB_t), intent(inout) :: self
    class(sparse_t), intent(in) :: A
    real(kind=wp), intent(in), dimension(A%N):: b
    real(kind=wp), intent(in), optional dimension(A%N):: x0

    Return Value real(kind=wp), dimension(:), allocatable