On 12/7/07, Matthew Knepley <knepley@xxxxxxxxx> wrote:
On Dec 6, 2007 9:00 PM, Barry Smith <bsmith@xxxxxxxxxxx> wrote:
I am very nervous about mixing a catastrophic error handling
system
WITH an exception system. I'd like to go back to the model:
"once seterrq() is called ANYWHERE there is no possibility of
continuing the program.
I guess I have the opposite opinion. I think it is inevitable that
PETSc
is rewritten at some point in the future. At that point, we would
replace
the current, imperfect exception system with a better one. This way
we
can preserve a good design. If we go the other way, all that code
will
have to be rethought instead of just rewritten.
I'm on Matt's side. Have you ever considered C++ for implementing
PETSc internals?
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594