pbepack_algebra Module

Special array types.


Uses

  • module~~pbepack_algebra~~UsesGraph module~pbepack_algebra pbepack_algebra module~pbepack_kinds pbepack_kinds module~pbepack_algebra->module~pbepack_kinds iso_fortran_env iso_fortran_env module~pbepack_kinds->iso_fortran_env

Used by

  • module~~pbepack_algebra~~UsedByGraph module~pbepack_algebra pbepack_algebra module~pbepack_agg pbepack_agg module~pbepack_agg->module~pbepack_algebra module~pbepack_pbe pbepack_pbe module~pbepack_pbe->module~pbepack_agg module~pbepack pbepack module~pbepack->module~pbepack_pbe

Interfaces

public interface spmatrix

  • private pure function spmatrix_init(n) result(res)

    Initialize spmatrix object.

    Arguments

    Type IntentOptional Attributes Name
    integer, intent(in) :: n

    number of rows or columns

    Return Value type(spmatrix)


Derived Types

type, public ::  spmatrix

Symmetric array class.

Components

Type Visibility Attributes Name Initial
real(kind=rk), public, allocatable :: ap(:)

vector with array values in packed storage format

integer, public :: n

number of rows or columns

character(len=1), public :: uplo = "u"

flag to specify whether the (u)pper or (l)ower triangle is supplied

Constructor

private pure function spmatrix_init (n)

Initialize spmatrix object.

Type-Bound Procedures

procedure, public, pass(self) :: multvec => spmatrix_multvec
procedure, public, pass(self) :: get => spmatrix_get
procedure, public, pass(self) :: set => spmatrix_set