Hi

I used MatrixCreator::create_mass_matrix to create a mass_matrix but I want
he result in a TrilinosWrappers::SparseMatrix.

So far, using a TrilinosWrappers::SparseMatrix as an argument to
create_mass_matrix throws up:

error: no matching function for call to
'dealii::MatrixCreator::create_mass_matrix(dealii::DoFHandler<1>&,
dealii::QGauss<1>, dealii::TrilinosWrappers::SparseMatrix&)'


Using the copy_from function throws up:

no matching function for call to
'dealii::TrilinosWrappers::SparseMatrix::copy_from(dealii::SparseMatrix<double>&)'
/Users/tedkord/deal.II/lac/include/lac/trilinos_sparse_matrix.h:1464:12:
note: candidate is: void
dealii::TrilinosWrappers::SparseMatrix::copy_from(const
dealii::TrilinosWrappers::SparseMatrix&)


How can I do this without having to create the mass matrix myself?

Ted

P.S: I also have the same issues with create_laplace_matrix.
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to