Re: [petsc-dev] I do not think this is the right solution
On Sun, Mar 18, 2012 at 8:57 PM, Jed Brown <[email protected]> wrote:
On Sun, Mar 18, 2012 at 20:50, Matthew Knepley <[email protected]> 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
participants (1)
-
Matthew Knepley