> SolverControl solver_control1
> (rVec.block(0).size(),1e-8*rVec.block(0).l2_norm());
> [...]
> ----------------------------------------------------
> Exception on processing:
> Iterative method reported convergence failure in step 1 with residual
> 31.7698 Aborting!
> ----------------------------------------------------
>
> But, I definitely set up the maximum number of iteration for CG by a
> rVec.block(0).size().

How do you initialize rVec? I see that rVec is a block vector. If you do
  rVec.reinit (dof_handler.n_dofs());
then you create a vector with n_dofs blocks each of size 1, if I remember 
correctly. This probably isn't what you want. But that's just a guess what 
may have gone wrong.

Best
 W.

-------------------------------------------------------------------------
Wolfgang Bangerth                email:            [EMAIL PROTECTED]
                                 www: http://www.math.tamu.edu/~bangerth/


_______________________________________________

Reply via email to