[petsc-dev] names of TSTypes

Jose E. Roman jroman at dsic.upv.es
Sat Apr 17 03:33:02 CDT 2010


By the way, TSCRANK_NICHOLSON is not spelled correctly, should be TSCRANK_NICOLSON (without the H)

http://dx.doi.org/10.1007%2FBF02127704
http://en.wikipedia.org/wiki/Crank–Nicolson_method

Jose


On 17/04/2010, Barry Smith wrote:

> 
> #define TSEULER           "euler"
> #define TSBEULER          "beuler"
> #define TSPSEUDO          "pseudo"
> #define TSCRANK_NICHOLSON "crank-nicholson"
> #define TSSUNDIALS        "sundials"
> #define TSRUNGE_KUTTA     "runge-kutta"
> #define TSPYTHON          "python"
> #define TSTHETA           "theta"
> #define TSGL              "gl"
> #define TSSSP             "ssp"
> 
>  someone changed TSRK to TSRUNGE_KUTTA and TSCN to TSCRANK_NICHOLSON but then created a TSGL.
> 
>  What's up with this? How come GL gets an abbreviation but others cannot?
> 
>  BTW: whoever changed TSRK didn't update the TSCreate_RK() etc with TSCreate_RUNGE_KUTTA() or change the manual page for TSRK
> 
>  What should we do? I like consistency. I'm happy with all short like TSGL and TSRK or all long, but I don't like some short and some long.
> 
>  What say you?
> 
>   Barry
> 




More information about the petsc-dev mailing list