| #
6d8694c4
|
| 20-Mar-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-04-29/add-fortran-enums' into 'main'
Major updates to Fortran interface
See merge request petsc/petsc!7517
|
| #
ce78bad3
|
| 20-Feb-2025 |
Barry Smith <bsmith@petsc.dev> |
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous ve
Fortran 90: fully embrace After 34 years!
- deprecate use of 'F90' in Fortran function names - use Fortran pointers when appropriate - the new Fortran API is not backward compatible with previous versions! - also clean up inconsistent PETSc code detected by new Fortran generation tools - drop use of bfort - automatically generate all the Fortran PETSc objects, enums etc from the include files - generate most of the Fortran interface definitions and functions from the source code - simplify the number and organization of Fortran modules
Co-authored-by: Jose E. Roman <jroman@dsic.upv.es>
show more ...
|
| #
7f71fc7e
|
| 26-Feb-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/fix-swarm-project-fv' into 'main'
DM: Fix Swarm projection for FV
See merge request petsc/petsc!7282
|
| #
2f86f8c5
|
| 17-Feb-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Plex+FVM: Fixes for integration of FV fields - Add PetscFVCreateDualSpace() - Fixed tabulation for multicomponent space - Protect limiter from boundary - Handle missing limiter - Correct FV mass matr
Plex+FVM: Fixes for integration of FV fields - Add PetscFVCreateDualSpace() - Fixed tabulation for multicomponent space - Protect limiter from boundary - Handle missing limiter - Correct FV mass matrix
show more ...
|
| #
f6feae9b
|
| 10-Feb-2024 |
Matthew G. Knepley <knepley@gmail.com> |
FV: Add PetscFVClone()
|
| #
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
|
| #
81cd56f8
|
| 25-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
6b708b37
|
| 24-Apr-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2023-04-13/fix-petscspace-mansec/release' into 'release'
Petsc[Dual]Space objects are defined in petscfe.h so they go into the wrong manual sections
See merge request petsc/pets
Merge branch 'barry/2023-04-13/fix-petscspace-mansec/release' into 'release'
Petsc[Dual]Space objects are defined in petscfe.h so they go into the wrong manual sections
See merge request petsc/petsc!6327
show more ...
|
| #
660d4ad9
|
| 13-Apr-2023 |
Barry Smith <bsmith@mcs.anl.gov> |
Petsc[Dual]Space objects are defined in petscfe.h so they go into the wrong manual sections
Though this introduces two new include files it does not change the PETSc API or ABI so the changes can go
Petsc[Dual]Space objects are defined in petscfe.h so they go into the wrong manual sections
Though this introduces two new include files it does not change the PETSc API or ABI so the changes can go into release
Commit-type: documentation
show more ...
|
| #
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 ...
|
| #
a8cf78f8
|
| 24-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2021-05-16/fix-double-lines' into 'main'
Fix typos in source
See merge request petsc/petsc!3984
|
| #
4e278199
|
| 16-May-2021 |
Barry Smith <bsmith@mcs.anl.gov> |
Remove all double blank lines from source
Commit-type: petsc-style /2h
|
| #
339143f0
|
| 15-Jan-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-project-different-spaces' into 'master'
Knepley/feature project different spaces
See merge request petsc/petsc!2153
|
| #
ef0bb6c7
|
| 09-Jan-2020 |
Matthew G. Knepley <knepley@gmail.com> |
FE+DS: Introduce PetscTabulation to hold tabulated function data - This was created to prevent mismatches in sizes I was getting by just passing around arrays - FE+FV+DS now hold tabulations - GetTab
FE+DS: Introduce PetscTabulation to hold tabulated function data - This was created to prevent mismatches in sizes I was getting by just passing around arrays - FE+FV+DS now hold tabulations - GetTabulation() --> CreateTabulation() and it creates an object rather than using DMGetWorkArray(). I put in ComputeTabulation() to reuse space, but there still may be performance regression. - Default tabulations are now "cell tabulations" - The replicas in the tabulation are used to index faces in a face tabulation
show more ...
|
| #
d0eddb9b
|
| 07-Nov-2019 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'mark/fix-viewfromoptions' into 'master'
prototype for ViewFromOptions macro-->functions
See merge request petsc/petsc!2083
|