Dear All, I have modified step-22 to solve system of Maxwell's equations, and then used step-40(and 55) to parallelize the code. In the serial version I used
template<int inner_solver_id> struct InnerPreconditioner; template<> struct InnerPreconditioner<0> { typedef SparseDirectUMFPACK<double> type; }; template<> struct InnerPreconditioner<1> { // type of preconditioner for an iterative solver }; Which defined the type of preconditioner I need for CG solver, in order to obtain yet another preconditioner for FGMRES solution of my system. Now with parallel implementation I would like to use PETScWrappers::SparseDirectMUMPS instead of SparseDirectUMFPACK. However I am getting the following error: error: ‘SparseDirectMUMPS’ in namespace ‘LA’ does not name a type typedef LA::SparseDirectMUMPS type; Here LA is defined as namespace LA { #if defined(DEAL_II_WITH_PETSC) && !(defined(DEAL_II_WITH_TRILINOS) && defined(FORCE_USE_OF_TRILINOS)) using namespace dealii::LinearAlgebraPETSc; # define USE_PETSC_LA #elif defined(DEAL_II_WITH_TRILINOS) using namespace dealii::LinearAlgebraTrilinos; #else # error DEAL_II_WITH_PETSC or DEAL_II_WITH_TRILINOS required #endif } Is it possible to do something similar to step-22 with SparseDirectMUMPS, or I have to rewrite the code and remove the struct InnerPreconditioner ? Thank you very much in advance for all your help. Anna -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.