MATIS: added specialization for MatDuplicateThis was needed by the dolfin's copy contructor
Merge branch 'master' into stefano_zampini/pcbddc-multilevel-improvementConflicts: src/docs/website/documentation/changes/dev.html src/ksp/ksp/examples/tutorials/ex59.c src/ksp/pc/impls/bddc/bdd
Merge branch 'master' into stefano_zampini/pcbddc-multilevel-improvementConflicts: src/docs/website/documentation/changes/dev.html src/ksp/ksp/examples/tutorials/ex59.c src/ksp/pc/impls/bddc/bddcprivate.c
show more ...
Merge branch 'stefano_zampini/pcbddc-reusebddc'* stefano_zampini/pcbddc-reusebddc: PCBDDC: remove unneeded code to check nearnullspace PCBDDC: remove trailing whitespaces from source PCBDDC:
Merge branch 'stefano_zampini/pcbddc-reusebddc'* stefano_zampini/pcbddc-reusebddc: PCBDDC: remove unneeded code to check nearnullspace PCBDDC: remove trailing whitespaces from source PCBDDC: solved compilation error with complex build PCBDDC: introduce a new variable in PCBDDC data stucture to store the actual number of current vertices (corners with constraints with basis changed) PCBDDC: make BtoNmap a member of bddc data struct (created once after PCISSetUp) PCBDDC: check of dirichlet and neumann solvers is not needed if pcbddc->NullSpace is not present PCBDDC: improved reuse of coarse matrix PCBDDC: better management of primal space. Now a coarse numbering is computed if and only if the primal space has been really changed PCBDDC: allow different customization of dirichlet and neumann boundary indices among successive linear solves PCBDDC: now PCBDDC reuses part of its private data if NearNullSpace customization is changed between different linear solves PCBDDC: local work vectors should be created only if new constraints are created and the relevant sizes are different PCBDDC/PCIS: make vec4_D a member of pcis, not pcbddc PCBDDC: Prepare for different primal spaces customization among different linear solves PCBDDC: demand object destruction to setup routines for BDDCGraph and constraintsConflicts: src/ksp/pc/impls/bddc/bddcprivate.c (also update PetscMalloc[1-7])
MATIS: solved memory leak when setting a new local to global mapping
Merge branch 'barry/fix-singleton-viewer'
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,@'
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.
fixed PetscViewerASCIIPrintf() for a single viewer so that the singletons ASCII output is actually preserved
PCBDDC: added reuse of coarse subassembling informationIn order to do do, I had to change the MATIS class (I dont know why there was a guard for is->mapping in matis code)Solved a couple of bugs
PCBDDC: added reuse of coarse subassembling informationIn order to do do, I had to change the MATIS class (I dont know why there was a guard for is->mapping in matis code)Solved a couple of bugs when doing multilevel and a dbg_viewer on a single level only
PCBDDC: improved reuse of coarse matrixMatCovert_IS_AIJ renamed in MatISGetMPIXAIJ (MatConvert does not support out-of-place reuse of destination matrix)Added some lines in MATIS code (commented).
MATIS: Add IsSymmetric and IsHermitian implementations
removed string version of function name for XXXRegister(), PetscFunctionListAdd() and PetscObjectComposeFunction()
Merge branch 'dalcinl/matis-blocked'* 'dalcinl/matis-blocked' MATIS: Implement MatSetValuesBlockedLocal()
MATIS: Implement MatSetValuesBlockedLocal()
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
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
removed some isimpl.h dependencies from some Mat impls and documented othersmoved CUSP flag from vecimpl.h to petscimpl.hHg-commit: 2c48aa9e76aa67a361ac3f6b034d78e9e3c7b825
added PetscObjectComm() and used it to replace (((PetscObject)obj)->comm)Hg-commit: 3da37c458124ad48ae939f4e9823e4430ee0b8be
Make petscimpl.h privateHg-commit: 910e8b03a54a915953944da6f75eb81c807d7428
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
Partially uncrustified /src/mat/*Hg-commit: f66b7241e67ccd55e47747ce1f2433e82e4f86b9
Reformatted: "Do not put a blank line immediately before PetscFunctionReturn;"Hg-commit: c8a41c455986e732d0ea0513d7162a54daffaece
generally SETERRQXX does not belong on its own linealso fixed formatting issues in dgmres.c (ugh)Hg-commit: e3fffdf67cd55655a36785a0abc7c197e98ca7cd
Reformatting: 'No space after a '(' or before a ')''Hg-commit: 797341a7bfba18bb97e6da668b36bad2e5977356
1...<<111213141516