[petsc-dev] Mat/DM dependency
Matthew Knepley
knepley at gmail.com
Fri Jan 1 13:32:08 CST 2010
I would rather see then hierarchy change. I think it is natural for the
operator
(Mat) to depend on the space (DM) on which it is discretized. Just because
shortsightedness in the past has confined us to really simple spaces (R^N)
does not mean we can't change that.
Matt
On Fri, Jan 1, 2010 at 1:19 PM, Jed Brown <jed at 59a2.org> wrote:
> Mat does not normally depend on DM, but a couple implementations do,
>
> $ grep -rl DAGet petsc/src/mat/impls
> petsc/src/mat/impls/hypre/mhyp.c
> petsc/src/mat/impls/adic/nladic.c
> petsc/src/mat/impls/adic/matadic.c
>
> So when these are enabled, all the Mat examples fail to link because
> PETSC_MAT_LIB does not include PETSC_DM_LIB. This is especially
> annoying to me because the PETSc builds I use have Hypre enabled,
> meaning that I need to keep more special testing builds (without Hypre)
> just to be able to run the Mat tests.
>
> Is the HYPREStruct stuff destined to eventually move out of Mat?
>
> Jed
>
--
What most experimenters take for granted before they begin their experiments
is infinitely more interesting than any results to which their experiments
lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20100101/958d9e6e/attachment.html>
More information about the petsc-dev
mailing list