Merge branch 'jacobf/2022-09-18/misc-minor-fixups' into 'main'Minor FixesSee merge request petsc/petsc!5651
Reformat VecValidValues() so emacs fontification doesn't choke on it, and renamed to VecValidValues_Internal()
Remove parent, parentid, flops, time, mem, and memchildren. Deprecate PetscLogObjectParent(), PetscLogObjectMemory(), and PetscNewLog()
makefile: fix typo - petsckdir.mk -> petscdir.mk
Fix/update/improve manual pages in snes directoryMinor changes to source codeCommit-type: housekeeping, documentation/spend 8h
Remove incorrect use of PetscFunctionReturn(nonzero integer value). Add this rule to the developers guideCommit-type: house-keeping/spend 1hReported-by: Pierre Jolivet
Remove braces from one-liners w/o PetscCall()
Remove braces from one-liners
clang-format: convert PETSc sources to comply with clang-format
Convert setfromoptions methods over to PetscTryTypeMethod() approachFlipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them co
Convert setfromoptions methods over to PetscTryTypeMethod() approachFlipped the order of the arguments for the function pointers (*setfromoptions)(PetscOptionItem*,obj); and friends to make them consistent with PetscTryTypeMethod() and all the other methodsCommit-type: refactorization/spend 4h
show more ...
Remove the no longer needed PetscCheck(a->ops->y...Commit-type: error-checking, housekeeping/spend 10mDevelopment Tools: Vim, Emacs, Eclipse
context - wrap context in PetscContainer, add user context destroy routines for MatShell, DMSNES/DMTS function and jacobian
Fix several callbacks to properly use the PetscCallBack() mechanismCommit-type: error-checking, housekeeping/spend 10mReported-by: Jose E. Roman
Cleanup and unify naming of PetscCall routinesCommit-type: housekeeping/spend 10m
Fix handling of PetscStack for callback functions and external package calls (and update slepc in sync)Information was often wrong; incorrect filenames and line numbers removedAlso unified naming
Fix handling of PetscStack for callback functions and external package calls (and update slepc in sync)Information was often wrong; incorrect filenames and line numbers removedAlso unified naming for callback function stack framesCommit-type: error-checking, debugability/spend 2h
Improve manual pages and manual for SNES problems with domain errors or box constraintsCommit-type: docs/spend 10mReported-by: Jacob Simon Merson <mersoj2@rpi.edu>
Change if () { PetscCall() } three liner and friends to one linersfor i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\
Change if () { PetscCall() } three liner and friends to one linersfor i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$[ ]*}\$?\1if (\2) PetscCall(\3$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done for i in `git ls-files | grep "\.[hc]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ }else]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$\([ ]*\)} \([- ._+=a-z0-9A-Z>*,()]*);\)\$?\1if (\2) PetscCall(\3$\4\5$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; doneYes, really ugly but Barry still cannot master awkCommit-type: housekeeping
TaoSetType: Do not destroy gradient and stepdirection vectorsDefer KSPDestroy to those methods that actually creates a KSPLeave linesearch destroy, since it may be solver dependent
TAO: add support for Eisenstat and Walker trick for KSP
Merge branch 'barry/2022-05-03/cleanup-makefiles' into 'main'remove unneeded stuff from makefilesSee merge request petsc/petsc!5211
Merge branch 'barry/2022-05-05/improve-specificmonitor-manpages' into 'main'Improve monitor manual pagesSee merge request petsc/petsc!5227
Improve monitor manual pages
Merge branch 'psanan/docs-seealso-formatting' into 'main'Docs: Fix man page .seealso entries missing spaces after commasCloses #1176See merge request petsc/petsc!5202
Allow PCH2OPUS with SNES MFFD
Add -include */petscdir.mk to makefile that lacked itfor i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do echo $i ; str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makef
Add -include */petscdir.mk to makefile that lacked itfor i in `git ls-files | grep makefile | xargs grep -L petscdir.mk`; do echo $i ; str=`echo $i |sed -e 's?[-a-zA-Z0-9]*/?../?g' -e 's?makefile?petsckdir.mk?g'` ; cp $i tmp echo "-include $str" > $i cat tmp >> $idoneCommit-type: makefile, housekeeping/spend 15m
12345678910>>...74