Dear All, I am trying to study by using the "PETScWrappers::MPI::BlockSparseMatrix".
When I make it as below, PETScWrappers::PreconditionBlockJacobi preconditioner(precon_matrix); I have a error message when compiling as test.cc:412: error: no matching function for call to dealii::PETScWrappers::PreconditionBlockJacobi:: PreconditionBlockJacobi(dealii::PETScWrappers::MPI::BlockSparseMatrix&) /home/miranus/ysh/deal.IIsvn/lac/include/lac/petsc_precondition.h:188: note: candidates are: dealii::PETScWrappers::PreconditionBlockJacobi::PreconditionBlockJacobi(const dealii::PETScWrappers::MatrixBase&, const dealii::PETScWrappers::PreconditionBlockJacobi::AdditionalData&) MatrixBase &matrix This telles that PETScWrappers::MPI::BlockSparseMatrix does not have a inheritance from MatrixBase class. When I have a look at the inside deal.II code, that was only derived from BlockMatrixBase<SparseMatrix> not : public MatrixBase. Why did you initially do this job. and why not have a same parents class when being inherited from.??? And, How could you sort out "PETScWrappers::PreconditionBlockJacobi preconditioner(precon_matrix);" this problem? _______________________________________________
