You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to update only the diagonal elements of an AMGXMatrix but replace_coefficients seems to update all non zero elements. I don't understand what the diag_data parameter does but perhaps this is useful?
Thanks!
The text was updated successfully, but these errors were encountered:
Optional array of external diagonal entries for each row. If there is no external diagonal, in other words,
the diagonal is contained in the matrix itself the diag data must be set to a null pointer. If this value
is non-null, it is assumed to be an array with nblock_dimxblock_dimy entries in AoS layout. diag_
data[iblock_dimxblock_dimy] is the 0,0 entry in the i,i block in the matrix. Currently external
diagonal is not supported.
Note:
Currently external diagonal is not supported.
So I don't think that parameter is useful right now.
I am not sure the functionality of only setting diagonal is currently available.
I would like to update only the diagonal elements of an
AMGXMatrix
butreplace_coefficients
seems to update all non zero elements. I don't understand what thediag_data
parameter does but perhaps this is useful?Thanks!
The text was updated successfully, but these errors were encountered: