Yup, I use petsc. Thanks a lot.

Miguel


On Fri, Sep 5, 2014 at 10:40 AM, Roy Stogner <[email protected]>
wrote:

>
>
> On Fri, 5 Sep 2014, Miguel Angel Salazar de Troya wrote:
>
>  Now it's working. I added the vectors I mentioned before to the system
>> using the routine System::add_vector() and the cg works after the
>> refinement. It's weird because it was working before after refinement
>> when using gmres.
>> Could you help me out with the preconditioners please?
>>
>
> You're using PETSc?  Try
>
> -pc_type bjacobi -sub_pc_type ilu -sub_pc_factor_levels 4
> -sub_pc_factor_zeropivot 0
>
> on your program's command line.
> ---
> Roy




-- 
*Miguel Angel Salazar de Troya*
Graduate Research Assistant
Department of Mechanical Science and Engineering
University of Illinois at Urbana-Champaign
(217) 550-2360
[email protected]
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to