Ted,
> > I used MatrixCreator::create_mass_matrix to create a mass_matrix but I > want he result in a TrilinosWrappers::SparseMatrix. The function TrilinosWrappers::SparseMatrix::reinit (dealii::SparseMatrix<double> &) copies a deal.II SparseMatrix into a Trilinos sparse matrix. You may want to look at http://www.dealii.org/developer/doxygen/deal.II/classTrilinosWrappers_1_1SparseMatrix.html#a2bd3bd49a19e684a3e263079a2bb9960 If you want to have the matrix distributed over several processors, you can consider using the reinit functions with an Epetra_Map or IndexSet as first argument and a dealii::SparseMatrix as the second one. Best, Martin _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
