[petsc-dev] PCGAMG: set default type (AGG); PCSetUp_GAMG crashes if not set

Jed Brown jedbrown at mcs.anl.gov
Wed Oct 30 11:46:17 CDT 2013


Matthew Knepley <knepley at gmail.com> writes:
> The only confusing thing I see is if we wanted them not set back to
> NULL, but to a "default" function. I think we should outlaw that.

If an implementation wants to implement a function, XXCreate_YY needs to
ask for it.  If we have a problem with too much repetition of
"defaults", it XXCreate_YY can call a function that batches them
together.  I don't see any reason to leave side-effects from an earlier
type.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20131030/dee77bcc/attachment.sig>


More information about the petsc-dev mailing list