Merge branch 'psanan/docs-sphinx-man-pages' into 'main'Integrate Man Pages into Sphinx DocsCloses #1132 and #1015See merge request petsc/petsc!4989
Merge branch 'barry/2022-04-28/rm-petsccheckfalse-mat' into 'main'Remove the rest of the PetscCheckFalse() from the mat directorySee merge request petsc/petsc!5184
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 ...
Apply 2 suggestion(s) to 2 file(s)
Remove the rest of the PetscCheckFalse() from the mat directoryCommit-type: housekeeping/spend 45m
Merge branch 'barry/2020-07-28/superlu_dist-single' into 'main'Single precision support for SuperLU_DISTSee merge request petsc/petsc!5165
Merge branch 'barry/2020-10-08/invert-block-diagonal-aij' into 'main'add MatInvertVariableBlockEnvelopeSee merge request petsc/petsc!3544
Single precision support for SuperLU_DISTCommit-type: featureFunded-by: ECP/spend 1.5hReported-by: flw@rzg.mpg.deThanks-to: Xiaoye S. Li <xsli@lbl.gov>
Implement MatInvertVariableBlockEnvelope() with test exampleCommit-type: feature, example/spend 12hReported-by: Olivier Jamond <olivier.jamond@cea.fr>
Vec: support VecSetValuesCOO, VecSetPreallocationCOO etc
MatMPIAIJKokkos: use () instead of [] to access Kokkos Views
MatSeqAIJKokkos: avoid zero the matrix in MatSetValuesCOO
MatAIJCUSPARSE: make kernel functions static
Merge branch 'barry/2022-04-13/add-fortran-matcreateseqaijwitharrayexample/release' into 'main'Fix for PetscInitializeF(), make getautoconfargs, and added Fortran example that uses matcreateseqaijw
Merge branch 'barry/2022-04-13/add-fortran-matcreateseqaijwitharrayexample/release' into 'main'Fix for PetscInitializeF(), make getautoconfargs, and added Fortran example that uses matcreateseqaijwitharraysSee merge request petsc/petsc!5117
Turn on usage of MatCreateSeqAIJFromTriple() from FortranImprove documentation of MatCreateSeqAIJFromTriple()Commit-type: example,docs/spend 15m
Merge branch 'jczhang/revise-mat-coo' into 'main'Use different algorithms for local and remote COO entriesSee merge request petsc/petsc!5113
MATAIJ: use different algorithms for local and remote COO entries
configure: MUMPS 5.5.0
Enable PETSC_ATTRIBUTE_FORMAT()
Merge branch 'jolivet/rm-warning-elemental' into 'main'Elemental: ignore -Wused-but-unset-variableSee merge request petsc/petsc!5104
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
Elemental: ignore -Wused-but-unset-variable
Remove some PetscCheckFalse()
Add PETSC_STATIC_ARRAY_LENGTH
Merge branch 'barry/2022-03-30/strip-petscall-petsctrymethod' into 'main'Do not wrap PetscTryMethod() PetscUseMethod() in PetscCallSee merge request petsc/petsc!5051
1...<<31323334353637383940>>...265