m_SparseMatrixPlus Module



Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: DefaultTag = 700
character(len=*), public, parameter :: Xonly = 'Xonly'
character(len=*), public, parameter :: Yonly = 'Yonly'
character(len=*), public, parameter :: XandY = 'XandY'
character(len=*), public, parameter :: myname = 'MCT::m_SparseMatrixPlus'

Interfaces

public interface init

  • public subroutine initFromRoot_(SMatPlus, sMat, xGSMap, yGSMap, strategy, root, comm, ComponentID, Tag)

    Arguments

    Type IntentOptional Attributes Name
    type(SparseMatrixPlus), intent(out) :: SMatPlus
    type(SparseMatrix), intent(inout) :: sMat
    type(GlobalSegMap), intent(in) :: xGSMap
    type(GlobalSegMap), intent(in) :: yGSMap
    character(len=*), intent(in) :: strategy
    integer, intent(in) :: root
    integer, intent(in) :: comm
    integer, intent(in) :: ComponentID
    integer, intent(in), optional :: Tag
  • public subroutine initDistributed_(SMatPlus, sMat, xGSMap, yGSMap, root, comm, ComponentID, Tag)

    Arguments

    Type IntentOptional Attributes Name
    type(SparseMatrixPlus), intent(out) :: SMatPlus
    type(SparseMatrix), intent(inout) :: sMat
    type(GlobalSegMap), intent(in) :: xGSMap
    type(GlobalSegMap), intent(in) :: yGSMap
    integer, intent(in) :: root
    integer, intent(in) :: comm
    integer, intent(in) :: ComponentID
    integer, intent(in), optional :: Tag

public interface vecinit

  • public subroutine vecinit_(SMatP)

    Arguments

    Type IntentOptional Attributes Name
    type(SparseMatrixPlus), intent(inout) :: SMatP

public interface clean

  • public subroutine clean_(SMatP, status)

    Arguments

    Type IntentOptional Attributes Name
    type(SparseMatrixPlus), intent(inout) :: SMatP
    integer, intent(out), optional :: status

public interface initialized

  • public function initialized_(sMatPlus)

    Arguments

    Type IntentOptional Attributes Name
    type(SparseMatrixPlus), intent(in) :: sMatPlus

    Return Value logical

public interface exportStrategyToChar


Derived Types

type, public ::  SparseMatrixPlus

Components

Type Visibility Attributes Name Initial
type(String), public :: Strategy
integer, public :: XPrimeLength
type(Rearranger), public :: XToXPrime
integer, public :: YPrimeLength
type(Rearranger), public :: YPrimeToY
type(SparseMatrix), public :: Matrix
integer, public :: Tag

Functions

public function initialized_(sMatPlus)

Arguments

Type IntentOptional Attributes Name
type(SparseMatrixPlus), intent(in) :: sMatPlus

Return Value logical

public function exportStrategyToChar_(sMatPlus)

Arguments

Type IntentOptional Attributes Name
type(SparseMatrixPlus), intent(in) :: sMatPlus

Return Value character(len=size)


Subroutines

public subroutine initFromRoot_(SMatPlus, sMat, xGSMap, yGSMap, strategy, root, comm, ComponentID, Tag)

Arguments

Type IntentOptional Attributes Name
type(SparseMatrixPlus), intent(out) :: SMatPlus
type(SparseMatrix), intent(inout) :: sMat
type(GlobalSegMap), intent(in) :: xGSMap
type(GlobalSegMap), intent(in) :: yGSMap
character(len=*), intent(in) :: strategy
integer, intent(in) :: root
integer, intent(in) :: comm
integer, intent(in) :: ComponentID
integer, intent(in), optional :: Tag

public subroutine initDistributed_(SMatPlus, sMat, xGSMap, yGSMap, root, comm, ComponentID, Tag)

Arguments

Type IntentOptional Attributes Name
type(SparseMatrixPlus), intent(out) :: SMatPlus
type(SparseMatrix), intent(inout) :: sMat
type(GlobalSegMap), intent(in) :: xGSMap
type(GlobalSegMap), intent(in) :: yGSMap
integer, intent(in) :: root
integer, intent(in) :: comm
integer, intent(in) :: ComponentID
integer, intent(in), optional :: Tag

public subroutine vecinit_(SMatP)

Arguments

Type IntentOptional Attributes Name
type(SparseMatrixPlus), intent(inout) :: SMatP

public subroutine clean_(SMatP, status)

Arguments

Type IntentOptional Attributes Name
type(SparseMatrixPlus), intent(inout) :: SMatP
integer, intent(out), optional :: status