| 9bcc50f1 | 20-Jan-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
I never liked Jed's use of typedef for function prototypes for a couple of reasons
1) you don't see immediately tha
add typedef for functions passed to SNESSetFunction() etc to match approach in TS
I never liked Jed's use of typedef for function prototypes for a couple of reasons
1) you don't see immediately that the argument to the function is a function pointer instead of standard variable when looking at source 2) you don't see at the exact location in the code the prototype of the function being passed in
but there is something to say for using these typedefs so
I've prototyped the change for SNES but slightly differently than what Jed did for TS
1) I append the typedef with _Ftn to mark that it is a function (helping to relieve the problem 1 above) 2) I made the typedef to be for a function, not a function pointer so it can also be used directly for things like
PETSC_EXTERN SNESJacobian_Ftn SNESComputeJacobianDefault;
I think the TS usage could be switched to this style without user code breakage, and deprecate the current TS typedef
Thoughts?
Just do SNES the same way as TS and live with less clarity?
show more ...
|
| 729ad44d | 29-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jczhang/2024-01-29/fix-err-msg-vecreplacearray' into 'main'
Add better error message in the unsupported VecReplaceArray() after VecDuplicateVecs
Closes #1537
See merge request petsc/
Merge branch 'jczhang/2024-01-29/fix-err-msg-vecreplacearray' into 'main'
Add better error message in the unsupported VecReplaceArray() after VecDuplicateVecs
Closes #1537
See merge request petsc/petsc!7245
show more ...
|
| 2abc3324 | 29-Jan-2024 |
Junchao Zhang <jczhang@mcs.anl.gov> |
Vec: add better error message in the unsupported VecReplaceArray() on the first Vec got from VecDuplicateVecs()
close #1537 |
| 4abf1e65 | 29-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/feature-composite-as-shell' into 'main'
MatComposite, MatNormal, and MatHermitianNormal as a MatShell
See merge request petsc/petsc!7226 |
| d86a4816 | 29-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'adams/gamg-feature-injection' into 'main'
GAMG: add injection for C1 elements
See merge request petsc/petsc!7236 |
| 9fe70d43 | 26-Jan-2024 |
Pierre Jolivet <pierre@joliv.et> |
Docs: update change log |
| b65aec2d | 26-Jan-2024 |
Mark Adams <mfadams@lbl.gov> |
gamg: adding injection restriction/prolongation (for C1 elements) |
| e4d5475e | 25-Jan-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPLEX: handle material parameters in subdomain callbacks
Add DMClearAuxiliaryVec |
| 10af620d | 24-Jan-2024 |
Matthew G. Knepley <knepley@gmail.com> |
DM+DS: Function to sync DS labels based on names |
| 86792229 | 24-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/matproduct-getalgorithm' into 'main'
Add missing interface function MatProductGetAlgorithm()
See merge request petsc/petsc!7225 |
| 8fcac130 | 23-Jan-2024 |
Jose E. Roman <jroman@dsic.upv.es> |
Add missing interface function MatProductGetAlgorithm() |
| 976ed0a4 | 23-Jan-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
VecISXXX: always require IS argument to be non NULL
add collectiveness specification to docs |
| 8c3d2d81 | 10-Jan-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Vec: add VecISShift |
| 3ac0285d | 17-Jan-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlexDistribute: sort ranks for migration
add boolean flat to DMPlexPartitionLabelCreateSF arguments update tests |
| be664eb1 | 20-Jan-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Rework coordinate maps - Add DMPlexCoordMap and some default maps - Allow mapping to be done from DMSetFromOptions() - Reimplemented DMPlexShearGeometry() - Added affine fallback to DMPlexRemap
Plex: Rework coordinate maps - Add DMPlexCoordMap and some default maps - Allow mapping to be done from DMSetFromOptions() - Reimplemented DMPlexShearGeometry() - Added affine fallback to DMPlexRemapGeometry()
show more ...
|
| d02c7345 | 12-Jun-2023 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Allow section reordering by default - Add DMPlexReorderSectionGetDefault() and DMPlexReorderSectionGetDefault() - Allow default reordering for sections the can group points - Bigger blocks gene
Plex: Allow section reordering by default - Add DMPlexReorderSectionGetDefault() and DMPlexReorderSectionGetDefault() - Allow default reordering for sections the can group points - Bigger blocks generate a variable block size description - Add -dm_plex_reorder_section
show more ...
|
| 3ec46b7b | 12-Jun-2023 |
Matthew G. Knepley <knepley@gmail.com> |
Section: Add PetscSectionGetBlockStarts() and PetscSectionSetBlockStarts() |
| cd0b497e | 12-Jan-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Vec: add missing collective checks for scalars
fix tests |
| 7345e615 | 11-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/enable-ubsan' into 'main'
Proper UBSan suppression file and last fixes
See merge request petsc/petsc!7166 |
| 0f643408 | 10-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release' |
| 3c4b05c5 | 10-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'blanca/mat-mult-hermitian-transpose' into 'main'
Support for MatMultHermitianTranspose with MATDENSE, MATNEST and MATSCALAPACK
See merge request petsc/petsc!7171 |
| de034eb5 | 09-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'thecasterian/dmstag-local-to-local' into 'main'
DMStag: support local-to-local operations, add ex53 to test
See merge request petsc/petsc!7145 |
| 54d37d90 | 09-Jan-2024 |
Jeongu Kim <souldomination@gmail.com> |
DMStag: implement local-to-local, add ex53 to test |
| 82519cb1 | 08-Jan-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Add missing () in docs function name |
| 0f09fa89 | 09-Jan-2024 |
Blanca Mellado Pinto <bmelpin@dsic.upv.es> |
Update changelog |