| #
4e8208cb
|
| 31-Jan-2026 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'
Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetC
Merge branch 'barry/2026-01-13/ftn-generation-for-context-functions' into 'main'
Fortran generation of interface definitions for functions that take and return context variables (void *ctx and PetCtx ctx)
See merge request petsc/petsc!8956
show more ...
|
| #
2a8381b2
|
| 13-Jan-2026 |
Barry Smith <bsmith@mcs.anl.gov> |
Add automatic generated fortran support for setting and returning contexts
Major cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now t
Add automatic generated fortran support for setting and returning contexts
Major cleanup of the code for setting and returning application (previously called user) contexts - PetscCtx ctx is now the standard for passing in contexts - PetscCtxRt ctx is the standard for passing out contexts, including context destroy routines based on PetscCtxDestroyFn
Both of these are typedef to void*
Also removed most use of user and userctx for context arguments now consistently named ctx
Improved documentation on PetscCtx and PetscCtxRt and on how to use contexts (including getting them) from Fortran
show more ...
|
| #
b31b2f82
|
| 10-Nov-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-10-24/fix-dmshellsetdestroyctx' into 'main'
Finish converting the function prototypes of destroy for contexts to use PetscCtxDestroyFn
See merge request petsc/petsc!8810
|
| #
e6aa7a3b
|
| 24-Oct-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
The goal of all the commits in this MR is to unify the destruction of "application" contexts.
This will help with supporting language bindings. For example, for Fortran the application context would
The goal of all the commits in this MR is to unify the destruction of "application" contexts.
This will help with supporting language bindings. For example, for Fortran the application context would be a user derived type
Fix prototype of DMShellSetDestroyCtx function argument to use PETSc standard way of doing it with PetscCtxDestroyF.
Also fix PetscViewerGLVisSetFields prototype of destroy function
These two locations were missed when PetscCtxDestroyFn was introduced as the universal function prototype for context destruction in 3.23
Reported-by: Victor Eijkhout
show more ...
|
| #
0ff9d02e
|
| 17-Jun-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-06-10/add-fortran-stubs-from-static-functions-in-includes' into 'main'
Automatically generate Fortran C stubs for static inline functions in include directory
See merge req
Merge branch 'barry/2025-06-10/add-fortran-stubs-from-static-functions-in-includes' into 'main'
Automatically generate Fortran C stubs for static inline functions in include directory
See merge request petsc/petsc!8469
show more ...
|
| #
1850900d
|
| 10-Jun-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
add missing MANSEC from include files
|
| #
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
|
| #
c5a0a44d
|
| 17-Sep-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-09-12/add-refined-dm-mg' into 'main'
Minor fixes and cleanup of dm->coarseMesh and ->fineMesh implementation and usage
See merge request petsc/petsc!5631
|
| #
09904cd0
|
| 13-Sep-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix bug in use of DMSHELL, add DMShellSetDestroyContext()
Commit-type: bug-fix, feature /spend 30m
|
| #
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
|
| #
568088ac
|
| 08-Aug-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/unify-getctx' into 'main'
Unify XXGetYYContext calls
See merge request petsc/petsc!4212
|
| #
3ec1f749
|
| 04-Aug-2021 |
Stefano Zampini <stefano.zampini@gmail.com> |
Unify XXGetYYContext calls
always use void*
|
| #
1e3c2994
|
| 10-Mar-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-ksp-prefer-dm-vecs' into 'main'
KSP: Prefer DM to PC Mat when creating vectors
See merge request petsc/petsc!3679
|
| #
04d741b1
|
| 10-Mar-2021 |
Matthew G. Knepley <knepley@gmail.com> |
KSP: Prefer DM to PC Mat when creating vectors - This gets the right View function for the vectors
Co-Authored-By: Blaise Bourdin <bourdin@lsu.edu>
|
| #
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
|
| #
d781c92e
|
| 09-Apr-2019 |
Boris Boutkov <borisbou@buffalo.edu> |
Merged in borisboutkov/petsc/borisboutkov/dmshell-extend-get-function-pointer-api (pull request #1521)
DMShell extend get function pointer API
Approved-by: Matthew Knepley <knepley@gmail.com> Appro
Merged in borisboutkov/petsc/borisboutkov/dmshell-extend-get-function-pointer-api (pull request #1521)
DMShell extend get function pointer API
Approved-by: Matthew Knepley <knepley@gmail.com> Approved-by: BarryFSmith <bsmith@mcs.anl.gov>
show more ...
|
| #
1297d384
|
| 08-Apr-2019 |
Boris Boutkov <borisbou@buffalo.edu> |
Add new function prototypes
|
| #
59e7829c
|
| 07-Aug-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComp
Merge branch 'master' into knepley/feature-plex-parallel-submesh
* master: (2931 commits) remove N in docs for SNESQN replaced test tolerance with PETSC_SQRT_MACHINE_EPSILON fortran: PetscComplex type is missing from fortran initialize variables so that static analyzer doesn't mistakenly think they are used uninitialized. Move access of prefix until it is actually used Remove DMDASplitComm2d(), used in one example that was not tested Functions that do not return PetscErrorCode should not use PetscFunctionBegin/End paradgm remove unneeded reassignment of same value Missing CHKERRQ(); Mostly in Tao code Remove clang static analyser warning about passing NULL variable to strncat() missing newline in -ts_monitor_extreme minor fixes for integer counters Configure: Deal with '__func__' in C89 builds with newer Clang and GCC. Jenkinsfile: Increased timeout for tests to 5 minutes. 3.9 changes: further clarify removal of -pc_factor_mat_solver_package Options deprecations: add "PETSc" to inline warning removing unused variable MatShift support added to MATSUBMAT. Mimics MATSHELL functionality. Needed for matrix-free Hessians in TAO Newton-Line-Search methods. Add -ts_monitor_extreme Dev manual: add note on deprecating options database keys ...
Conflicts: src/dm/impls/plex/examples/tests/ex4.c
show more ...
|
| #
2f07c833
|
| 14-Apr-2018 |
Matthew G. Knepley <knepley@gmail.com> |
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead
Merge branch 'master' into knepley/feature-snes-ex13-spectral
* master: (2350 commits) migrate warning fix from next-tmp Revert "Remove dead code." clarifying comment in the code Remove dead code. Add JuMP citation Copyedits and updates to developers manual Add more protection to intrinsics MPI: protect arguments in MPI macros Add the missing conditionals for 64-bit build Plex+VTK: Fix field type determination Fix bug in name cleanup Bib: Added ref Plex+VTK: Fix field type determination Plex: Updated test output - I am now hating this shit forgot to save file after moving prototypes to petscsys.h update Apple example project settings per Xcode Two functions should actually be public, used, for example from Apple MacOS and iOS programs includes should always be included relative to include directory Apple removed old locations of docsets SNES ex12: Updated test output ...
Conflicts: src/snes/examples/tutorials/ex13.c
show more ...
|
| #
7cd3fc30
|
| 02-Jan-2018 |
Barry Smith <bsmith@mcs.anl.gov> |
Merge branch 'barry/tao-to-new-test-harness' into barry/all-new-test-harness-branches
|