Remove all double blank lines from sourceCommit-type: petsc-style/2h
SNES ex17: Test non-affine meshes
Merge branch 'knepley/feature-dm-aux-data-keys' into 'main'Plex: Updates to declarative interface for FEM problemsSee merge request petsc/petsc!3972
DT: Changed key and WeakForm internals- Changed name to PetscFormKey - Added part member- Now maps are referred to by PetscWeakFormKind- Added PetscWeakFormClearIndex() and PetscWeakFormClear()
DT: Changed key and WeakForm internals- Changed name to PetscFormKey - Added part member- Now maps are referred to by PetscWeakFormKind- Added PetscWeakFormClearIndex() and PetscWeakFormClear()- Passing NULL to SetIndex is now ignored- Added tests
show more ...
Merge branch 'jczhang/feature-kokkos-iluk' into 'main'Add Kokkos ILU(k) supportSee merge request petsc/petsc!3967
Add some Kokkos tests
Plex: Update examples to use new creation interface
Plex: Now meshes can be created automatically from the command line, and some more fixes- Changed internal mesh creation functions to operate on a DM instead ofcreating a new one so that they can h
Plex: Now meshes can be created automatically from the command line, and some more fixes- Changed internal mesh creation functions to operate on a DM instead ofcreating a new one so that they can happen with options- Fixed coordinates in CreateCubeBoundary_Internal()- Added DMPlexShape for prebuilt meshes- Added DMPlexIsSimplex()- Added DMPlexCreateCoordinateSpace()- DMPlexDistributeCoordinates() should copy the coordinatediscretization- DMPlexInterpolateFaces_Internal() should be careful to preserve thelower bound when resetting the chart- PetscSectionSetChart() should ignore entries that match the currentones- Added DMPolytopeTypeSimpleShape()- Do not require an EGADS model for TetGen- Detail ASCII viewer shows all labels- Default viewer shows periodicity
Add support for using -snes_mf_operator with SNESSetPicard()Applies Newton's method using matrix-free application of the true Jacobian, preconditioned by user provided Picard matrixThis involved
Add support for using -snes_mf_operator with SNESSetPicard()Applies Newton's method using matrix-free application of the true Jacobian, preconditioned by user provided Picard matrixThis involved adding (*computemffunction)(SNES,Vec,Vec,void*); to be used by the MatCreateSNESMF() operator when it is set and routines to work with the new function.The implementation requires maintaining a copy of the matrix that is filled by the users routine that computes the matrix at each matrix-vector product. The original matrix is used for constructing the preconditioner and therefor cannot be overwritten.Also dropped the requirement that the user provide a right hand side function to SNESSetPicard()Commit-type: feature, example/spend 8hThanks-to: Saransh Saxena <saransh.saxena5571@gmail.com>
Merge branch 'barry/2021-04-06/fix-bad-error-code-returns' into 'main'Fix bad error code returns in various places in PETScSee merge request petsc/petsc!3846
Fix code that did not pass appropriate PETSc error flags to SETERRQ()Add checkbadSource check for use of SETERRQ() without an appropriate error flagCommit-type: error-checking, bug-fix, testing-f
Fix code that did not pass appropriate PETSc error flags to SETERRQ()Add checkbadSource check for use of SETERRQ() without an appropriate error flagCommit-type: error-checking, bug-fix, testing-fix, style-fix/spend 2.5h
DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object- Boundary residual/Jacobian functions now take a form key- Now store DMLabel in DSBoundary- Im
DM+Plex: Boundary integration functions are now stored in a PetscWeakForm held in the Boundary object- Boundary residual/Jacobian functions now take a form key- Now store DMLabel in DSBoundary- Improved Boundary, Weak Form, and DS viewers- Remove DMCopyBoundary(), DMCopyDisc() is sufficient- Need DMTransferDS_Internal() to create new DS with label in the correct DM- Correct all DMAddBoundary() in tests- Allow DMBoundary to hold just a label name if necessary since p4est is missing labels in a lot of places- Fix propagating coordinate dimension in DS
Merge remote-tracking branch 'origin/release'
fix 'make check' for kokkos-kernelsCo-Authored-by: Junchao Zhang <jczhang@mcs.anl.gov>
use module instead of common block for PETSC_COMM_WORLD,SELFAnd run a fortran example in CI with F2008
Merge branch 'knepley/feature-dm-aux-data' into 'main'DM: Replace object composition with an API for auxiliary dataSee merge request petsc/petsc!3798
DM: Replace object composition with an API for auxiliary data - Now allow data to be tagged with a label+value - Do not separately require a DM and Vec, get the DM from the Vec
Introduce PCFactorSetDefaultOrdering_Factor() to allow each factorization packageto indicate its preferered ordering, which may be external (its own) or one of PETSc.This also affects factorizatio
Introduce PCFactorSetDefaultOrdering_Factor() to allow each factorization packageto indicate its preferered ordering, which may be external (its own) or one of PETSc.This also affects factorization like dense PETsc where the ordering passed in by PETSc is ignored and not needed.Also fixed options for MUMPS and SuiteSparse where users needed to pass a particular options database optionto the package (MUMP or KLU) indicating they should use the PETSc provided ordering. Now if the PETSc provided ordering is providedthese packages automatically use them without need a special option. This simplifies ordering usage for external packagesCommit-type: optimization, bug-fix, testing-fix, style-fix/spend 6h
Kokkos: set OMP_PROC_BIND to suppress Kokkos warnings
Merge remote-tracking branch 'origin/jczhang/add-DMDAVecGetKokkosOffsetView'Add DMDAVecGetKokkosOffsetView and friendsSee merge request petsc/petsc!3383
Merge branch 'knepley/feature-plex-ds-traversals' into 'main'DS: Moved management of pointwise functions into PetscWeakForm object - Added...See merge request petsc/petsc!3726
SNES ex23: Update to use DS keys to indicate domains
DMPLEX: fix GLVIS regression with mfem > 4.2
requires: defined -> requires: defineMost of these tests where deactivated in https://gitlab.com/petsc/petsc/-/merge_requests/3744
1...<<21222324252627