updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
manual merge of conflict
convert some PetscMalloc() to PetscMalloc1()remove unneeded () in first argument to PetscMalloc/Calloc1()fixes for MATLAB examples
convert to PetscMalloc1()better handling of string viewer when running out of space
Merge branch 'master' into barry/reduce-dmsetup-da-memoryusageConflicts: src/dm/examples/tests/ex15.c src/dm/examples/tutorials/ex3.c src/dm/impls/da/da2.c src/dm/impls/da/da3.c
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 ...
removed idx and Nl from DM_DA object since the dm->ltogmap has the same informationthis eliminates one memory usage of size dof * number of local grid points in DMSetUp_DANeeded to add DMDARestore
removed idx and Nl from DM_DA object since the dm->ltogmap has the same informationthis eliminates one memory usage of size dof * number of local grid points in DMSetUp_DANeeded to add DMDARestoreGlobalIndices() to properly allow access to dm->logmap with DMDAGetGlobalIndices().Though users could use DMGetGlobalToLocalMapping() followed by ISLocalGetGlobalMappingGetIndices() I have retainedDMDAGetGlobalIndices() to the code refactorization is less dramatic; the code could be changed later to eliminateDMDAGetGlobalIndices()
__SDIR__: remove usage of __SDIR__ from PETSc sources.
unified PetscObjectStateXXX() commands. Fixed PetscObjectStateQuery() to PetscObjectStateGet()
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
updated from EXTERN_C_BEGIN/END through sys directoryHg-commit: ee6b7ef2f48ce66402e7e807302de19506ce15df
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
Removed remaining spaces in cast to pointer-type.Hg-commit: dccb79187adf08b4501155bd6550e95ac2ab554c
Uncrustified src/sys/*Hg-commit: 9f71677807bad7b55428a6cc0f5ccc5052e91805
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
Carefully replaced more '){' by ') {', added checker scriptHg-commit: a0037010be00b56a68354d942365c8f8df63198a
removed adic stuffHg-commit: 99933b6f66a48c78b00a3952edfaf6191df65340
reemove OBJSC and OBJSF from invididual makefiles and auto-define in conf/variablesHg-commit: 2f01c17f3c19dc4b89aaf306cfd60a12312c270d
moved some fortran stubs to the directory where they belong instead of the generic base directoryHg-commit: 0d56f224a3d612cf937e9fff96b355b10a68395b
removed trailing blanks from source codeadded rule rmtrailingblanks accessible via make ACTION=remtrailingblanks treeHg-commit: 6e3652165d48aa5f3e94dd66bf607adea6fac27a
merge from 33Hg-commit: 65b85ca420e4046859e760ac01ff92c738a1a588
fixed bug in setting block size of redistributed matrix since it used object that did not exist on some MPI processesHg-commit: 23f912b865b5e245e8065ddaa5fede58f1e4adfe
added handling of -hmpi_spawn_size and -hmpi_merge_sizeHg-commit: d11eb21fe24e6c59fb06db57a71f44dbcf781bc2
Enable __float128 precision with complex scalarsHg-commit: 260360ea8a4fc88aed535bc381fba60e70cd1504
1234567