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
Tpetra::CrsMatrix requires resumeFill() when changing its sparsity pattern. However, I have observed that there are several set...() methods requiring resumeFill() even though no changes happen in the sparsity pattern. Could you clarify the following?
setAllToScalar() (I got runtime error when resumeFill() is not called.)
add( A ) (If the input matrix A had different sparsity pattern, do I have to call resumeFill() before the call? )
Also, Tpetra does not support operations like A+ cI (c is a scalar and I is identity). What do you recommend for implementing this?
The text was updated successfully, but these errors were encountered:
Tpetra::CrsMatrix requires resumeFill() when changing its sparsity pattern.
Generally you're not allowed to change a CrsMatrix's sparsity pattern after first fillComplete. If fillComplete has never been called on the CrsMatrix, and if the CrsMatrix was not created with a const CrsGraph, then you may change the CrsMatrix's structure until first fillComplete.
Tpetra::CrsMatrix requires resumeFill() when changing its sparsity pattern. However, I have observed that there are several set...() methods requiring resumeFill() even though no changes happen in the sparsity pattern. Could you clarify the following?
The text was updated successfully, but these errors were encountered: