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

Barry Smith bsmith at mcs.anl.gov
Fri Oct 21 13:03:22 CDT 2011


   Removed

On Oct 21, 2011, at 10:08 AM, Matthew Knepley wrote:

> 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




More information about the petsc-dev mailing list