| #
834855d6
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-21' into 'main'
clang-format-21
See merge request petsc/petsc!8202
|
| #
ac530a7e
|
| 03-Jun-2025 |
Pierre Jolivet <pierre@joliv.et> |
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\
Remove unnecessary braces around one-liners
git grep -lE "[ ]*(if|for|while) \(.*\) {[^;]*;[^;]*}$" -- '*.c' '*.cxx' '*.cu' '*.h' '*.hpp' '*.cpp' | xargs sed -i '' -E 's#([ ]*)(if|for|while) \((.*)\) {([^;]*);([^;]*)}$#\1\2 \(\3\)\4;\5#'
show more ...
|
| #
bcda9346
|
| 27-Aug-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/fix-typo' into 'main'
missing "s" for isascii and issundials
See merge request petsc/petsc!8559
|
| #
9f196a02
|
| 17-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
missing "s" for isascii and issundials
|
| #
2b338477
|
| 03-Jul-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MarDiehl/1781-unify-type-of-setupcalled-to-petscbool' into 'main'
Use PetscBool instead of PetscInt for setupcalled
See merge request petsc/petsc!8495
|
| #
371d2eb7
|
| 03-Jul-2025 |
Martin Diehl <mail@martin-diehl.net> |
Use PetscBool instead of PetscInt for setupcalled
PetscInt was used in some structs, but the underlying logic requires only Booleans. Also removed an unused variable and unified capitalization.
|
| #
6d8694c4
|
| 20-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'
Major updates to Fortran interface
See merge request petsc/petsc!7517
|
| #
ce78bad3
|
| 20-Feb-2025 |
Barry Smith <bsmith@petsc.dev> |
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous versions! - also clean up inconsistent PETSc code detected by new Fortran generation tools - drop use of bfort - automatically generate all the Fortran PETSc objects, enums etc from the include files - generate most of the Fortran interface definitions and functions from the source code - simplify the number and organization of Fortran modules
Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>
show more ...
|
| #
be37439e
|
| 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/useless-cast' into 'main'
Remove useless cast
See merge request petsc/petsc!7894
|
| #
835f2295
|
| 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Brain dead fixes for useless casts
|
| #
d8e47b63
|
| 17-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'
Compiler finds (and forbid) casts from higher precision integers to lower
See merge request petsc/petsc!7806
|
| #
dd460d27
|
| 10-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fixes for clang-tidy
|
| #
970231d2
|
| 07-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-18' into 'main'
clang-format version 18
See merge request petsc/petsc!6902
|
| #
00045ab3
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove carriage return in Petsc(Assert|Check)()
git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'
Suggested-by: Stefan
Remove carriage return in Petsc(Assert|Check)()
git grep -l -E "Petsc(Assert|Check)\(.*\\\n\"[,)]" | xargs sed -r -i'' 's#Petsc(Assert|Check)\((.*)\\n"([,)])#Petsc\1\(\2\"\3#g'
Suggested-by: Stefano Zampini
show more ...
|
| #
f4f49eea
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g' git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g' git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
show more ...
|
| #
4d86920d
|
| 10-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
checkbadSource: rules for PetscFunctionBegin and derivatives
|
| #
1f5f95ac
|
| 03-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-plex-create-and-view' into 'main'
Fixes for Plex creation and viewing
See merge request petsc/petsc!7159
|
| #
85036b15
|
| 03-Jan-2024 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Correct misspelling
|
| #
57a85133
|
| 05-Sep-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-petscfe-vector-in-use' into 'main'
Use PETSCFEVECTOR throughout Petsc
See merge request petsc/petsc!6833
|
| #
2dce792e
|
| 14-Aug-2023 |
Toby Isaac <toby.isaac@gmail.com> |
PetscFE: add PETSCFEVECTOR
Reductions in the cost of computing, storing, and applying a Tabulation can be achieved for a finite element space that is a vector of "scalar" finite elements (the "scala
PetscFE: add PETSCFEVECTOR
Reductions in the cost of computing, storing, and applying a Tabulation can be achieved for a finite element space that is a vector of "scalar" finite elements (the "scalar" element itself could be vector-valued).
Reductions in the cost of storing and applying a Tabulation can't be realized until the PetscTabulation structure itself is changed, but at the very least reduction in the cost of computing a tabulation is possible with a new PetscFEType, PETSCFEVECTOR.
To complete the interface, we also add PETSCDUALSPACESUM, a dual space whose dual basis is the sum of other dual bases, that parallels PETSCSPACESUM (the space and dual space of a PETSCFEVECTOR are a PETSCSPACESUM and PETSCDUALSPACESUM, respectively).
To allow the user to specify whether the basis vector and value components of the PETSCFEVECTOR of blockwise or interleaved, we also have to make sure PETSCSPACESUM and PETSCDUALSPACESUM can have blockwise or interleaved behavior. We add both capabilities.
PETSCFEVECTOR is now used by detecting compatible vector-valued dual and primal spaces in PetscFECreateFromSpaces().
show more ...
|