const char* matrix ordering

zhifeng sheng z.sheng at
Thu Aug 28 11:07:37 CDT 2008

Dear Petsc-developer

I found MatOrderingType is defined as

#define MatOrderingType char*

therefore, g++ complains with a warning when I do something like

MatOrderingType x = MATORDERING_ND

....So, I don't know whether it should be defined as

#define MatOrderingType const char*

Best regards

More information about the petsc-users mailing list