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, @csiefer2
Just curious as to why there is an upper limit on the max number of entries per row on the Tpetra::CrsMatrix constructor. This is a different design compared to Epetra, where in Epetra, if trying to insert more than the "suggested" max entries in a given row, more memory would be allocated. Is there any documentation as to why this design change was made? What are the benefits of this design change? I see that there is another constructor where I can specify an array that contains the max number of entries per row. I suppose I will have to go that route but it does add complexity to my code, so I was wondering if there are any other work-arounds or if Tpetra will at some point allow going over the max entry per row with the additional memory allocation hit, as occurs in Epetra.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
@tpetra, @csiefer2
Just curious as to why there is an upper limit on the max number of entries per row on the Tpetra::CrsMatrix constructor. This is a different design compared to Epetra, where in Epetra, if trying to insert more than the "suggested" max entries in a given row, more memory would be allocated. Is there any documentation as to why this design change was made? What are the benefits of this design change? I see that there is another constructor where I can specify an array that contains the max number of entries per row. I suppose I will have to go that route but it does add complexity to my code, so I was wondering if there are any other work-arounds or if Tpetra will at some point allow going over the max entry per row with the additional memory allocation hit, as occurs in Epetra.
Beta Was this translation helpful? Give feedback.
All reactions