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.
show more ...
__SDIR__: remove usage of __SDIR__ from PETSc sources.
refactored residuals by adding a 'residual' method to Mat
Warnings: clean compile with gcc-4.8 at -Wextra -Wno-unused-parameter* Mostly fills out some ops struct declarations. Reformatted so Emacs can help with alignment. Squelch whitespace in diff to s
Warnings: clean compile with gcc-4.8 at -Wextra -Wno-unused-parameter* Mostly fills out some ops struct declarations. Reformatted so Emacs can help with alignment. Squelch whitespace in diff to see useful changes.* Use struct instead of casting to data pointer (void*) when serializing function pointers.* strcasecmp is in strings.h
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
finished all EXTERN_C_BEGIN/END fixes up through Mat including all fortran interface filesHg-commit: a763120ba50023930be975663a3f80c58e415743
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
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/mat/*.Hg-commit: 5c6f04286a6cfcd98361b2479b884c0041d95b73
Partially uncrustified /src/mat/*Hg-commit: f66b7241e67ccd55e47747ce1f2433e82e4f86b9
Reformatted: "Do not put a blank line immediately before PetscFunctionReturn;"Hg-commit: c8a41c455986e732d0ea0513d7162a54daffaece
removed trailing spaces from all filesHg-commit: 1cfa55059afe46c5145e0e830cd797b97216abfb
reemove OBJSC and OBJSF from invididual makefiles and auto-define in conf/variablesHg-commit: 2f01c17f3c19dc4b89aaf306cfd60a12312c270d
Add MatMultAdd_Shell and MatMultTransposeAdd_ShellHg-commit: 6d2b4e9bb07c134c698bcf72b6be62d4cff305cd
changed #define char* XXXType to typedef const char* XXXTypeHg-commit: 2f1984a65b4f21a886ea1c854235ca6d51deefad
removed trailing blanks from source codeadded rule rmtrailingblanks accessible via make ACTION=remtrailingblanks treeHg-commit: 6e3652165d48aa5f3e94dd66bf607adea6fac27a
fixed two bugs in MatConvert_Shell()Hg-commit: 02a6f1f1a26afbdabd365822de67e7c2c2896af0
PetscTypeCompare -> PetscObjectTypeCompareHg-commit: 3fc8f665421ddb862bf4d1ba95505378246340be
Removed unneeded setting of Mat Block size, should respect already set value, removed unneeded checking of negative blocksize this is handled in PetscLayoutSetUp().Hg-commit: 2d1c2b03ef3a0925025555
Removed unneeded setting of Mat Block size, should respect already set value, removed unneeded checking of negative blocksize this is handled in PetscLayoutSetUp().Hg-commit: 2d1c2b03ef3a0925025555e660e6834a4bd0a50c
MatSetSize() called after MatSetUp() is now forbidden even for Dense matricesMatSetBlockSize() must be called beofre MatSetUp()/ MatXXXSetPreallocation() for all matricesFixed vec nest example that
MatSetSize() called after MatSetUp() is now forbidden even for Dense matricesMatSetBlockSize() must be called beofre MatSetUp()/ MatXXXSetPreallocation() for all matricesFixed vec nest example that pushed format that prevented values from being printedHg-commit: 80ec81eb9db92735994e950eda2d2db6657bb6cb
Rename include/private/ to include/petsc-private/Hg-commit: 9a1730720b0d9756437b40462617551504641ade
Add MatSetUp() to MatCreateShell()Hg-commit: 2dbb331666320549cc3dc1b341cdb0f228e8cdac
Mass revert file modes that were made executable in f6e61ee9c329Hg-commit: 116d90d0b66125cee0db3e7351047057e756baf5
changed MatMatMult to MatTranposeMatMult.Hg-commit: f6e61ee9c329774cd5343eea1ee6b7432be17c3f
12345678910>>...19