History log of /petsc/src/ksp/pc/impls/mg/mgfunc.c (Results 76 – 100 of 320)
Revision Date Author Comments
# 48a67072 16-Feb-2021 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jed/pcmg-transpose' into 'master'

PCMG: implement PCApplyTranspose_MG

See merge request petsc/petsc!3539


# fcb023d4 24-Nov-2020 Jed Brown <jed@jedbrown.org>

PCMG: implement PCApplyTranspose_MG

A sample run:

$PETSC_ARCH/tests/ts/tutorials/advection-diffusion-reaction/ex5adj \
-pc_type mg -mg_levels_pc_type jacobi


# ee90678e 26-Aug-2020 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-adaptive-interpolation' into 'master'

Knepley/feature plex adaptive interpolation

See merge request petsc/petsc!3018


# f3b08a26 06-Feb-2019 Matthew G. Knepley <knepley@gmail.com>

PCMG: Added adaptive interpolation
- Added coarse vectors to resolve at each level
- Added adaptation flag and API
- Added option -pc_mg_adapt_interp to turn on adaptation
- Use -dm_interpolator_ada

PCMG: Added adaptive interpolation
- Added coarse vectors to resolve at each level
- Added adaptation flag and API
- Added option -pc_mg_adapt_interp to turn on adaptation
- Use -dm_interpolator_adapt_k to set subspace size and -dm_interpolator_adapt_use_poly to select type of functions
- Doc fixes for functions
- Fix options for construction of a vanilla coarse space
- Require Galerkin matrices for adaptive interpolation
- Fixed problem with composed eigenvalue
- Normalize eigenvector in smoothing loop
- Added option to use generalized eigenvector basis (For some reason, this is worse on test problems)
- Make adaptive allocation happen only initially, protect adaptive functions from invalid levels

show more ...


# 6dd80bde 04-Dec-2019 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/maint'


# a7b30df4 29-Nov-2019 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-typo' into 'maint'

Typos in MG documentation

See merge request petsc/petsc!2335


# a4355517 29-Nov-2019 Pierre Jolivet <pierre.jolivet@enseeiht.fr>

MG documentation


# 613bfe33 02-Jun-2019 BarryFSmith <bsmith@mcs.anl.gov>

Merged in barry/update-collective-on (pull request #1744)

Update the use of Collective on in the manual pages to reflect the new style


# d083f849 01-Jun-2019 Barry Smith <bsmith@mcs.anl.gov>

Update the use of Collective on in the manual pages to reflect the new style

Commit-type: style-fix, documentation
Thanks-to: Patrick Sanan <patrick.sanan@gmail.com>


# e41697d3 01-Jun-2019 Fande Kong <fdkong.jd@gmail.com>

Merged in Fande-Kong/feature_hmg (pull request #1682)

Hybrid of PETSc preconditioners (such as ASM, BJacobi, SOR, etc.) and Hypre BoomerAMG

Approved-by: BarryFSmith <bsmith@mcs.anl.gov>


# 07a4832b 30-May-2019 Fande Kong <fdkong.jd@gmail.com>

HMG: Added tests for reuse interpolation and interface functions

Also addressed comments from Barry


# fd2dd295 29-May-2019 Fande Kong <fdkong.jd@gmail.com>

Improve interfaces and make HMG more general

Now HMG can take any PC as an inner PC as long as the PC
provides PCGetInterpolations and PCGetCoarseOperators

If hypre is available, it will be used b

Improve interfaces and make HMG more general

Now HMG can take any PC as an inner PC as long as the PC
provides PCGetInterpolations and PCGetCoarseOperators

If hypre is available, it will be used by default, otherwise use GAMG.
Users can override the setting using -hmg_inner_pc_type

show more ...


# 95750439 28-May-2019 Fande Kong <fdkong.jd@gmail.com>

Fixed typo in PCMGSetOperators that messing up fortran stubs


# 8a2c336b 28-May-2019 Fande Kong <fdkong.jd@gmail.com>

Update interfance and support GAMG


# 360ee056 17-Sep-2018 Fande Kong <fdkong.jd@gmail.com>

Implemented an AMG that uses Hypre to coarsen matrix

and generate a sequence of coarse matrices. These coarse
matrices are used to setup a PETSc PCMG.

There are two benefits:

(1) We can use any PE

Implemented an AMG that uses Hypre to coarsen matrix

and generate a sequence of coarse matrices. These coarse
matrices are used to setup a PETSc PCMG.

There are two benefits:

(1) We can use any PETSc preconditioners such as ASM, BJacobi as
level smoothers (solvers). For some applicaitons, the combination
of ASM and AMG works great while only AMG or AMS does not work at all.

(2) For multicomponent problems, we could just coarsen one submatrix
associated with one particular component. In this way, the setup of the
preconditioner is significantly improved. One typical use case is
neutron transport equations. There are many variables on each mesh
vertex due to the discretization of angle and energy. Each variable,
in fact, corresponds to the same PDEs but with different material
properties.

show more ...


# fa54792a 29-May-2019 Patrick Sanan <patrick.sanan@gmail.com>

Merged in psanan/man-pages-remove-keywords (pull request #1717)

Man pages: Remove .keywords fields

Approved-by: BarryFSmith <bsmith@mcs.anl.gov>


# bfcb38ea 27-May-2019 Patrick Sanan <patrick.sanan@gmail.com>

Man pages: remove .keywords: fields

This field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),
but it doesn't seem to be unif

Man pages: remove .keywords: fields

This field is recognized by doctext from Sowing (http://wgropp.cs.illinois.edu/projects/software/sowing/doctext/node20.htm#Node20),
but it doesn't seem to be uniformly used or maintained.

Thus, remove all .keywords: fields, and a following blank line, if present.

This is accomplished with GNU sed (gsed on OS X), with the following commands.
*Warning* that this type of command can corrupt a .git directory,
so be cautious in reusing or modifying these commands. They first look
for and delete matching lines with a following line consisting of only whitespace,
and then delete any remaining matching lines.

find src/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} +
find src/ -type f -exec gsed -i '/keywords:/d' {} +
find include/ -type f -exec gsed -i '/keywords:/ {N; /\n\s*$/d}' {} +
find include/ -type f -exec gsed -i '/keywords:/d' {} +

Hints on the sed command obtained from: https://unix.stackexchange.com/questions/100754/how-to-delete-a-specific-line-and-the-following-blank-line-using-gnu-sed

show more ...


# c86da64b 06-Sep-2018 Joseph Pusztay <josephpu@buffalo.edu>

Merged petsc/petsc into master


# 78945fca 17-Aug-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-functionals

* master: (984 commits)
netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out

Merge branch 'master' into knepley/feature-plex-functionals

* master: (984 commits)
netcdf: set zlib as optional dependency corretly [wrt --enable-netcdf-4] - otherwise netcdf configure errors out
fix gcov obj path
-options_table was changed to options_view in 2014 but documentation was not updated to reflect it
configure: fix F2003 test
Dev manual: remove duplicate entry
Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests.
Some minor typos in TS
Add ADIOS2.py which I forgot to git add in the past
Plex ex5: Disable test
Doc: Added note for interface change
KSPLSQRMonitorDefault fixed for quad precision
Tao: Added alternative output for chwirut2 test.
TS ex45,ex46: Removed overly refined tests for faster nightly tests.
KSP ex72: Fixed needlessly long-running PCTFS tests.
SNES ex56: Reduced test size to speed up nightly test suite.
KSPSolve_LSQR: don't compute unused norm of rhs
SNES ex13: Reduced problem sizes for nightly tests.
PetscOptionsDeprecated(): fix for NULL prefix
PetscOptionsDeprecated(): add option to print additional info
SNES ex12: Reduced sizes for BDDC tests.
...

show more ...


# 13a035b1 13-Aug-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-elasticity-test

* master: (1553 commits)
-options_table was changed to options_view in 2014 but documentation was not updated to reflect it
config

Merge branch 'master' into knepley/feature-plex-elasticity-test

* master: (1553 commits)
-options_table was changed to options_view in 2014 but documentation was not updated to reflect it
configure: fix F2003 test
Plex test ex5: Removed "future" test, as it resulted in issues in the nightly tests.
Some minor typos in TS
Add ADIOS2.py which I forgot to git add in the past
Plex ex5: Disable test
Doc: Added note for interface change
KSPLSQRMonitorDefault fixed for quad precision
Tao: Added alternative output for chwirut2 test.
TS ex45,ex46: Removed overly refined tests for faster nightly tests.
KSP ex72: Fixed needlessly long-running PCTFS tests.
SNES ex56: Reduced test size to speed up nightly test suite.
KSPSolve_LSQR: don't compute unused norm of rhs
SNES ex13: Reduced problem sizes for nightly tests.
PetscOptionsDeprecated(): fix for NULL prefix
PetscOptionsDeprecated(): add option to print additional info
SNES ex12: Reduced sizes for BDDC tests.
PetscFileRetrieve(): Suppress output to STDERR when downloading a file.
MatMatMult: Fixed unused variable pN.
DMDestroy: Guard call to dm->ops->destroy * Similar guards are in place in many other methods (IS,Vec,Mat) and permit the DM to be destroyed even if DMSetType() was never called.
...

show more ...


# 59e7829c 07-Aug-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-plex-parallel-submesh

* master: (2931 commits)
remove N in docs for SNESQN
replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON
fortran: PetscComp

Merge branch 'master' into knepley/feature-plex-parallel-submesh

* master: (2931 commits)
remove N in docs for SNESQN
replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON
fortran: PetscComplex type is missing from fortran
initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized.
Move access of prefix until it is actually used
Remove DMDASplitComm2d(), used in one example that was not tested
Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm
remove unneeded reassignment of same value
Missing CHKERRQ(); Mostly in Tao code
Remove clang static analyser warning about passing NULL variable to strncat()
missing newline in -ts_monitor_extreme
minor fixes for integer counters
Configure: Deal with '__func__' in C89 builds with newer Clang and GCC.
Jenkinsfile: Increased timeout for tests to 5 minutes.
3.9 changes: further clarify removal of -pc_factor_mat_solver_package
Options deprecations: add "PETSc" to inline warning
removing unused variable
MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods.
Add -ts_monitor_extreme
Dev manual: add note on deprecating options database keys
...

Conflicts:
src/dm/impls/plex/examples/tests/ex4.c

show more ...


# 27a35bf0 07-Aug-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/fix-plex-submesh-projection

* master: (425 commits)
remove N in docs for SNESQN
replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON
fortran: PetscComplex

Merge branch 'master' into knepley/fix-plex-submesh-projection

* master: (425 commits)
remove N in docs for SNESQN
replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON
fortran: PetscComplex type is missing from fortran
initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized.
Move access of prefix until it is actually used
Remove DMDASplitComm2d(), used in one example that was not tested
Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm
remove unneeded reassignment of same value
Missing CHKERRQ(); Mostly in Tao code
Remove clang static analyser warning about passing NULL variable to strncat()
missing newline in -ts_monitor_extreme
minor fixes for integer counters
Configure: Deal with '__func__' in C89 builds with newer Clang and GCC.
Jenkinsfile: Increased timeout for tests to 5 minutes.
3.9 changes: further clarify removal of -pc_factor_mat_solver_package
Options deprecations: add "PETSc" to inline warning
removing unused variable
MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods.
Add -ts_monitor_extreme
Dev manual: add note on deprecating options database keys
...

Conflicts:
src/dm/impls/plex/examples/tests/ex4.c

show more ...


# c15bc2c4 13-Jul-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into arcowie-rem/feature-error-logging

* master: (353 commits)
Configure: Pragmatic now requires Cxx11
fix compile warning
mpiuni: build somempifort.o after mpiuni.mod

Merge branch 'master' into arcowie-rem/feature-error-logging

* master: (353 commits)
Configure: Pragmatic now requires Cxx11
fix compile warning
mpiuni: build somempifort.o after mpiuni.mod
Remove use of common block from MPIUNI code
use was in wrong location
Fortran line extends past 72 char
Moved the rest of the PETSc common block variables over to petscsys module
tests: fix breakage due to cd93b0e13c6da70ee1e038f55989cf888bc1d1c5
Need to use petscsys to get PETSC_COMM_SELF defined in example
Mat ex23 and ex40: fix errors reported from nightly tests
Put declaration on too lines because otherwise it generates an error for truncated line
Move PETSC_COMM_WORLD and PETSC_COMM_SELF from common blocks to petscsys module
tests: fix requires - and create out files for seqaijmkl tests
KSP ex72: nested dissection is likely to be different between machines
cmake: downgrade to version 3.9 - as newer versions require cxx11 compiler [which is not universal]. However stick with version 3.11 on opensolaris
Mat ex23: fix memory leaks
Bib: Some new refs
KSP examples: add missing casts to double in printf
updated GAMG KSP tests
PetscRound() should be PetscRoundReal() in __fp16
...

Conflicts:
include/petsclog.h
src/sys/logging/plog.c
src/sys/logging/utils/eventlog.c

show more ...


# c989281d 30-Jun-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/fix-plex-project-tests

* master: (477 commits)
Added correct report number for PETSc Developers Guide
Update PETSc Developers Guide title and final pages to ne

Merge branch 'master' into knepley/fix-plex-project-tests

* master: (477 commits)
Added correct report number for PETSc Developers Guide
Update PETSc Developers Guide title and final pages to new ANL style
Hash: Quick documentation fix
PetscBinaryViewerRead -> PetscViewerBinaryRead
cast in GAMG_HASH so that it works for PetscInt32 near PETSC_INT_MAX without overflow to negative numbers
Add link for DrMemory which may serve as an alternative to valgrind on Windows
Finish Gail's copyedits for developers manual.
openmpi: fix namespace conflict [with static build on ppc64le]
two pages of Gail's edits to developers guide
Another chapter of Gail's copyedits for the developers guide
Gail's copyedits on two more chapters of the developers guide
Fix more %d to %D in GAMG code. Fix code style in GAMG code
DMPlexVTK: vertices is int! need to use %d instead of %D
TS ex18: update outputs (reported by nightly tests)
Use %D in error messages for GAMG hash; fix style issues with GAMG hash
config: Update petsc4py git commit
Fix bad plain extern declaration.
Add Gail's copyedits for the initial portion of the developers guide
Add missing common block to subroutine
fix mpiuni tests with xl compilers
...

show more ...


# 2a546c9d 27-Jun-2018 Matthew G. Knepley <knepley@gmail.com>

Merge branch 'master' into knepley/feature-pc-patch

* master: (107 commits)
cast in GAMG_HASH so that it works for PetscInt32 near PETSC_INT_MAX without overflow to negative numbers
Add link for

Merge branch 'master' into knepley/feature-pc-patch

* master: (107 commits)
cast in GAMG_HASH so that it works for PetscInt32 near PETSC_INT_MAX without overflow to negative numbers
Add link for DrMemory which may serve as an alternative to valgrind on Windows
Finish Gail's copyedits for developers manual.
openmpi: fix namespace conflict [with static build on ppc64le]
two pages of Gail's edits to developers guide
Another chapter of Gail's copyedits for the developers guide
Gail's copyedits on two more chapters of the developers guide
Fix more %d to %D in GAMG code. Fix code style in GAMG code
DMPlexVTK: vertices is int! need to use %d instead of %D
TS ex18: update outputs (reported by nightly tests)
Use %D in error messages for GAMG hash; fix style issues with GAMG hash
config: Update petsc4py git commit
Fix bad plain extern declaration.
Add Gail's copyedits for the initial portion of the developers guide
Add missing common block to subroutine
fix mpiuni tests with xl compilers
Copy & paste the change on PetscSparseDensePlusDot
Fix a wrong macro
PetscInfo: Add missing errorchecking
Log: various fixes and cleanups
...

Conflicts:
src/dm/impls/plex/plex.c

show more ...


12345678910>>...13