Hello everyone, I'm looking to LU factorize a ChunkSparseMatrix<double> instance (the same type as is used in step-51). However, it seems that ChunkSparseMatrix does not inherit from SparseMatrix, so I receive the predictable:
undefined reference to 'void dealii::SparseDirectUMFPACK::factorize<dealii::ChunkSparseMatrix<double> >(dealii::ChunkSparseMatrix<double> const&)' I have a few ideas around this, but I'm not sure which is simplest to do (or whether I'm missing an easy templating/casting trick that would avoid the problem): 1. Implement a way to copy the ChunkSparseMatrix to a SparseMatrix as an intermediate before factorization 2. Implement SparseDirectUMFPACK::factorize(const Matrix &matrix) directly (this is perhaps tougher, since the function is templated by Matrix, and I can't seem to find the explicit template instantiations in the source code) 3. Do away with use of ChunkSparseMatrix entirely, and simply assemble into a SparseMatrix throughout (since I'm factorizing it anyway--perhaps this is the truest to the intentions of the library) Any guidance would be appreciated! -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/6636e5b6-a09a-4bc2-8ec1-7bae018adfdcn%40googlegroups.com.