Thanks for the answer. now, when i want to change some of the values, what kind of function do i call to do this? (I cannot seem to find any in the manual pages. And I'd much rather set the option in the code rather than on the command line)
mat On Tuesday 19 September 2006 17:05, Yaron Kretchmer wrote: > Hi Matt > You can start experimenting by using > -pc_type hypre -pc_hypre_type boomeramg -help > which will give you all the boomeramg options. > > When I use it I get intermittent segfaults, which I couldn't resolve with > the Hypre guys, so good luck. > > Yaron > > On 9/19/06, Matt Funk <mafunk at nmsu.edu> wrote: > > Hi, > > > > i am trying to use boomeramg from hypre in petsc. What i am doing right > > now is > > simply do: > > > > m_ierr = PCSetType(m_pc,PCHYPRE);//CHKERRQ(ierr) > > m_ierr = PCHYPRESetType(m_pc,"boomeramg"); > > > > then i do my kspsetup etc... > > > > i was wondering what other things i need to configure/set to properly use > > the > > hypre preconditioner with petsc. This is new to me, so i am not really > > experienced with this (that is using external packages through petsc). > > Also, > > these are the only hypre calls i found in the manual pages. > > > > Maybe somebody with more experience can share some of their wisdom ..., > > or point to a place where i can read up on it? > > > > > > thanks > > mat
