| #
2286efdd
|
| 25-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-30/fix-matshellsetoperationarg' into 'main'
Complete usage of PetscVoidFn and PetscErrorCodeFn and introduce PetscFortranCallbackFn
See merge request petsc/petsc!8615
|
| #
57d50842
|
| 31-Jul-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **
|
| #
e9e3ce28
|
| 24-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-08-29/improve-ts-pseudo-performance' into 'main'
Optimize TSStep_Pseudo() for most common use case
See merge request petsc/petsc!8675
|
| #
5e9aba71
|
| 30-Aug-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Add `-petsc_viewer_stdout_format formatname` to allow initializing the format of `PETSC_VIEWER_STDOUT_()`
|
| #
67a21fd9
|
| 30-Aug-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Make PetscStackView() a public function
|
| #
fe7aa59f
|
| 22-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-08-31/fix-hypre-default-setting-reset-to-same' into 'main'
Fixes the bug with hypre whan user changes to parameters are ignored
See merge request petsc/petsc!8678
|
| #
8112c1cb
|
| 22-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-09-04/deprecate-mpiu-bool' into 'main'
Deprecate MPIU_BOOL which used to be for PETSc's enum Bool but now is just MPI_C_BOOL
See merge request petsc/petsc!8691
|
| #
4d81f786
|
| 01-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscOptionsBool3()
|
| #
5440e5dc
|
| 04-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Deprecate MPIU_BOOL which used to be for PETSc' enum Bool but now is just MPI_C_BOOL so no longer needs its own name
|
| #
6327175c
|
| 31-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'add-tao-get-constraints' into 'main'
Add getters for TAO constraint routines
See merge request petsc/petsc!8619
|
| #
1b741c34
|
| 31-Jul-2025 |
paul.kuehner <paul.kuehner@uni.lu> |
Add test for TAO constraint getters, and update changes/dev notes
|
| #
51b144c6
|
| 29-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/use-bool-instead-of-enum' into 'main'
use bool instead of enum
See merge request petsc/petsc!8528
|
| #
1dc74096
|
| 21-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
use standard bool instead of enum
PetscBool is equivalent to _Bool/bool in C
For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>. For C23, true and false are real keywor
use standard bool instead of enum
PetscBool is equivalent to _Bool/bool in C
For C standards prior to C23, true = 1 and false = 0 are defined in <stdbool.h>. For C23, true and false are real keywords.
The Fortran equivalent is logical(C_BOOL) with C_BOOL from ISO_C_binding.
The C and the C++ standard do not specify the size of Booleans, but they typically have a size of 1 Byte with b00000000 for false and b00000001 for true. When using compilers from the same vendor, it is sane to assume that _Bool/bool in C and bool in C++ are fully compatible. But that is not guaranteed by the standards
show more ...
|
| #
ad49c6e3
|
| 19-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
ensure that Fortran Bool is interoperable
The kind C_BOOL for logical from ISO_C_binding only defines the size of the logical as 1 Byte. It does not define which values (bit patterns) are used to en
ensure that Fortran Bool is interoperable
The kind C_BOOL for logical from ISO_C_binding only defines the size of the logical as 1 Byte. It does not define which values (bit patterns) are used to encode true and false. In stdbool.h from C, true is defined as 1 and false as 0, but these values are not guaranteed by the Fortran standard.
There are (at least) two contemporary Fortran compilers that use a difference convention: Intel Fortran (ifort and ifx) and NVIDIA Fortran (nvfortran, former PGI). Both represent true as all bits set, i.e. -1 for a signed integer or 255 for an unsigned integer.
Intel Fortran can be made interoperable with the "-standard-semantics" or "-fpscomp logicals". The latter is now set by default to ensure interoperability while avoiding effects such as modified name mangling rules and performance degradations due to the former.
NVIDIA Fortran can be made interoperable with the "-Munixlogical" flag. This is set manually in the "linux-cuda-single-cxx" pipeline. This is now set by default.
show more ...
|
| #
e0f7661e
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'sneslinesearch-improvements' into 'main'
SNESLinesearch: Minor improvements
See merge request petsc/petsc!8630
|
| #
a99ef635
|
| 27-Aug-2025 |
Jonas Heinzmann <jheinzmann@ethz.ch> |
SNESLinesearch: Minor improvements
- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respecti
SNESLinesearch: Minor improvements
- add missing configuration options in the documentation of the line searches (some of the available options were not listed), and consistently list their respective default values
- add proper convergence criteria for the secant method in the L2 line search based on ltol and atol (otherwise, the secant method is mostly running for the maximum number of iterations)
- fix a small bug in the CP line search, where steptol * lambda was used to check for convergence based on the change of lambda instead of the ltol parameter
- rename sneslinesearch->maxstep to sneslinesearch->maxlambda in the options database to be consistent with its purpose in the algorithms
- rename SNESLineSearchL2 to SNESLineSearchSecant to better represent its underlying approach
show more ...
|
| #
6ee04767
|
| 18-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/disable-fortran-bindings' into 'main'
configure: disable Fortran bindings of external packages by default
See merge request petsc/petsc!8647
|
| #
2061aaf1
|
| 17-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/test-run-opts' into 'main'
Test: Added EXTRA_OPTIONS_INITiAL to allow overridding of test options
See merge request petsc/petsc!8643
|
| #
c1139c55
|
| 17-Aug-2025 |
Matthew Knepley <knepley@gmail.com> |
Test: Added EXTRA_OPTIONS_INITIAL to allow overridding of test options - EXTRA_OPTIONS returns to its initial meaning
|
| #
eba371be
|
| 15-Aug-2025 |
Pierre Jolivet <pierre@joliv.et> |
configure: disable Fortran bindings of external packages by default
|
| #
38c49edf
|
| 11-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'zach/extern-plex-vec-get-oriented-closure' into 'main'
plex: Make DMPlexVecGetOrientedClosure externally visible
See merge request petsc/petsc!8637
|
| #
48162695
|
| 08-Aug-2025 |
Zach Atkins <zach.atkins@colorado.edu> |
plex: Make DMPlexVecGetOrientedClosure externally visible
|
| #
3c4208d8
|
| 08-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'danofinn/ts-add-avg-dg' into 'main'
TSDiscgrad: Adding average DG and -ts_discgrad_type option; Swarm: Changes to field swarm field functions
See merge request petsc/petsc!7920
|
| #
f940b0e3
|
| 27-Sep-2024 |
danofinn <dsfinn@buffalo.edu> |
TSDiscgrad: Adding average DG and -ts_discgrad_type option - Also fixed automatic particle number determination
FOO
|
| #
3622a28c
|
| 04-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-ksp-monitor-view' into 'main'
KSP: Add HDF5 monitor
See merge request petsc/petsc!8624
|