[petsc-dev] script.py

Jed Brown jed at 59a2.org
Sun Mar 14 16:05:55 CDT 2010


On Sun, 14 Mar 2010 15:03:21 -0500, Matthew Knepley <knepley at gmail.com> wrote:
> So you want to replace
> 
>   global output, error, status
> 
> with
> 
>   ret = [output, error, status]
> 
> ? That is fine with me as long as it has the same behavior.

I have replaced it with something that I find more readable (no globals
or sensitive scoping issues, simpler control flow).  Let me know if it
breaks anything.

Jed



More information about the petsc-dev mailing list