[petsc-dev] need for C++ streams versions of routines with output?

Matthew Knepley knepley at gmail.com
Fri Oct 21 10:08:01 CDT 2011


I don't need it.

  Matt

On Fri, Oct 21, 2011 at 1:35 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:

>
>   Is there really a need for PetscTraceBackErrorHandlerCxx() that uses C++
> streams for output instead of C IO but otherwise looks very similar to
> PetscTraceBackErrorHandler()? It seems like a gross duplication of code
> (including specific error message stuff that will get out of sync between
> the two versions very quickly.)  It, at least needs a Developers Note: in
> the manual page saying why it exists when it has this troubling code
> duplication.
>
>
>    Barry
>
>


-- 
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/20111021/2471d297/attachment.html>


More information about the petsc-dev mailing list