| #
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 ...
|
| #
d8e47b63
|
| 17-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'
Compiler finds (and forbid) casts from higher precision integers to lower
See merge request petsc/petsc!7806
|
| #
462c564d
|
| 14-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()
Introduce MPIU_Count to be used when MPI_Count is not available
|
| #
1690c2ae
|
| 10-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MIN
Commit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, example Funded
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MIN
Commit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, example Funded-by: Project: Time: hours Reported-by: Thanks-to: Development Tools: Vim, Emacs, Eclipse
show more ...
|
| #
96e7d5cf
|
| 17-Jul-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'MWE_for_issue_1503_with_overlap' into 'main'
(#1503) Add a rectangular prism mesh to the mesh partitioning test and element numbering retrieval.
See merge request petsc/petsc!7068
|
| #
e2b8d0fc
|
| 21-Dec-2023 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: Made DMPlexCreateCellNumbering() public
|
| #
fa8daf30
|
| 26-Jun-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/dmplexinterp' into 'main'
speed up DMPlexInterpolate
See merge request petsc/petsc!6563
|
| #
2827ebad
|
| 08-Jun-2023 |
Stefano Zampini <stefano.zampini@gmail.com> |
Plex: Replace DMPlexGetGhostCellStratum() with DMPlexGetCellTypeStratum() - Also fix DMPlexTransform version
|
| #
5a7a9864
|
| 14-Mar-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jeremy/less-strcpy-strcat' into 'main'
Use Petsc[Strncpy,Strlcat,Memcpy] over Petsc[Strcpy,Strcat]
Closes #1332
See merge request petsc/petsc!6115
|
| #
c6a7a370
|
| 24-Feb-2023 |
Jeremy L Thompson <jeremy@jeremylt.org> |
Clean up PETSc str ops to use more secure implementations where possible. These include:
- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat() - Use PetscArraycpy() over
Clean up PETSc str ops to use more secure implementations where possible. These include:
- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat() - Use PetscArraycpy() over PetscMemcpy() as appropriate for string buffer copying - Use built in string from name over hardcoding - Use sizeof over hardcoded length - Replace some Strlcat with Strncpy when offset is known
show more ...
|
| #
31d78bcd
|
| 02-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'
Feature: Non-discardable PetscErrorCode
See merge request petsc/petsc!5923
|
| #
3ba16761
|
| 10-Dec-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Make PetscErrorCode a non-discardable enum
|
| #
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
|
| #
d71ae5a4
|
| 21-Sep-2022 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
source code format changes due to .clang-format changes
|
| #
f0af967e
|
| 29-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-style-one-liners' into 'main'
Remove braces from one-liners w/o PetscCall()
See merge request petsc/petsc!5561
|
| #
ad540459
|
| 29-Aug-2022 |
Pierre Jolivet <pierre@joliv.et> |
Remove braces from one-liners w/o PetscCall()
|
| #
38f67375
|
| 27-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-style-one-liners' into 'main'
Remove braces from one-liners
See merge request petsc/petsc!5557
|
| #
48a46eb9
|
| 27-Aug-2022 |
Pierre Jolivet <pierre@joliv.et> |
Remove braces from one-liners
|
| #
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
|
| #
91e96481
|
| 28-Jun-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-plex-periodic-separation' into 'main'
Fix periodicity for higher order coordinates
See merge request petsc/petsc!5333
|
| #
6858538e
|
| 11-Jun-2022 |
Matthew G. Knepley <knepley@gmail.com> |
DM: Reorganized periodic coordinates into a separate representation - Split coordinates into two representations - No longer specify the boundary type for periodicity. We can tell if a given boundary
DM: Reorganized periodic coordinates into a separate representation - Split coordinates into two representations - No longer specify the boundary type for periodicity. We can tell if a given boundary is periodic by a positive L[d] - Added DMPlexGetCellCoordinates_Internal() to get localized cell coordinates automatically, and used in plexgeometry.c - Moved coordinate functions into dmcoordinates.c - Moved periodicity functions into dmperiodicity.c
show more ...
|