Using -pctype mg -pcmgtype PC_MG_MULTIPLICATIVE

Ben Tay zonexo at gmail.com
Thu Aug 16 04:10:28 CDT 2007


Hi,

Can you tell me what's the option to download and use ML? Is it 
--download-ml=1? Also what is the option if I want to use ML?

Thank you.

Matthew Knepley wrote:
> The multigrid PC needs information about the grid and discretization. If you
> cannot provide this, use AMG through Hypre or ML. Or if you have a
> structured grid, consider using DMMG.
>
>   Thanks,
>
>     Matt
>
> On 8/15/07, Ben Tay <zonexo at gmail.com> wrote:
>   
>> Hi,
>>
>> I found that there's a multigrid option in the manual which can be used
>> by adding -pctype mg -pcmgtype PC_MG_MULTIPLICATIVE.
>>
>> However, it seems that I am actually just using LU since with or without
>> this option, I got exactly the same answer. Am I using multigrid the
>> wrong way?
>>
>> Thanks
>>
>>
>>     
>
>
>   




More information about the petsc-users mailing list