| #
9b88ac22
|
| 29-Oct-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/improve-Fortran-examples' into 'main'
Improve Fortran examples
See merge request petsc/petsc!8698
|
| #
ceeae6b5
|
| 01-Oct-2025 |
Martin Diehl <mail@martin-diehl.net> |
remove labeled do loops
labeled do loops confused fprettify, so used it to rectify indentation
|
| #
c5e229c2
|
| 29-Sep-2025 |
Martin Diehl <mail@martin-diehl.net> |
place all the include statements at the top
Repeated inclusion in multiple location, e.g. at the start of a module or function is not needed. This becomes clear if all includes are outside of the ac
place all the include statements at the top
Repeated inclusion in multiple location, e.g. at the start of a module or function is not needed. This becomes clear if all includes are outside of the actual Fortran code. Added regex to check that with the help of @sbalay
show more ...
|
| #
edb0e59d
|
| 23-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-01/format-fortran-source-fprettify' into 'main'
format fortran source with fprettify
See merge request petsc/petsc!8514
|
| #
4820e4ea
|
| 23-Sep-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Run fprettify
|
| #
2ae2db35
|
| 14-Jul-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-02/fortran-fix-some-get-array' into 'main'
Fixes for some function calls from Fortran
See merge request petsc/petsc!8521
|
| #
e41f517f
|
| 02-Jul-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix for PCFieldSplitGetSubKSP and PCFieldSplitSchurGetSubKSP from Fortran
Includes test code
|
| #
6eff51de
|
| 04-Jul-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-02/fortran-no-semicolon-end-of-line' into 'main'
fortran no semicolon at end of line
See merge request petsc/petsc!8519
|
| #
ccfd86f1
|
| 04-Jul-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
fortran no semicolon at end of line
Remove all unneeded ; at end of Fortran source code line
Add checkbadSource to check for semicolon at the end of lines
|
| #
226f8a8a
|
| 20-May-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
165c2d34
|
| 20-May-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'
Remove use of preconditioning or preconditioner matrix when it should be...
See merge request petsc/pet
Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'
Remove use of preconditioning or preconditioner matrix when it should be...
See merge request petsc/petsc!8410
show more ...
|
| #
7addb90f
|
| 16-May-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove use of preconditioning or preconditioner matrix when it should be phrased as matrix used to construct preconditioner
|
| #
a623e290
|
| 12-Jun-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'
More improvements to Fortran stubs and interfaces
See merge request petsc/petsc!7598
|
| #
5d83a8b1
|
| 30-May-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of
This requires some changes to user FORTRAN code
Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v] Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX
The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above This will also require an update sowing with the new sowing branch this MR is using.
show more ...
|
| #
6c37f76f
|
| 27-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-log-handler' into 'main'
Deglobalize logging into PetscLogHandler and PetscLogState
See merge request petsc/petsc!6709
|
| #
2611ad71
|
| 14-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Profiling: Improve !defined(PETSC_USE_LOG) #defines
- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:
```c #if def
Profiling: Improve !defined(PETSC_USE_LOG) #defines
- If we cast macro arguments to void, we can avoid unused errors that have forced lots of conditionally included code like this:
```c #if defined(PETSC_USE_LOG) PetscLogEvent event; #endif ```
- Having global counters like petsc_TotalFlops externed event if !PetscDefined(USE_LOG) helps to remove a lot of needless `#ifdef`s around code that can instead be placed in `if (PetscDefined(USE_LOG)) {}` blocks.
show more ...
|
| #
c72397d7
|
| 25-May-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-05-14/add-fortran-petsccheck' into 'main'
Add PetscCheck() and PetscCheckA() for Fortran
See merge request petsc/petsc!6464
|
| #
dcb3e689
|
| 14-May-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscCheck() and PetscCheckA() for Fortran
Also fix incorrect use of " in Fortran examples that should be '
|
| #
540c0c32
|
| 02-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'
Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.
See mer
Merge branch 'barry/2022-05-24/add-petsccall-fortran-examples' into 'main'
Update all Fortran examples to modern error checking with PetscCallXXX() wrappers around PETSc/MPI function calls.
See merge request petsc/petsc!5271
show more ...
|
| #
d8606c27
|
| 24-May-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add modern error checking to rest of Fortran examples
/spend 2.5h
|
| #
c1bf08c5
|
| 06-Sep-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jose/spelling-errors' into 'main'
Fix many spelling errors in manpages and comments
See merge request petsc/petsc!4283
|
| #
a5b23f4a
|
| 03-Sep-2021 |
Jose E. Roman <jroman@dsic.upv.es> |
Fix spelling errors in manpages and comments
|
| #
c20d7725
|
| 22-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Merge branch 'jed/promote-examples-tests-tutorials' [petsc/petsc!2610]
* jed/promote-examples-tests-tutorials: Promote examples/{tests,tutorials}/ to {tests,tutorials}/
|
| #
c4762a1b
|
| 18-Mar-2020 |
Jed Brown <jed@jedbrown.org> |
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was compl
Promote examples/{tests,tutorials}/ to {tests,tutorials}/
This shortens paths and improves consistency between test target names and paths to the source and output files. Most of the work was completed by this script, followed by mild cleanup of nonconforming cases.
for makefile in `git ls-files 'src/*makefile'`; do if rg -q 'DIRS.*\bexamples\b' $makefile; then base=$(dirname $makefile) dirs=$(cd $base/examples && ls -d tests tutorials 2>/dev/null | xargs echo) perl -pi -e "s#^(DIRS.*)\bexamples\b#\1${dirs}#" $makefile git rm $base/examples/makefile for t in $dirs; do git mv $base/examples/$t $base/ perl -pi -e "s#^(LOCDIR[[:space:]]*=).*#\1 $base/$t/#" $base/$t done fi done
git grep -l -E -z 'examples/(tutorials|tests)' | xargs -0 perl -pi -e 's#examples/(tutorials|tests)#\1#g' git checkout @ \ src/docs/website/documentation/changes/ \ src/benchmarks/results/
show more ...
|