| #
9dd11ecf
|
| 25-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-17/header-guard-check' into 'main'
Check header guards
See merge request petsc/petsc!6822
|
| #
a4963045
|
| 18-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Convert all header guards to pragma once
|
| #
9c5460f9
|
| 17-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'
Linter detect possible static functions
See merge request petsc/petsc!6796
|
| #
4bf303fa
|
| 15-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Extern appriopriate symbols before the great en-static-ing
|
| #
4979242e
|
| 09-Aug-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-08-08/lint-apply-dm' into 'main'
Manual DM Linter Fixes
See merge request petsc/petsc!6792
|
| #
a4e35b19
|
| 08-Aug-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Manual linter fixes: dm
|
| #
b6b5caf9
|
| 27-Mar-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-hybrid-mass' into 'main'
Plex: Can now specify a mass weighting to hybrid residual
See merge request petsc/petsc!6210
|
| #
4366bac7
|
| 26-Mar-2023 |
Matthew G. Knepley <knepley@gmail.com> |
DT: Add quadrature permutations and default quadrature - Add integration domain to PetscQuadrature - Add quadrature permutations to DS - Add default quadrature to DT
|
| #
07218a29
|
| 17-Mar-2023 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Can now specify a mass weighting to hybrid residual - This is not a complete fix. We need to match up quadrature points across the interface.
|
| #
9cf8ee68
|
| 10-Mar-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-memory-bugs' into 'main'
Knepley/fix memory bugs
See merge request petsc/petsc!6163
|
| #
12fc5b22
|
| 10-Mar-2023 |
Matthew G. Knepley <knepley@gmail.com> |
DS: Force all quadratures to match by default
|
| #
061e922f
|
| 22-Sep-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'
Feature: Bicycle Storage Facility 2
See merge request petsc/petsc!5661
|
| #
6524c165
|
| 21-Sep-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Transform all header-guards into ifndefs to make clang-format ignore them for preprocessor indentation
|
| #
58d68138
|
| 23-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-08-21/clang-format-source' into 'main'
format repository with clang-format
See merge request petsc/petsc!5541
|
| #
9371c9d4
|
| 22-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
clang-format: convert PETSc sources to comply with clang-format
|
| #
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
|
| #
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 ...
|
| #
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 ...
|
| #
2d757f79
|
| 02-Feb-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-explicit-timestepping' into 'main'
DM+TS: Add support for mass matrices
See merge request petsc/petsc!4683
|
| #
cb36c0f9
|
| 27-Dec-2021 |
Matthew G. Knepley <knepley@gmail.com> |
Plex+DS: Added support for explicit timestepping
|
| #
aac8517f
|
| 08-Jan-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-multiple-hybrid' into 'main'
DM+FE: Allow multiple cohesive fields
See merge request petsc/petsc!4616
|
| #
9ee2af8c
|
| 09-Dec-2021 |
Matthew G. Knepley <knepley@gmail.com> |
FE+DS: Now hybrid integration uses side 2 for fault operations - Added cohesive offsets of PetscDS - Fixed offsets and handling of dimension
|
| #
5fedec97
|
| 17-Aug-2021 |
Matthew G. Knepley <knepley@gmail.com> |
DM+FE: Allow multiple cohesive fields - Changed name from "hybrid" cell to "cohesive" cell - Fixed check for cohesive field in PetscFE and DM - Fixed DMCreateDS() for new scheme - Added PetscDSIsCohe
DM+FE: Allow multiple cohesive fields - Changed name from "hybrid" cell to "cohesive" cell - Fixed check for cohesive field in PetscFE and DM - Fixed DMCreateDS() for new scheme - Added PetscDSIsCohesive() and PetscDSGetNumCohesive() - Replaced PetscDSGetHybrid() with PetscDSGetCohesive() and PetscDSSetHybrid() with PetscDSSetCohesive() - Added PetscDSGetFieldOffsetCohesive() - Fixed hybrid Jacobian integration - Hybrid Jacobian integration needs to know the side of the interface, just like residual integration - Needs to use cohesive field offsets - Update takes the side as an argument
show more ...
|
| #
2afd2872
|
| 02-Sep-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-plex-refine-bc' into 'main'
DM+DT: Fix for equation copying
See merge request petsc/petsc!4270
|