So... I just committed the initial round of changes to allow attaching a Preconditioner object to either a linear or nonlinear solver.... and it works!
Dear Derek,Works well now, thank you very much!
On Mon, 9 Feb 2009, Derek Gaston wrote:
On Feb 9, 2009, at 9:18 AM, John Peterson wrote:
Short answer: check out aclocal.m4 around line 869. We just use grep
and sed to figure out what the petsc version is during configure. You
could probably do the same for HYPRE_foo...
I just committed a configure test for Hypre that will define LIBMESH_HAVE_PETSC_HYPRE if petsc was compiled with hypre support. The commit also put the appropriate safeguards around the PCHypreSetType call in petsc_preocnditioner.C. Let me know if something still isn't right.