Dear All,
I'd like to use some of the MatrixCreator functions (like
create_laplace_matrix). I'm using the
PETScWrappers::MPI::SparseMatrix. The documentation in MatrixCreator
says

"All functions take a sparse matrix object to hold the matrix to be
created. The functions assume that the matrix is initialized with a
sparsity pattern (SparsityPattern) corresponding to the given degree
of freedom handler, i.e. the sparsity structure is already as needed.
You can do this by calling the DoFTools::make_sparsity_pattern()
function."

But PETSc handles the sparsity pattern. Can I still use these functions?

Thanks,
Pearl Flath

_______________________________________________

Reply via email to