PCMG Galerkin: use A_coarse = R*A*P when R != P^TFormerly, Galerkin coarse operators were always defined as P^T A P whichis not consistent when the user has chosen R != P^T.Reported-by: Torquil
PCMG Galerkin: use A_coarse = R*A*P when R != P^TFormerly, Galerkin coarse operators were always defined as P^T A P whichis not consistent when the user has chosen R != P^T.Reported-by: Torquil Macdonald Sørensen <torquil@gmail.com>Reported-by: Boris Kaus <kaus@uni-mainz.de>
show more ...
Merge branch 'master' into barry/remove-big-g
Doc: Fixed MG Galerkin docs to note that different restriction and interpolation are possibleReported-by: Torquil Macdonald Sørensen <torquil@gmail.com>
completed some percentage of changes from %G format in prints
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.
Merge branch 'madams/mat-residual'* madams/mat-residual: refactored residuals by adding a 'residual' method to Mat
Merge branch 'jed/converged-default-and-skip'This process started with SNESDefaultConverged -> SNESConvergedDefaultin v3.4, but the other parts have been added piecemeal. Deprecationsupport in C
Merge branch 'jed/converged-default-and-skip'This process started with SNESDefaultConverged -> SNESConvergedDefaultin v3.4, but the other parts have been added piecemeal. Deprecationsupport in C interface.* jed/converged-default-and-skip: SNES and KSP: add deprecation for *DefaultConverged and *SkipConverged KSP: rename KSPDefaultConverged* to KSPConvergedDefault* KSP: rename KSPSkipConverged -> KSPConvergedSkip SNES: document SNESSkipConverged -> SNESConvergedSkip snes->ttol to be used only in convergence tests. Renamed SNESKSPEW_Pre/PostSolve --> KSPPre/PostSolve_SNESEW. Renamed SNESSkipConverged --> SNESConvergedSkip.Conflicts: include/petscsnes.h src/docs/website/documentation/changes/dev.html
refactored residuals by adding a 'residual' method to Mat
KSP: rename KSPSkipConverged -> KSPConvergedSkip
Merge branch 'barry/improve-memory-logging'Conflicts: src/ksp/pc/impls/redundant/redundant.c src/mat/interface/matnull.c
PCMG: Fixed Fortran binding- Jed, don't you test before checkin :)
PCMGResidualDefault: deprecate old semi-private name and make public
Fortran: PCMGResidual_Default needs to handle double-underscoreWhen PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE, we must append twounderscores. If this function is to be public (as it seems to beac
Fortran: PCMGResidual_Default needs to handle double-underscoreWhen PETSC_HAVE_FORTRAN_UNDERSCORE_UNDERSCORE, we must append twounderscores. If this function is to be public (as it seems to beaccording to the man page), it should be named PCMGResidualDefault.
logging memory now credits to all ancestors
PCView_MG: avoid SEGV before PCSetUp
default for useAmat in PCMG
trying to get logic right for use_amat in PC_MGHg-commit: 1603136e55b5b4ab324948f552c421772fa7023a
added guards for PC UseAmat in PC_MG.Hg-commit: 2fc7fd9974d23a05132e51224a8f8fa2b2c835ee
fixed ancient out-dated location of default and made private function privateHg-commit: 83843fc5dc5c2857b37d64ff32071ed9a8b86fd9
fixed marking of PETSC_EXTERN/INTERN for a bunch of private functionsHg-commit: a1e34d83003ce63bcd85d0f32ea6cc694c6fd4eb
Change all PETSC_EXTERN_C to PETSC_EXTERNHg-commit: 8d2ebbb193fb583bccc64015e35640c4e08c3426
merge, terrible manual process with many conflicts with Jed's PETSC_INTERNALHg-commit: 84df07d03c6e55bd0f27bd5ee8c1738562bd529d
visibility: use PETSC_INTERN when possibleHg-commit: 3b4bfb5c23843293f1f08790b48437080a32eb42
finished all EXTERN_C_BEGIN/END fixes up through Mat including all fortran interface filesHg-commit: a763120ba50023930be975663a3f80c58e415743
1...<<1112131415161718192021