[petsc-dev] I do not think this is the right solution
Matthew Knepley
knepley at gmail.com
Sun Mar 18 21:05:18 CDT 2012
On Sun, Mar 18, 2012 at 8:57 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Sun, Mar 18, 2012 at 20:50, Matthew Knepley <knepley at gmail.com> wrote:
>
>> Oh, vastly complicate my code, so that I can do something equivalent to
>> what I get in a few lines. Please
>> reconsider further coding suggestions.
>>
>
> I gave this suggestion before looking at how you were using it, either of
> my other suggestions would trivial within your current code.
>
> Note that your current solution relies on the user (or another program
> running a diff) to compare for a specific instance where as this allows the
> running code to check in a self-contained way. I'm not saying one is better
> than the other here, just that there are merits to both.
>
If we were not relying on diffs, we could do just what you said with
MatRedundant and matrix norms. I think
that is eventually where we want to go, but it requires more test
infrastructure. I would advocate moving to
Python for that.
Matt
--
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/20120318/51a96ec4/attachment.html>
More information about the petsc-dev
mailing list