| #
21c92275
|
| 13-Mar-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Partitioner: Support edge weights - They are simple integers in a Section - Appears to work with ParMetis
|
| #
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
|
| #
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 ...
|
| #
164282b9
|
| 23-Jan-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/dmplexforest' into 'main'
Updates to DMPLEX and DMFOREST
See merge request petsc/petsc!7217
|
| #
3ac0285d
|
| 17-Jan-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPlexDistribute: sort ranks for migration
add boolean flat to DMPlexPartitionLabelCreateSF arguments update tests
|
| #
e6053022
|
| 02-Dec-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-11-21/fix-thread-safety-petscoptionsgetviewer' into 'main'
Fix PetscOptionsGetViewer() so it works in a thread-safe way
See merge request petsc/petsc!7047
|
| #
cd791dc2
|
| 21-Nov-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe way
When PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is shared by all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() and dereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewer was accessed thus corrupting the object.
This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencing on persistant viewers, thus removing the specific race condition above.
Other possible solutions include
Use a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so one could mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowers the cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared model is what we need in the long run, though it might be.
show more ...
|
| #
4979242e
|
| 09-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-08/lint-apply-dm' into 'main'
Manual DM Linter Fixes
See merge request petsc/petsc!6792
|
| #
a4e35b19
|
| 08-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Manual linter fixes: dm
|
| #
cfd92c66
|
| 22-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'
Implement a type generic PetscValidPointer
See merge request petsc/petsc!6693
|
| #
4f572ea9
|
| 18-Jul-2023 |
Toby Isaac <toby.isaac@gmail.com> |
Rename PetscValidPointer -> PetscAssertPointer
|
| #
02477ebb
|
| 15-Jul-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'
Enable docs linting
See merge request petsc/petsc!6667
|
| #
60225df5
|
| 12-Jul-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Lint apply: dm
|
| #
8c38e02a
|
| 03-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
4ff55f77
|
| 01-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-05-27/improve-tutorials/release' into 'release'
Minor cleanup of website tutorials
See merge request petsc/petsc!6520
|
| #
75970e76
|
| 30-May-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
1cc06b55
|
| 27-May-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
change to consistent use of ch_xxx for chapter names in the docs, instead of a mix of ch_xx and chapter_xx
|
| #
37efeb20
|
| 29-May-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/fix-dmplexview-vtk' into 'release'
DMPlex: add VTK tests
See merge request petsc/petsc!6500
|
| #
a5a714f4
|
| 25-May-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
DMPLEX: must use MPI_MAX with ints
|
| #
49154744
|
| 22-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
d7849d59
|
| 20-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-petsccallmpi' into 'release'
Fix PetscCallMPI(MPI_Allreduce()) with PETSc types
See merge request petsc/petsc!6348
|
| #
712fec58
|
| 19-Apr-2023 |
Pierre Jolivet <pierre@joliv.et> |
Fix PetscCallMPI(MPI_Allreduce()) with PETSc types
|
| #
80f6d96d
|
| 01-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
08eaad2d
|
| 01-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-typos-portability' into 'release'
Fix typos, portability issues, segmentation fault
See merge request petsc/petsc!6267
|
| #
aaa8cc7d
|
| 31-Mar-2023 |
Pierre Jolivet <pierre@joliv.et> |
Fix some documentation and typos
|