clang-format: convert PETSc sources to comply with clang-format
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
show more ...
remove garbage from makefilesIncluding * unused FLAGS variables * All: lib that did not work * stray blank lines etcCommit-type: housekeeping/spend 1h
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX
The great renaming:- CHKERRQ() -> PetscCall()- CHKERRV() -> PetscCallVoid()- CHKERRMPI() -> PetscCallMPI()- CHKERRABORT() -> PetscCallAbort()- CHKERRCONTINUE() -> PetscCallContinue()- CHKERRXX() -> PetscCallThrow()- CHKERRCXX() -> PetscCallCXX()- CHKERRCUDA() -> PetscCallCUDA()- CHKERRCUBLAS() -> PetscCallCUBLAS()- CHKERRCUSPARSE() -> PetscCallCUSPARSE()- CHKERRCUSOLVER() -> PetscCallCUSOLVER()- CHKERRCUFFT() -> PetscCallCUFFT()- CHKERRCURAND() -> PetscCallCURAND()- CHKERRHIP() -> PetscCallHIP()- CHKERRHIPBLAS() -> PetscCallHIPBLAS()- CHKERRHIPSOLVER() -> PetscCallHIPSOLVER()- CHKERRQ_CEED() -> PetscCallCEED()- CHKERR_FORTRAN_VOID_FUNCTION() -> PetscCallFortranVoidFunction()- CHKERRMKL() -> PetscCallMKL()- CHKERRMMG() -> PetscCallMMG()- CHKERRMMG_NONSTANDARD() -> PetscCallMMG_NONSTANDARD()- CHKERRCGNS() -> PetscCallCGNS()- CHKERRPTSCOTCH() -> PetscCallPTSCOTCH()- CHKERRSTR() -> PetscCallSTR()- CHKERRTC() -> PetscCallTC()
chkerr and friends wrapped
fix checkstack errors# > Invalid stack: push from MessageLoopThread_Win32, pop from PetscDrawCreate_Win32# > Invalid stack: push from PetscWndProc, pop from MessageLoopThread_Win32
Fix spelling errors in manpages and comments
Remove all double blank lines from sourceCommit-type: petsc-style/2h
Added classname to make CreateWindowEx() work. Fixed typo in error msg
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-t
Remove the use and definition of __FUNCT__ throughout the codeSince all modern C/C++ compilers provide this functionality we no longer need to provide it manually in PETScTime: 1.5 hoursThanks-to: Andreas Mang <andreas@ices.utexas.edu>
fix __FUNCT__ typo
windows: add gnu/mpich build to tests
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and func
Updated and simplified Fortran interfaceReduced from 4 distinct approaches to using PETSc from Fortran to 1No more .h90 files (Fortran 90 functionality is now always available)Parameters and function prototypes are now provide through Fortran modules, not includes;only #define are provided in the petscXXXdef.h filesPETSc objects can be declared as either type(tXXX) or XXX. For example type(tVec) or VecMoved now private Fortran include files out of public include directory since uses don't use them;they are only used to generate the Fortran modulesEasier to support and test; we can now easily add more function prototypesAlso had to rework generation of manual pages to consistently use MANSEC and SUBMANSECsince these variables also handle how the Fortran modules are generated.Time: 57 hours
PetscDraw: Huge API refactoring* Make PetscDraw{Clear|Flush}() routines collective functions and remove now redundant PetscDrawSyncronized{Clear|Flush}() routines* Make PetscDrawSave() collectiv
PetscDraw: Huge API refactoring* Make PetscDraw{Clear|Flush}() routines collective functions and remove now redundant PetscDrawSyncronized{Clear|Flush}() routines* Make PetscDrawSave() collective.* Make PetscDrawSetTitle() collective.* Update PetscDraw{Axis|SP|HG|Bar}, make most PetscDrawXXXSetYYY() routines either collective or logically collective* Update PetscViewerDraw accordingly* Update VecView_XXX_Draw[_DA_YYY]() and DMView_DA_XXX() accordingly
fixes for new PetscOptions.. API that are needed based on problems with nightly build
fix violations of PETSc style guide: Usage of SETERRQ and NULL
win32/draw: fix runtime error with src/dm/examples/tutorials/ex2
Draw: Fix Windows complaint about 'long int' vs. 'int'Reported-by: Mostafa Molaali <m.molaali@gmail.com>
updated PETSc directory layout to match standard packaging strategiesinclude/petsc finclude,private,mpiunilib/petsc confbin/petsc*
PetscDrawDestroy_XXX: Use PetscFree(draw->data)
manual merge of conflict
removed Tao use of antediluvian PETSC_C_BEGIN/END with PETSC_EXTERN for Tao implementation class constructors
Merge branch 'prbrune/removeunwrappedmathfunctions'* prbrune/removeunwrappedmathfunctions: Math: fix typo Added src/sys/examples/tests/ex25.c for PetscScalar and PetscReal wrapping. Wrapped t
Merge branch 'prbrune/removeunwrappedmathfunctions'* prbrune/removeunwrappedmathfunctions: Math: fix typo Added src/sys/examples/tests/ex25.c for PetscScalar and PetscReal wrapping. Wrapped tan(),[sin,cos,tan]h() for Real/Scalar, a[sin,cos,tan]() for Real. Wrapped math.h and quadmath.h functions used in petsc source exempting examplesConflicts: include/petscmath.h src/dm/dt/interface/dt.c src/ksp/ksp/impls/cg/stcg/stcg.c src/snes/linesearch/interface/linesearch.c src/ts/impls/explicit/rk/rk.c
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,
Sys: drop explicit type arguments from PetscNew() and PetscNewLog()git grep -l 'PetscNew\(Log\)\?(' -- $1 | xargs perl -pi -e 's@PetscNew\([^,;()]+ *, *@PetscNew(@;s@PetscNewLog\(([^,;()]+) *,[^,;()]+, *@PetscNewLog($1,@'
Wrapped math.h and quadmath.h functions used in petsc source exempting examples
123