void ConstraintMatrix::distribute_local_to_global ( const FullMatrix <http://www.dealii.org/developer/doxygen/deal.II/classFullMatrix.html>< double > & /local_matrix/,const std::vector< unsigned int > & /row_indices/, const std::vector< unsigned int > & /col_indices/, MatrixType & /global_matrix/ ) const very similar to how it is used in step-46; however, I am trying to use it for MatrixType of BlockSparseMatrix<double>. I am getting the following error: undefined reference to `void dealii::ConstraintMatrix::distribute_local_to_global<dealii::BlockSparseMatrix<double> >(dealii::FullMatrix<double> const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, dealii::BlockSparseMatrix<double>&) const' I believe it is not being instantiated properly, though I'm not completely sure. Normally I would edit the .inst.in <http://inst.in> file, but this instantiation is generated using perl and I don't know the language.
Yes, sigh. I think this particular instantiation you are looking for is hand-instantiated at the bottom of the constraint_matrix.cc file. Can you see what happens if you add it to the ONLY_MATRIX_FUNCTIONS list?
Best & thanks W. ------------------------------------------------------------------------ Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
