Tpetra: How should I fillComplete() my BlockCrsMatrix?
Created by: wfspotz
@trilinos/tpetra
Attempts to call fillComplete()
on my Tpetra::Experimental::BlockCrsMatrix
result in a has no member named 'fillComplete'
compilation error. The getCrsGraph()
method returns a const
object, implying that the returned graph is not intended to have its fillComplete()
method called. The documentation for BlockCrsMatrix
mentions fillComplete()
throughout, so what exactly am I expected to do?
Expectations
The CrsMatrix
and BlockCrsMatrix
interfaces should be the same wherever the data structures allow. The fillComplete()
method would seem to be one of these areas.
Motivation and Context
I have implemented a NOX solver in SPARC that uses Tpetra::CrsMatrix
as the underlying operator type, and am working to expand this to support the Tpetra::Experimental::BlockCrsMatrix
operator type. Exactly where and when to call fillComplete()
within the context of a SPARC solver was an issue, so not having the method at all throws another wrench into the development process.