| #
4fb89ddd
|
| 01-Jul-2022 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Instead of forcing periodic coordinates to [0, L], it should be [lower, lower + L]
|
| #
91e96481
|
| 28-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-periodic-separation' into 'main'
Fix periodicity for higher order coordinates
See merge request petsc/petsc!5333
|
| #
6858538e
|
| 11-Jun-2022 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Reorganized periodic coordinates into a separate representation - Split coordinates into two representations - No longer specify the boundary type for periodicity. We can tell if a given boundary
DM: Reorganized periodic coordinates into a separate representation - Split coordinates into two representations - No longer specify the boundary type for periodicity. We can tell if a given boundary is periodic by a positive L[d] - Added DMPlexGetCellCoordinates_Internal() to get localized cell coordinates automatically, and used in plexgeometry.c - Moved coordinate functions into dmcoordinates.c - Moved periodicity functions into dmperiodicity.c
show more ...
|
| #
145e6476
|
| 23-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-06-13/make-one-line-if-call' into 'main'
Change if () { PetscCall() } three liner to one liner
See merge request petsc/petsc!5344
|
| #
1baa6e33
|
| 14-Jun-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Change if () { PetscCall() } three liner and friends to one liners
for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\
Change if () { PetscCall() } three liner and friends to one liners
for i in `git ls-files | grep "\.[ch]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ ]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$[ ]*}\$?\1if (\2) PetscCall(\3$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done
for i in `git ls-files | grep "\.[hc]$"` ; do sed 's?\$?ZZZ?g' $i | tr '\n' '$' | sed 's?\([ }else]*\)if (\([-;,.\*+=a-z0-9A-Z_>]*\)) {\$[ ]*PetscCall(\([- ._+=a-z0-9A-Z>*,()]*);\)\$\([ ]*\)} \([- ._+=a-z0-9A-Z>*,()]*);\)\$?\1if (\2) PetscCall(\3$\4\5$?g' | tr '$' '\n' | sed 's?ZZZ?$?g' > $i.joe ; mv $i.joe $i ; done
Yes, really ugly but Barry still cannot master awk
Commit-type: housekeeping
show more ...
|
| #
96e8d5a2
|
| 21-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-label-overlap' into 'main'
Plex: Allow a user to create a custom parallel overlap using labels
See merge request petsc/petsc!5349
|
| #
c506a872
|
| 17-Jun-2022 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Allow a user to create a custom parallel overlap using labels - The test is in PyLith
|
| #
9e70506f
|
| 10-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
9214234a
|
| 10-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley-release-patch-04706' into 'release'
Doc+Plex: Fix seealso
See merge request petsc/petsc!5330
|
| #
356298ec
|
| 10-Jun-2022 |
Matthew Knepley <knepley@gmail.com> |
Doc+Plex: Fix seealso
|
| #
7005ae4c
|
| 09-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/extend-plex-checkpointsf' into 'main'
extend DMPlexCheckPointSF()
See merge request petsc/petsc!5217
|
| #
6c1ef331
|
| 02-May-2022 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
add DMPlexCheckPointSF() calls to several places -
* DMPlexCreatePointSF * DMPlexCreateNumbering_Plex * DMPlexInterpolate * DMPlexInterpolatePointSF * DMPlexUninterpolate
|
| #
2e28cf0c
|
| 07-May-2022 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
DMPlexGetRedundantDM: set infinite overlap
|
| #
60667520
|
| 07-May-2022 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
add/use DMPlexSetOverlap_Plex()
|
| #
5e3c976b
|
| 05-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/plex-minor' into 'main'
Plex: minor maintenance changes
See merge request petsc/petsc!5218
|
| #
a5a902f7
|
| 12-Apr-2022 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
DMPlexMigrate: use ISLocalToGlobalMappingViewFromOptions()
|
| #
b55fbb85
|
| 04-May-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'haplav/plex-copy-overlap' into 'main'
DMPlexCopy_Internal: copy overlap
See merge request petsc/petsc!5200
|
| #
5de52c6d
|
| 02-May-2022 |
Vaclav Hapla <vaclav.hapla@erdw.ethz.ch> |
DMPlexCopy_Internal: copy overlap
|
| #
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 ...
|
| #
ebf6b3c0
|
| 25-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-24/rm-petsccheckfalse-dm' into 'main'
Remove PetscCheckFalse from use in the src/dm directory
Closes #1141
See merge request petsc/petsc!5160
|
| #
1dca8a05
|
| 24-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove PetscCheckFalse from use in the src/dm directory
Commit-type: housekeeping /45m
|
| #
1335eab4
|
| 15-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-04-05/petscattrformat-all-the-rest' into 'main'
Enable PETSC_ATTRIBUTE_FORMAT()
See merge request petsc/petsc!5085
|
| #
63a3b9bc
|
| 06-Apr-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Enable PETSC_ATTRIBUTE_FORMAT()
|
| #
b33f4bec
|
| 05-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/feature-less-checkfalse' into 'main'
Dividing by four the number of PetscCheckFalse()
See merge request petsc/petsc!5072
|