Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
show more ...
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated via the following script:git grep -l 'PetscMalloc(
Sys: add PetscMalloc1 macro, array allocation without redundant typesThe type is inferred from the pointer return type. This patch isautomated via the following script:git grep -l 'PetscMalloc(.*sizeof' src | xargs perl -pi -e 's@PetscMalloc\(([^,;]*[^,; ]) *\* *sizeof\([^,;()]+\),@PetscMalloc1($1,@'This commit contains an additional bug-fix in csrperm.c, fixing pointerarity. The code was introduced in 2006, but the allocation could nothave been correct at any time. This probably means thatMatDuplicate_SeqAIJPERM has never been tested. a54129beb540034ba105796c682d589e7e1111f2 Richard Tran Mills <rmills@ornl.gov> Added MATSEQCSRPERM support for MatDuplicate() and conversion to/from MATSEQAIJ. Note that these changes are not quite debugged.
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
completed removing unneeded EXTERN_C_BEGIN/END from Mat directories and converting to PETSC_EXTERN_C for constructorstested with and without dynamic with and without C++Hg-commit: 7d27d7f4d9ea3bfe
completed removing unneeded EXTERN_C_BEGIN/END from Mat directories and converting to PETSC_EXTERN_C for constructorstested with and without dynamic with and without C++Hg-commit: 7d27d7f4d9ea3bfe6616fafdfb32d046b5db53a1
began removing unneeded EXTERN_C_BEGIN/END and converting needed ones to PETSC_EXTERN_CHg-commit: e0c157606a3283d5a4ba8902a0da5cad0e2aa531
changed use of PetscObjectComposeFunctionDynamic() to PetscObjectComposeFunction() to allow use of static for functions for standard use in PETScPetscObjectComposeFunctionDynamic() is still availabl
changed use of PetscObjectComposeFunctionDynamic() to PetscObjectComposeFunction() to allow use of static for functions for standard use in PETScPetscObjectComposeFunctionDynamic() is still available for use if neededalso fixed calls to PetscObjectComposeFunction() to not wrap lines (per PETSc coding style)Hg-commit: 822f9ddaac95a8ff6c2a9ad77fbf07d02d2c20d9
added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be
removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for FortranFixed a few bugs where PETSC_NULL had been used incorrectly.Hg-commit: 05
removed PETSC_NULL from C and Fortran (except declaration in C for backward compatibility). Kept PETSC_NULL_xxx for FortranFixed a few bugs where PETSC_NULL had been used incorrectly.Hg-commit: 054705a517d7f4388a8a084415d7478cbe95dff4
Uncrustified src/ksp/pc/*Hg-commit: b80b33e3b1d8943a898b18384bc7b2c1a3103a32
Reformatted: "Do not put a blank line immediately before PetscFunctionReturn;"Hg-commit: c8a41c455986e732d0ea0513d7162a54daffaece
Updated style to obey 'Do not put a blank line immediately after PetscFunctionBegin;'Hg-commit: 5408b9ce2402ad624305b7a7a323ab3ae5e0c3f1
if, for, while, switch now have consistently a space prior to the opening parenthesis.Hg-commit: cf69a5905ee4efb938b2bdd2762f87854175a6c5
Replaced '#ifdef' and '#ifndef' with '#if defined()' and '#if !defined()'.Hg-commit: b3ebae8b626a88c2ac067fd7c3f04f229b43f305
removed trailing spaces from all filesHg-commit: 1cfa55059afe46c5145e0e830cd797b97216abfb
removed all incorrect spaces before CHKERR...Hg-commit: 653d9985c7cfe8fed21a37081a5b64f5e24e6c17
reemove OBJSC and OBJSF from invididual makefiles and auto-define in conf/variablesHg-commit: 2f01c17f3c19dc4b89aaf306cfd60a12312c270d
code to match PETSc style guide for if (xxx) for (xxx) sizeof(xxx)Hg-commit: 01e0d19bcd83a980fb5e8e32b294a95da72b405f
PetscTypeCompare -> PetscObjectTypeCompareHg-commit: 3fc8f665421ddb862bf4d1ba95505378246340be
Rename include/private/ to include/petsc-private/Hg-commit: 9a1730720b0d9756437b40462617551504641ade
Based on feedback received from one of the pARMS developers, I am attaching a patch that modifies some default values.Hg-commit: a899db3a9401833e765bf940bcf66f911a3811be
Set pARMS defaults to be a linear preconditionerHg-commit: ab3e98b0c7b8222a2756e9c27f6b1029ec798773
enable fortran stubs for PCPARMSHg-commit: 1e2d6fb579e4d884a3cd8597642f2b0837a093a8
complete previous pARMS commit [forgot to add new sources]Hg-commit: 3d2c0de98f8d2cdb8d1246878e741d183c80aabd
123