Merge branch 'jolivet/feature-auto-assemble-matmpidense' into 'main'MatDense: mark as assembled by defaultSee merge request petsc/petsc!5157
Docs: bulk add backticks to .seealso man page fields```pythonimport osimport reimport fileinputdef _process_word(word): comma = "," if word.endswith(",") else "" return "`%s`%s" % (wor
Docs: bulk add backticks to .seealso man page fields```pythonimport osimport reimport fileinputdef _process_word(word): comma = "," if word.endswith(",") else "" return "`%s`%s" % (word.rstrip(","), comma)def _process_stripped_line(line): return " ".join(map(_process_word, line.split()))start_pattern = re.compile(r"^( *\.seealso:? )(.*$)")def process_file(filename_full): with fileinput.FileInput(filename_full, inplace=True) as f: in_block = False for line in f: line_stripped = line.strip() # end ".seealso blocks" on a blank line or C-style comment close line_modified = None if not line_stripped: in_block = False elif line_stripped.endswith("*/"): in_block = False else: match = re.match(start_pattern, line) # not stripped line if match: indent = " " * len(match.group(1)) in_block = True line_modified = match.group( 1) + _process_stripped_line( match.group(2).strip()) elif in_block: line_modified = indent + _process_stripped_line( line_stripped) if line_modified: print(line_modified) # prints to the file else: print(line, end="") # prints to the fileBASE_DIRS = ["src", "include"]EXT = [".c", ".cxx", ".cpp", ".cu", ".h", ".hpp", ".hxx"]EXCLUDE_DIRS = ["tests", "tutorials", "ftn-auto", "ftn-custom", "benchmarks"]def main(): """ Process everything """ for base in BASE_DIRS: for root, dirs, files in os.walk(base): for filename in files: if os.path.splitext(filename)[1] in EXT: filename_full = os.path.join(root, filename) print("FILE ---", filename_full) process_file(filename_full) for exclude_dir in EXCLUDE_DIRS: if exclude_dir in dirs: dirs.remove(exclude_dir)if __name__ == "__main__": main()```
show more ...
Docs: remove " (for list of available types)" comments from man page .seealso lists
Docs: update PCFIELDSPLIT man page with MyST syntax
Implement MatInvertVariableBlockEnvelope() with test exampleCommit-type: feature, example/spend 12hReported-by: Olivier Jamond <olivier.jamond@cea.fr>
MatDense: remove unneeded MatAssemblies
Update docs for the Jacobi manual pages linking bjacobi, pbjacobi, vpbjacobi, and bjacobiCommit-type: documentation/spend 5mDevelopment Tools: Vim, Emacs, Eclipse
Merge branch 'jolivet/avoid-dangling-else' into 'main'[PC|KSP]HPDDM: spring cleaningSee merge request petsc/petsc!5035
Merge remote-tracking branch 'origin/release'
PCHPDDM: add PCHPDDMSetDeflationMat()
[PC|KSP]HPDDM: convert some SETERRQ to PetscCheck
PCBDDC: typo in comparison
Remove all use of PetscCheckFalse from ksp directoryCommit-type: housekeeping/spend 30m
Enable PETSC_ATTRIBUTE_FORMAT()
PCASM: print subdomains after MatIncreaseOverlap()
PCSPAI: Add python bindingsRemove native types from public PETSc functions
Cleanup of introduction of PetscCall()* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()* rename for consistency certain XXXBegin()/End() macros such as Mat
Cleanup of introduction of PetscCall()* remove bogus error flags from XXXBegin()/End() macros such as PetscOptionsBegin()/End()* rename for consistency certain XXXBegin()/End() macros such as MatPreallocateInitialize()/Finalize()* fix many lingering ierr = XXX that arose from multiline function calls* sync slepc/hpddm - to use snapshots with the same changesCommit-type: error-checking, style-fix/spend 8h
Remove contrib directory to remove PETSc fun3dJust not worth the hassle to maintain/spend 5m
Merge branch 'psanan/docs-remove-concepts' into 'release'Docs: remove ConceptsSee merge request petsc/petsc!5065
Docs: remove "Concepts:" and related comments in /*T .. T*/ blocksRemove all \*T ... comment blocks with e.g. cd src && find . -type f -exec sed -i '/^[! ] *\/\*T$/,/^[! ]*T\*\/$/d' {} \;Clea
Docs: remove "Concepts:" and related comments in /*T .. T*/ blocksRemove all \*T ... comment blocks with e.g. cd src && find . -type f -exec sed -i '/^[! ] *\/\*T$/,/^[! ]*T\*\/$/d' {} \;Clean up resulting double blank lines with e.g. cd src && find . type f \( -name "*.c" -o -name "*.cxx" -o -name "*.F" -o -name "*.F90" \) -exec sh -c "cat -s {} > tmp && mv tmp {}" \;Manually revert those changes from the vendored code (src/sys/yaml)Manually restore a few comments from these blocks.Manually remove "Concepts:" and "Processors:" comments from fileswhich have these outside of "\*T" blocks automatically deleted above.
Remove some PetscCheckFalse()
Merge branch 'adams/gamg-timers-benchmarks' into 'main'Adams/gamg timers benchmarksSee merge request petsc/petsc!5032
1...<<31323334353637383940>>...210