Added gkb_monitor option and mat_set_symmetric parameter to ex70
Added routines for setting the GKB preconditioner parameters
Added a PC_COMPOSITE_GKB fieldsplit preconditioner.This is based on the Golub-Kahan bidiagonalization.
PC: FieldSplit must copy DMKSP routines to subDM
PCFIELDSPLIT: minor fixes
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorizati
Changed VecScatterCreate() to take a communicator and return scatter as other first class PETSc objects do.Changed old VecScatterCreate() to VecScatterCreateWithData()Completed basic refactorization of VecScatter code, ready for new implementations to be added.(There is still some code duplication between the VecScatter MPI1 and MPI3 code but it can be fixed at anytime without requiring changes to the VecScatter API.Part 5 of a refactorization of VecScatter to be treated as a first class PETSc objectCommit-type: style-fix
show more ...
Merge branch 'master' into knepley/feature-pc-patch* master: (226 commits) fix bib type in bibtex entry copy edits to bibtex items Hypre matrix: small fix Hypre matrix: fixed compiler war
Merge branch 'master' into knepley/feature-pc-patch* master: (226 commits) fix bib type in bibtex entry copy edits to bibtex items Hypre matrix: small fix Hypre matrix: fixed compiler warnings Plex: Fixed missing PetscRealPart() in partition balance. Added MatZeroEntries_HYPRE Removed outdated mention of cusp and thrust from installations instructions; remove cusp from example configurations Remove another location where fshift was used with -1 to indicate handling of error condition which was never handled Generate an immediate error, if requested, if CG detects indefinite PC or Mat Remove hack of using special fshift value of -1 to indicate error handling, was broken for MatSOR_SeqAIJ and did nothing constructive in the other cases Options: Fix sys_tests-ex6 to not print options PetscOptionsDestroy: Add missing free() call Configure: Pragmatic now requires Cxx11 Error check that the communicator in the IS matches that in the matrix otherwise ISAllGather() produces incorrect results. Options: Code reorganization and faster option lookup fix compile warning Doc: Fixed manpage for PCFieldSplitSetSchurPre() mpiuni: build somempifort.o after mpiuni.mod Remove use of common block from MPIUNI code ...Conflicts: include/petscdm.h include/petscpc.h include/petscpctypes.h src/dm/impls/plex/plexcreate.c src/dm/impls/plex/plexdistribute.c src/ksp/pc/impls/makefile src/ksp/pc/interface/pcregis.c
Merge branch 'dalcinl/options'
Options: Code reorganization and faster option lookup* Speedup option lookup by using a auxiliary hash table.* Move many routines around to make the implementation easier to follow. Eventually,
Options: Code reorganization and faster option lookup* Speedup option lookup by using a auxiliary hash table.* Move many routines around to make the implementation easier to follow. Eventually, we may split options.c in two, all of the query routines PetscOptionsGetXXX() do not need (and should not have) access to the PetscOptions data structure.* Restore proper handling of monitors in set/clear option events.* Add PetscOptionsHasHelp(), eventually we may add a "category" argument to do special handling of let say `-help <package>`* Change PetscOptionsReject() to handle option prefix, this makes the call easier to use in XXXSetFromOptions() implementations.
Doc: Fixed manpage for PCFieldSplitSetSchurPre()
PCFieldSplit: adde PCFieldSplitSchurGetSubKSP() methodthis method differs from PCFieldSplitGetSubKSP() since it returns all the KSPs used in the Schur factorization
PCFieldSplit: use PCKSP as PC for KSP inv(A00) when an inner KSP for the Schur complement is asked forFixed whitespaces
Merge branch 'master' into knepley/feature-pc-patch* master: (562 commits) fix clang-analyzer warning Developers manual never use system randomizers in PETSc and example source code. missing
Merge branch 'master' into knepley/feature-pc-patch* master: (562 commits) fix clang-analyzer warning Developers manual never use system randomizers in PETSc and example source code. missing CHKERRQ() DT: Reverting the tgamma change broke MPFR - I guess we need a nightly build with it in Add a test for ex21 Fix error in ex21 Add missing fortran interface that handles null objects DMComposite: add missing guards MatPreallocate: fix overpreallocation of local rows style fixes MatView_MPI_DA: do not print twice the class prefix MatSetOperation: stash the original MatView_XXX in the viewnative function pointer DMCreateInterpolation_DA gracefully error instead of catching FPE signals MatIncreaseOverlap: preserve communicator of index sets MatMPIAIJ: fix indentation and missing CHKERRQ ISBuildTwoSided: remove tabs and fix style Fix documentation PetscViewerDraw: fix unininitialized warning from valgrind MatConvert_SeqAIJ_SeqBAIJ: remove error for non square matrices and add MAT_REUSE_MATRIX case Mat: MAT_INPLACE_MATRIX can be used for transposition with rectangular matrices ...Conflicts: src/dm/dt/interface/dtfe.c src/dm/impls/plex/plex.c src/dm/impls/plex/plexfem.c src/snes/examples/tutorials/ex13.c src/snes/examples/tutorials/ex62.c src/snes/examples/tutorials/makefile src/snes/examples/tutorials/output/ex62_18.out src/snes/examples/tutorials/output/ex62_19.out src/snes/examples/tutorials/output/ex62_20.out src/snes/examples/tutorials/output/ex62_20_parmetis.out src/snes/examples/tutorials/output/ex62_21.out src/snes/examples/tutorials/output/ex62_22.out src/snes/examples/tutorials/output/ex62_23.out src/snes/examples/tutorials/output/ex62_24.out src/snes/examples/tutorials/output/ex62_25.out src/snes/examples/tutorials/output/ex62_26.out src/snes/examples/tutorials/output/ex62_27.out src/snes/examples/tutorials/output/ex62_28.out src/snes/examples/tutorials/output/ex62_29.out src/snes/examples/tutorials/output/ex62_2d_p3_1.out src/snes/examples/tutorials/output/ex62_30.out src/snes/examples/tutorials/output/ex62_31.out src/snes/examples/tutorials/output/ex62_32.out src/snes/examples/tutorials/output/ex62_33.out src/snes/examples/tutorials/output/ex62_34.out src/snes/examples/tutorials/output/ex62_35.out src/snes/examples/tutorials/output/ex62_36.out src/snes/examples/tutorials/output/ex62_pc_simple.out src/snes/examples/tutorials/output/ex62_pc_simplec.out src/snes/examples/tutorials/output/ex62_quad_q2p1_full.out src/snes/examples/tutorials/output/ex62_quad_q2q1_full.out src/snes/utils/dmplexsnes.c
add support for pc fieldsplit when matrix structure is changedRequested-by: Pierre Jolivet <pierre.jolivet@enseeiht.fr>
Merge remote-tracking branch 'origin/psanan/pc-fieldsplit-detect-interface'
PCFieldSplit: Interface to set -pc_fieldsplit_detect_saddle_point programmaticallyAdds a new boolean data field for this setting, and a setter and getter.Removes a call to get the option outside
PCFieldSplit: Interface to set -pc_fieldsplit_detect_saddle_point programmaticallyAdds a new boolean data field for this setting, and a setter and getter.Removes a call to get the option outside of PCSetFromOptions_FieldSplit.In PCSetFromOptions_Fieldsplit(), checks the flag and then immediatelycalls PCFieldSplitSetDetectSaddlePoint(), which then set the split typeand SchurPre type, as before.Wraps setting PC_FIELDSPLIT_SCHUR_PRE with the existing API.Updates documentation, in particular removing a statement that negative diagonalentries trigger a split (when only zero diagonal entries do).
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \(
Man pages: add newlines after "Notes:"This allows for proper formatting from sowing.On OS X (using gsed, not the default BSD sed), from the PETSc root directory: find src include -type f \( -name "*.c" -or -name "*.h" -or -name "*.cxx" \) | xargs gsed -i 's/Notes\s*:\s*\(\w.*\)/Notes:\n \1/'This adds a newline and 4 spaces whenever "Notes:" is followed by any "word" character, in any .c, .h, or .cxx file in src/ or include/
PCFieldSplit: Fix tabbing in view
Incorrect inner comparisonCommit-type: bug-fixReported-by: Lisandro Dalcin <dalcinl@gmail.com>
PC: Fixed FieldSplit view for block diagonal self
Merge remote-tracking branch 'origin/barry/consistent-formating-ascii-solver-viewers'
updates to manual page for clarityCommit-type: documentationFunded-by: ECPTime: .1 hours
PCFieldSplit: added customization for the scaling factor of the Schur complement
fortran: disable interfaces for functions with 'char' arguments. Now we get compile errors
rename MatGetSubMat -> MatCreateSubMat
12345678910>>...23