Observatoire de Paris - Code Fortran  version1.0
List of all members
mod_scalapackfx_tools::size Interface Reference

Private Member Functions

blocklist

List of the local blocks of a distributed matrix.

This structure can be helpful when modifying a distributed matrix directly on the local nodes. For example, in order to multiply every column of a distributed matrix by a column dependent factor, you could use the blocklist the following way:

type(blocklist) :: blocks
integer :: ii, jj, jglob, jloc, bsize
:
call blocks%init(mygrid, descaa, "c")
do ii = 1, size(blocks)
call blocks%getblock(ii, jglob, jloc, bsize)
do jj = 0, bsize - 1
aa(:,jloc + jj) = aa(:,jloc + jj) * ff(jglob + jj)
end do
end do
integer function blocklist_getsize (self)
 Returns the size of the blocklist. More...
 

Member Function/Subroutine Documentation

◆ blocklist_getsize()

integer function mod_scalapackfx_tools::size::blocklist_getsize ( class(blocklist), intent(in)  self)
private

Returns the size of the blocklist.

Parameters
selfInstance.
Returns
Number of local blocks of the distributed matrix.

The documentation for this interface was generated from the following file: