[petsc-dev] Creation of snes->vec_func

Barry Smith bsmith at mcs.anl.gov
Wed Dec 21 19:23:10 CST 2011


On Dec 21, 2011, at 7:17 PM, Jed Brown wrote:

> On Wed, Dec 21, 2011 at 19:16, Barry Smith <bsmith at mcs.anl.gov> wrote:
> You could do this. Sounds reasonable.
> 
>   Barry
> 
>  When are we going to make our lives easier by switching to C++ :-)
> 
> How would you do this in C++?


    The VI solvers would be a subclass of SNES and the user would decide at compile time what class they were using. Easy for the library writer, easy for the user ....

but a crappy design

> 
> 
> When are we going to make our lives easier by switching to Lisp? ;-)

Damn university CS professors who haven't written a single line of useful code in their lives.

 Barry





More information about the petsc-dev mailing list