| #
62a9de01
|
| 08-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/feature-matschurcomplementainvtype-full' into 'main'
MatSchurComplementAinvType: add full to keep A00
See merge request petsc/petsc!5504
|
| #
9399e4fd
|
| 08-Aug-2022 |
Pierre Jolivet <pierre@joliv.et> |
MatSchurComplementAinvType: add full to keep A00
|
| #
d5d36105
|
| 05-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/objpython-gettype' into 'main'
petsc4py: implement getters for python type
See merge request petsc/petsc!5417
|
| #
ebead697
|
| 11-Jul-2022 |
Stefano Zampini <stefano.zampini@gmail.com> |
petsc4py: implement getters for python type
|
| #
a0c18434
|
| 12-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-06-09/add-clear-names-no-ksp-linesearch' into 'main'
Add KSPNONE as alias for KSPPREONLY and SNESLINESEARCHNONE for SNESLINESEARCHBASIC
See merge request petsc/petsc!5326
|
| #
3c2be86c
|
| 09-Jun-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add KSPNONE as alias for KSPPREONLY
Commit-type: usability /spend 15m
|
| #
fe98ec71
|
| 11-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/gdsw-mg' into 'main'
Implement AGDSW coarse spaces for PCMG
See merge request petsc/petsc!5256
|
| #
2b3cbbda
|
| 09-May-2022 |
Stefano Zampini <stefano.zampini@gmail.com> |
PCMG: prepare for GDSW
|
| #
6ffe77ea
|
| 12-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-05-03/cleanup-makefiles' into 'main'
remove unneeded stuff from makefiles
See merge request petsc/petsc!5211
|
| #
70719257
|
| 10-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'psanan/docs-seealso-formatting' into 'main'
Docs: Fix man page .seealso entries missing spaces after commas
Closes #1176
See merge request petsc/petsc!5202
|
| #
ac09b921
|
| 05-May-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Get values of makefile SOURCE etc from the file system instead of makefiles
Use SUBMANSEC from include files for manual sections instead of the makefile
Unfortunately this has to be one large commi
Get values of makefile SOURCE etc from the file system instead of makefiles
Use SUBMANSEC from include files for manual sections instead of the makefile
Unfortunately this has to be one large commit since the changes all have to be done at once
Commit-type: docs /spend 10m
show more ...
|
| #
c2e3fba1
|
| 03-May-2022 |
Patrick Sanan <patrick.sanan@gmail.com> |
Docs: Fix man page .seealso entries missing spaces after commas
```python
import os import re import fileinput
START_PATTERN = re.compile(r"^( *\.seealso:? )(.*$)") FIX_PATTERN = re.compile(r",([^
Docs: Fix man page .seealso entries missing spaces after commas
```python
import os import re import fileinput
START_PATTERN = re.compile(r"^( *\.seealso:? )(.*$)") FIX_PATTERN = re.compile(r",([^ $\n])")
def _fix_comma(matchobj): return "`, `%s" % matchobj.group(1)
def process_file(filename_full): """ Find/fix commas w/o trailing spaces or newlines in .seealso blocks """ with fileinput.FileInput(filename_full, inplace=True) as the_file: in_block = False for line in the_file: line_stripped = line.strip() # end ".seealso blocks" on a blank line or C-style comment close 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: in_block = True if in_block: if re.search(FIX_PATTERN, line): line_fixed = re.sub(FIX_PATTERN, _fix_comma, line) print(line_fixed, end="") # prints to file else: print(line, end="") # prints to file else: print(line, end="") # prints to file
BASE_DIRS = ["src", "include"] EXT = [".c", ".cxx", ".cpp", ".cu", ".h", ".hpp", ".hxx"] EXCLUDE_DIRS = ["tests", "tutorials", "ftn-auto", "ftn-custom", "benchmarks"]
def main(): """ Process files in local tree(s) """ 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) 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 ...
|
| #
89669be4
|
| 02-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'psanan/docs-sphinx-man-pages' into 'main'
Integrate Man Pages into Sphinx Docs
Closes #1132 and #1015
See merge request petsc/petsc!4989
|
| #
db781477
|
| 25-Apr-2022 |
Patrick Sanan <patrick.sanan@gmail.com> |
Docs: bulk add backticks to .seealso man page fields
```python import os import re import fileinput
def _process_word(word): comma = "," if word.endswith(",") else "" return "`%s`%s" % (wor
Docs: bulk add backticks to .seealso man page fields
```python import os import re import fileinput
def _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 file
BASE_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 ...
|
| #
eadff18f
|
| 18-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/avoid-dangling-else' into 'main'
[PC|KSP]HPDDM: spring cleaning
See merge request petsc/petsc!5035
|
| #
6cac28cb
|
| 03-Apr-2022 |
Pierre Jolivet <pierre@joliv.et> |
KSPHPDDM: deprecation notice for DeflationSpace()
|
| #
26ef77f3
|
| 18-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/fix-doc' into 'main'
CI: update target 'manualpages' to abort on error - and fix all doc issues
See merge request petsc/petsc!4979
|
| #
67b8a455
|
| 15-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
doc: more fixes to remove build warnings
|
| #
20200662
|
| 14-Mar-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/feature-ksphpddm-precision' into 'main'
KSPHPDDM: add -ksp_hpddm_precision [single|double]
See merge request petsc/petsc!4836
|
| #
2dd49c90
|
| 10-Feb-2022 |
Pierre Jolivet <pierre@joliv.et> |
KSPHPDDM: add -ksp_hpddm_precision [single|double]
|
| #
c8d0e85a
|
| 17-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'feature-fischerguess-3' into 'main'
Add a new initial guess routine
See merge request petsc/petsc!4777
|
| #
8410009b
|
| 28-Jan-2022 |
David Wells <drwells@email.unc.edu> |
Add KSPGuessSetTolerance().
This sets up the tolerance used by POD and the upcoming Fischer variant.
|
| #
1241a243
|
| 13-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-01-05/c99' into 'main'
Feature: C99 and C++11
See merge request petsc/petsc!4700
|
| #
9fbee547
|
| 03-Feb-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
deprecate PETSC_STATIC_INLINE
|
| #
3954072e
|
| 13-Jan-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jiao/ksp-qmrcgstab' into 'main'
KSP: Added qmrcgstab with right preconditioning
See merge request petsc/petsc!4157
|