PETSC-Hypre: number of level with boomeramg

2007-01-25 Thread Nicolas Bathfield
Hi Petsc users, I have a question regarding the use of Hypre and especially Boomeramg. How can we control the number of levels in the multigrid algortihm? Can we chose it, or if not, can we display it in some way? Best regards, Nicolas. -- Nicolas BATHFIELD Chalmers University of Technology

PETSC-Hypre: number of level with boomeramg

2007-01-25 Thread Fernando Campos
Nicolas, You should try the option -pc_hypre_boomeramg_max_levels in the line command. In order to see the level's details you can use the PESTc option -ksp_view. Best Regards Fernando. Em (11:15:45), petsc-users at mcs.anl.gov escreveu: Hi Petsc users, I have a question regarding

PETSC-Hypre: number of level with boomeramg

2007-01-25 Thread Nicolas Bathfield
Dear Fernando, Thanks for your reply. I had notice the value maxlevels given by -ksp_view, but I did not know how to change this value. Still, as the default is 25 levels I think, I have no way to know exactly how many levels are used for a given case. I can reformulate my question in this way:

PETSC-Hypre: number of level with boomeramg

2007-01-25 Thread Shaman Mahmoudi
Try -pc_hypre_boomeramg_print_statistics in the console for more information regarding your AMG. I believe that is the right syntax. I am not 100% though! It is a long time ago I touched it. With best regards, Shaman Mahmoudi On Jan 25, 2007, at 3:31 PM, Nicolas Bathfield wrote: Dear

PETSC-Hypre: number of level with boomeramg

2007-01-25 Thread Nicolas Bathfield
Thanks, the syntax is correct and it shows everything I need! Best regards, Nicolas Try -pc_hypre_boomeramg_print_statistics in the console for more information regarding your AMG. I believe that is the right syntax. I am not 100% though! It is a long time ago I touched it. With best

PETSC-Hypre: number of level with boomeramg

2007-01-25 Thread Fernando Campos
Dear Nicolas, It is a good question, but I don't know the answer... Why don't you try to set the maximum levels to a large numbers in order to see how many levels boomerAMG creates? I believe that it refines the grid up to the maximum number of levels as you sad. I am very interested in

PETSC-Hypre: number of level with boomeramg

2007-01-25 Thread Barry Smith
On Thu, 25 Jan 2007, Fernando Campos wrote: Dear Nicolas, It is a good question, but I don't know the answer... Why don't you try to set the maximum levels to a large numbers in order to see how many levels boomerAMG creates? I believe that it refines the grid up to the maximum