spvec_t Derived Type

type, public :: spvec_t

Inherited By

type~~spvec_t~~InheritedByGraph type~spvec_t spvec_t type~sparse_t sparse_t type~spvec_t->type~sparse_t rows
Help

Components

TypeVisibility AttributesNameInitial
integer, public, dimension(:), allocatable:: i
real(kind=wp), public, dimension(:), allocatable:: v

Type-Bound Procedures

procedure, public :: get => get_v

  • private function get_v(self, i) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(spvec_t), intent(in) :: self
    integer, intent(in) :: i

    Return Value real(kind=wp)

procedure, public :: set => set_v

  • private subroutine set_v(self, i, v)

    Arguments

    Type IntentOptional AttributesName
    class(spvec_t), intent(inout) :: self
    integer, intent(in) :: i
    real(kind=wp), intent(in) :: v

procedure, public :: add => add_v

  • private subroutine add_v(self, i, v)

    Arguments

    Type IntentOptional AttributesName
    class(spvec_t), intent(inout) :: self
    integer, intent(in) :: i
    real(kind=wp), intent(in) :: v

procedure, public :: toDense => toDense_v

  • private function toDense_v(self, N) result(o)

    Arguments

    Type IntentOptional AttributesName
    class(spvec_t), intent(in) :: self
    integer, intent(in) :: N

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