abst_matrix Derived Type

type, public, abstract :: abst_matrix


Inherited by

type~~abst_matrix~~InheritedByGraph type~abst_matrix abst_matrix type~type_coo type_coo type~type_coo->type~abst_matrix type~type_crs type_crs type~type_crs->type~abst_matrix type~type_dense type_dense type~type_dense->type~abst_matrix type~abst_thermal abst_thermal type~abst_thermal->type~type_crs KT_star_0, KT_l, KT_old, CT_l, CT_old type~type_ftdss type_ftdss type~type_ftdss->type~abst_thermal Thermal type~type_thermal_3phase_2d type_thermal_3phase_2d type~type_thermal_3phase_2d->type~abst_thermal

Type-Bound Procedures

procedure(abst_copy), public, deferred, pass(self) :: copy

  • function abst_copy(self) result(new_matrix) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(abst_matrix), intent(in) :: self

    Return Value class(abst_matrix), allocatable

procedure(abst_destory), public, deferred, pass(self) :: destory

  • subroutine abst_destory(self) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(abst_matrix), intent(inout) :: self

procedure(abst_find), public, deferred, pass(self) :: find

  • subroutine abst_find(self, row, col, index) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(abst_matrix), intent(in) :: self
    integer(kind=int32), intent(in) :: row
    integer(kind=int32), intent(in) :: col
    integer(kind=int32), intent(inout) :: index

procedure(abst_initialize), public, deferred, pass(self) :: initialize

  • subroutine abst_initialize(self, domain) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(abst_matrix), intent(inout) :: self
    type(type_domain), intent(inout) :: domain

Source Code

    type, abstract :: abst_matrix
        ! Abstract base type for matrices.
    contains
        procedure(abst_initialize), pass(self), deferred :: initialize
        procedure(abst_find), pass(self), deferred :: find
        procedure(abst_copy), pass(self), deferred :: copy
        procedure(abst_destory), pass(self), deferred :: destory
    end type abst_matrix