| #
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
|
| #
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
|
| #
32105407
|
| 17-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-08-13/fix-man-include' into 'main'
Fix up manual pages in include/ including adding tick marks
See merge request petsc/petsc!5528
|
| #
87497f52
|
| 14-Aug-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix up manual pages in include/ including adding tick marks
Commit-type: documentation /spend 4h
|
| #
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 ...
|
| #
51635343
|
| 20-Jul-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-ts-checks' into 'master'
TS+Plex: Convergence estimation now working of time dependent PDEs
See merge request petsc/petsc!2985
|
| #
f2cacb80
|
| 18-Jul-2020 |
Matthew G. Knepley <knepley@gmail.com> |
TS+Plex: Convergence estimation now working of time dependent PDEs - Add exact solution time derivative to DS - Put monitor in ConvEst for TS - Fixed error determination in ConvEst for TS
Co-Authore
TS+Plex: Convergence estimation now working of time dependent PDEs - Add exact solution time derivative to DS - Put monitor in ConvEst for TS - Fixed error determination in ConvEst for TS
Co-Authored-By: Brad Aagaard <baagaard@usgs.gov>
show more ...
|
| #
7e346017
|
| 29-Oct-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-convest-ts' into 'master'
Knepley/feature convest ts
See merge request petsc/petsc!2190
|
| #
900f6b5b
|
| 19-Oct-2019 |
Matthew G. Knepley <knepley@gmail.com> |
ConvEst: Generalize to use TS as well - Now the solver is a PetscObject - ts_convergence_estimate calculates the order for a TS method - Added tsconvest.c - Added initial guess and error methods that
ConvEst: Generalize to use TS as well - Now the solver is a PetscObject - ts_convergence_estimate calculates the order for a TS method - Added tsconvest.c - Added initial guess and error methods that can be overridden
show more ...
|
| #
1c575b32
|
| 07-Jul-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'maint'
|
| #
26bd1501
|
| 05-Jul-2019 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove use of _ and __ in front of PETSc include guards. Reason: C99 Reserved Identifiers
Commit-type: portability-fix
|
| #
b0f52d29
|
| 28-Jan-2019 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpusztay/feature-swarm-symplectic-example
|
| #
940dfb0a
|
| 28-Jan-2019 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|
| #
30faf514
|
| 27-Jan-2019 |
m_diehl <m.diehl@mpie.de> |
Merged petsc/petsc into master
|
| #
ddad275a
|
| 21-Jan-2019 |
Patrick Farrell <patrick@pefarrell.org> |
Merge branch 'master' into knepley/feature-snes-patch
|
| #
df4be7ee
|
| 16-Jan-2019 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-multiple-ds
* master: (156 commits) Added missing CHKERRQ() KSP ex56: Added alt output file for ex56_2. Revert "KSP ex56: Updated test output and dom
Merge branch 'master' into knepley/feature-multiple-ds
* master: (156 commits) Added missing CHKERRQ() KSP ex56: Added alt output file for ex56_2. Revert "KSP ex56: Updated test output and domain size for test _2." DMStag tutorial ex4: fix stencil errors Hierarchical partitioner: added an alt output file Add support for DMGetMatrix() with periodic boundary conditions in one dimension for DMDA. Fixed incorrect 'ntext' argument in PetscOptionsEList call in SNES ex12.c ISCreateSubIS: Initialize variables owner and lidx to avoid compiler warnings metis: provide -download-metis-use-doubleprecision option KSP ex56: Updated test output and domain size for test _2. Hierarchical partitioner: add a bit documentation ISCreateSubIS: Added checkers for parameters Added a test for hierarchical partitioning vertex weights Plex+Doc: Document options for DMPlexCreateBoxMesh() Hierarchical partitioner supports vertex weights Create an API ISCreateSubIS that extracts Add an alt output file Plex: Can now give bounds to DMPlexCreateBoxMesh() from options - Use -dm_plex_box_lower and dm_plex_box_upper PCMG: These methods should be optional PCMG: Make PCMGGet/SetLevels() proper member functions - Also need to compose them in GAMG ...
Conflicts: src/dm/impls/plex/plexsection.c
show more ...
|
| #
6766dcbc
|
| 11-Jan-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/pr1206/arcowie-rem/feature-error-logging/master'
|
| #
a5a49157
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpusztay/feature-swarm-symplectic-example
|
| #
e901d7f7
|
| 25-Oct-2018 |
Joseph Pusztay <josephpusztay@Josephs-MacBook-Pro.local> |
Merge branch 'master' into jpustay/feature-swarm-example
|
| #
baeaa64e
|
| 25-Oct-2018 |
Joseph Pusztay <josephpu@buffalo.edu> |
Merged petsc/petsc into master
|