> Now I try to use deal's CG with PETSC MPI vectors as you suggested, > I do the same code as for the first case, but it produce the error: > /home/slawa/LinuxWork/Deal2Projects/HeatEq8-Explicit-Parallel/main.cpp|3 >95|error: no matching function for call to > ‘dealii::SolverCG<dealii::Vector<double> > > >::solve(dealii::PETScWrappers::MPI::SparseMatrix&, > > > >dealii::PETScWrappers::MPI::Vector&, > >dealii::PETScWrappers::MPI::Vector&)’| > > Question is - what should I change in this piece of code to make it > run with deal's CG solver and PETSC MPI vectors and matrices?
You need to say SolverCG<PETScWrappers::MPI::Vector> instead of SolverCG<> Best W. ------------------------------------------------------------------------- Wolfgang Bangerth email: [email protected] www: http://www.math.tamu.edu/~bangerth/ _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
