| #
9910c6eb
|
| 21-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'adams/landau-user-add' into 'main'
started new method for user to add to the distribution function
See merge request petsc/petsc!5402
|
| #
24ded41b
|
| 06-Jul-2022 |
markadams4 <mfadams@lbl.gov> |
fixed bug with not using p4est and started new method for user to add to the distributionn function
|
| #
0a002304
|
| 27-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'adams/bjkokkos-gmres' into 'main'
Optimizations and refinements to Landau
See merge request petsc/petsc!5114
|
| #
b24a6117
|
| 23-Jun-2022 |
markadams4 <mfadams@lbl.gov> |
put array on heap
|
| #
3ff25756
|
| 23-Jun-2022 |
markadams4 <mfadams@lbl.gov> |
put array on heap
|
| #
d7beccaf
|
| 22-Jun-2022 |
Mark Adams <mfadams@lbl.gov> |
fix landau bug with high order
|
| #
c3e4dd79
|
| 26-Apr-2022 |
Mark Adams <524115-markadams4@users.noreply.gitlab.com> |
ex2 test in Landau
|
| #
763ae2f8
|
| 11-May-2022 |
Mark Adams <mfadams@lbl.gov> |
changed default buffer sizes and made a buffer dynamic in Landau
|
| #
45fdc0f8
|
| 26-Apr-2022 |
Mark Adams <524115-markadams4@users.noreply.gitlab.com> |
deprecated field major ordering in Landau
|
| #
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 ...
|
| #
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 ...
|
| #
45601b4b
|
| 28-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
6c6a303d
|
| 27-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-documentation' into 'release'
Docs: remove extra spaces
See merge request petsc/petsc!5179
|
| #
c969029d
|
| 27-Apr-2022 |
Pierre Jolivet <pierre@joliv.et> |
Docs: remove extra spaces
|
| #
9327856a
|
| 21-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-17/rm-petsccheckfalse-ts' into 'main'
Remove use of PetscCheckFalse() from TS directory
See merge request petsc/petsc!5135
|
| #
cad9d221
|
| 17-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove use of PetscCheckFalse() from TS directory
Commit-type: housekeeping /spend 15m
|
| #
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()
|
| #
527ad957
|
| 11-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-04-01/fix-petsc-options-begin-end/release' into 'main'
Remove bogus error returns from Begin/End() macros
See merge request petsc/petsc!5069
|
| #
d0609ced
|
| 02-Apr-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
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 changes
Commit-type: error-checking, style-fix /spend 8h
show more ...
|
| #
7551f769
|
| 06-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'adams/landau-sppic-omp-bug' into 'main'
Added ts test that integrates Landau with particles
See merge request petsc/petsc!5017
|
| #
40b10a2d
|
| 02-Apr-2022 |
Mark Adams <524115-markadams4@users.noreply.gitlab.com> |
make stack var a heap var
|
| #
984ed092
|
| 01-Apr-2022 |
Mark Adams <524115-markadams4@users.noreply.gitlab.com> |
added PETSC_USE_DMLANDAU_2D to fully support 2 and 3V versions of Landau
|