Swarm ex12: Tests for DMDA periodic point location
Swarm: Uniform coordinates should use the bounding box
Remove extra "" after format specifier ending a stringgit grep -l -E "_FMT \"\"," | xargs sed -r -i'' 's#_FMT \"\",#_FMT,#g'
Remove multiple parentheses and extra semicolongit 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 semicolongit 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 ...
checkbadSource: rules for PetscFunctionBegin and derivatives
Swarm: View should only set timestep if it is active
Swarm ex11: Tests for multicomponent projection
Swarm: Generalize projection to multiple components- Generalize mass matrix to multiple components- Add DMSwarmGetFieldInfo()- Add DMSwarmVectorGetField()
Swarm: Add continuous DM argument to DMSwarmProjectFields()
Merge branch 'knepley/fix-plex-io-section-perm' into 'main'Plex: Flexible creation of section permutationsSee merge request petsc/petsc!7258
Plex: Flexible creation of section permutations- Add createsectionpermutation to DM ops- Change DMPlexReorderDefaultFlag to DMReorderDefaultFlag- Move DMReorderDefaultFlag to the correct headerA
Plex: Flexible creation of section permutations- Add createsectionpermutation to DM ops- Change DMPlexReorderDefaultFlag to DMReorderDefaultFlag- Move DMReorderDefaultFlag to the correct headerApply 1 suggestion(s) to 1 file(s)
Swarm: Make the particle mass matrix compatible with FV
Change the use of the _Fn suffix to indicate a typedef of a function to just FnAs determined on a vote on GitLab
Update `PetscSimplePointFunc` to new naming convention `PetscSimplePoint_Fn`Commit-type: housekeeping
Merge branch 'barry/2024-01-03/docs-c2html' into 'main'Remove recursive build of c2html files; no longer uses classic makefilesSee merge request petsc/petsc!7167
Use < instead of " for includes of PETSc include filesAnd Remove unneeded duplicate includesCo-Authored-by: Jose Roman <jroman@dsic.upv.es>
Fix "Extra spaces in test harness rules" in checkbadSource
First batch of fixes
Merge branch 'barry/2023-12-22/rm-libbase' into 'main'LIBBASE is no longer used in make so remove itSee merge request petsc/petsc!7139
LIBBASE is no longer used in make so remove it
Remove MANSEC from makefiles it is not needed in, tutorials and tests
DMPLEXSNES: support objective functions
Fix PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptio
Fix PetscOptionsGetViewer() so it works in a thread-safe wayWhen PetscOptionsGetViewer() returns, for example, PETSC_VIEWER_STDOUT_SELF the same object is sharedby all threads that call PetscOptionsGetViewer(). In the previous code PetscObjectReference() anddereference (via PetscViewerDestroy() where called on the viewer by multiple threads after the viewerwas accessed thus corrupting the object.This branch introduces a PetscOptionsRestoreViewer() that allows not doing the referencing and dereferencingon persistant viewers, thus removing the specific race condition above.Other possible solutions includeUse a lock on each PetscObjectReference/Dereference() just in case they are shared. Could be time consuming so onecould mark each object as either threadshared or independent and only do the locks on threadshared objects. This lowersthe cost but would require more extensive changes to PETSc infrastructure. And I do not know if this shared/not shared modelis what we need in the long run, though it might be.
Merge remote-tracking branch 'origin/release'
Skip CI tests that are broken due to thread safety
12345678910>>...23