-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Fix code style according to PETSc style guide and remove/rename legacy macros/functions.
- Replace
TRY()withierr= ;CHKERRQ(ierr); - Do not use a space after the ) in a cast or between the type and the * in a cast.
- replace %f formatting string with %g and always cast to double
- fix whitespace issues in function declarations, calls, and variable declarations
- remove trailing whitespaces
- remove
#undef __FUNCT__/#define __FUNCT__(Get rid of #undef __FUNCT__ / #define __FUNCT__ permon#17) - remove
FLLOPmacros/functions in favour ofPETSCmacros/functions or rename them toPERMON(suggestions for permonsys.h permon#41)
The issues are valid also for PermonQP and should be fixed at the same time.
Reactions are currently unavailable