Hi, Wolfgang! It worked! Now solution behaves nice, coincides with my previous results and blow up doesn't take place!
The question arises - is it possible to tune PETSC CG solver somehow using parameters for wrapper class (if there are any) to behave in the same way as deal.II's CG solver does? Regards, Slawa Friday, July 10, 2009, 2:45, you wrote: WB> You need to say WB> SolverCG<PETScWrappers::MPI::Vector> WB> instead of WB> SolverCG<> WB> Best WB> W. >> 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? _______________________________________________ dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
