checkbadSource: enforce proper style in makefiles
Convert some SETERRQ() to PetscCheck()
missing "s" for isascii and issundials
Use PetscBool instead of PetscInt for setupcalledPetscInt was used in some structs, but the underlying logic requires only Booleans. Also removed an unused variable and unified capitalization.
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 modulesCo-authored-by: Jose E. Roman <jroman@dsic.upv.es>
show more ...
Brain dead fixes for useless casts
Remove unneeded parentheses
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MINCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MINCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
Typos
PetscSpace: Improve doc for trimmed spaces, with de Rham complex examples
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
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'
checkbadSource: rules for PetscFunctionBegin and derivatives
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
Rename rules.doc and rules.utils because GitLab treats the former as a MS Word document.Thanks-to: Jed Brown
Remove DIRS variable and unneeded tabs from all makefiles since no longer neededCommit-type: housekeeping
PetscFE: add PETSCFEVECTORReductions in the cost of computing, storing, and applyinga Tabulation can be achieved for a finite element spacethat is a vector of "scalar" finite elements (the "scala
PetscFE: add PETSCFEVECTORReductions in the cost of computing, storing, and applyinga Tabulation can be achieved for a finite element spacethat is a vector of "scalar" finite elements (the "scalar"element itself could be vector-valued).Reductions in the cost of storing and applyinga Tabulation can't be realized until the PetscTabulation structureitself is changed, but at the very least reduction in the cost ofcomputing 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 ofa PETSCFEVECTOR are a PETSCSPACESUM and PETSCDUALSPACESUM,respectively).To allow the user to specify whether thebasis vector and value components of the PETSCFEVECTORof blockwise or interleaved, we also have to make surePETSCSPACESUM and PETSCDUALSPACESUM can have blockwiseor interleaved behavior. We add both capabilities.PETSCFEVECTOR is now used by detecting compatiblevector-valued dual and primal spaces in PetscFECreateFromSpaces().
Manual linter fixes: dm
Rename PetscValidPointer -> PetscAssertPointer
Deploy new PetscValidPointer, remove PetscValidXXXPointer
Lint apply: dm
Fix trivial typos etc in some manual pagesAlso remove manual page for SNESNGSFunction since it does not exist
Improve PetscSpace and PetscDualSpace manual pagesFew things needed from MattCommit-type: documentation
12345