Observatoire de Paris - Code Fortran
version1.0
|
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... | |
|
private |
Returns the size of the blocklist.
self | Instance. |