TS grand plan

Barry Smith bsmith at mcs.anl.gov
Thu Sep 24 08:00:56 CDT 2009


    TSType is the only type that has _ in the middle (SNES, KSP etc  
etc do not) therefor the correct fix is to remove the _
from the middle of all TSType names and you can follow all the rules :-)

    Barry

On Sep 24, 2009, at 3:14 AM, Jed Brown wrote:

> Lisandro Dalcin wrote:
>> BTW, I think you should #define TS_GL "gl", instead of
>> TS_GENERAL_LINEAR... Just to follow the rules... OTOH, you could
>> #define TS_GENERAL_LINEAR "general-linear"...
>
> Yes, however this macro conflicts with the typedef TS_GL (also to  
> follow
> the rules).  I don't especially mind if the user has to type -ts_type
> general-linear, but I certainly want to retain the prefix -ts_gl_*.
> TS_GENERAL_LINEAR = "gl" was my compromise, but I can change it.
>
> Jed
>




More information about the petsc-dev mailing list