| #
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 ...
|
| #
2286efdd
|
| 25-Sep-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2025-07-30/fix-matshellsetoperationarg' into 'main'
Complete usage of PetscVoidFn and PetscErrorCodeFn and introduce PetscFortranCallbackFn
See merge request petsc/petsc!8615
|
| #
57d50842
|
| 31-Jul-2025 |
Barry Smith <bsmith@mcs.anl.gov> |
Change use of void (*)(void) and void (**)(void) in the PETSc API to PetscVoidFn * and PetscVoidFn ** or PetscErrorCodeFn * or PetscErrorCodeFn **
|
| #
20ac1e9e
|
| 19-Feb-2025 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-embedded-manifold' into 'main'
Plex+PetscFE: Fixes to allow embedded manifolds
See merge request petsc/petsc!8141
|
| #
ac9d17c7
|
| 17-Feb-2025 |
Matthew G. Knepley <knepley@gmail.com> |
Plex+PetscFE: Fixes to allow embedded manifolds - Add PetscFEGeomMode to describe geometry - Reorganized PetscFEGeom - PetscFEGeomCreate(), DMFieldCreateFEGeom() and DMSNESGetFEGeom() now take the Pe
Plex+PetscFE: Fixes to allow embedded manifolds - Add PetscFEGeomMode to describe geometry - Reorganized PetscFEGeom - PetscFEGeomCreate(), DMFieldCreateFEGeom() and DMSNESGetFEGeom() now take the PetscFEGeomMode - J and invJ have dE dimensions - f1, g1, g2, g3 have dE dimensions - FIX the dim argument of all point function is really dE because it is used to index the gradients - Clarified behavior of PetscFEGeomGetCellPoint() - Now -dm_plex_coordinate_dim can change the coordinate dimension of a mesh created by Plex - Implicit cell geometry must be used when dim != cdim
show more ...
|
| #
ad781fe3
|
| 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'
Unify handling of context destructors
See merge request petsc/petsc!7900
|
| #
49abdd8a
|
| 29-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)
Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)
Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that used PetscContainer
- Now allows any context to be a PetscObject - Will provide a cleaner mapping to bindings in other languages - Simplifies the maintenance of PETSc source code; improves clarity
Not backward compatible, compiler warnings will tell users what functions need to be updated
show more ...
|
| #
a2dece7a
|
| 25-Sep-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/housekeeping-before-release-ci' into 'main'
Housekeeping before 3.22.0
See merge request petsc/petsc!7873
|
| #
bd158744
|
| 25-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Fix wrong PetscErrorCode
|
| #
03e76207
|
| 25-Sep-2024 |
Pierre Jolivet <pierre@joliv.et> |
Use PetscObjectContainerCompose() when applicable
|
| #
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
|
| #
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.
|
| #
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
|
| #
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
|
| #
5cab5458
|
| 26-Jul-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-07-23/add-petscbeginuser' into 'main'
Add PetscFunctionBeginUser to all PETSc C/C++ examples
See merge request petsc/petsc!5470
|
| #
327415f7
|
| 23-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -
Add PetscFunctionBeginUser to all PETSc C/C++ examples
Now the stack frames will contain the main program and the correct line numbers in them
git ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"
Commit-type: error-checking, testing-fix /spend 15m
show more ...
|
| #
b4b16273
|
| 25-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
4654ab2f
|
| 25-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/u2204-fixes' into 'release'
Some fixes for ubuntu-22.04
See merge request petsc/petsc!5159
|
| #
2596f4fa
|
| 24-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
fix valgrind warning
not ok dm_dt_fe_tests-ex2_0 # Error code: 10 ==1185376== Conditional jump or move depends on uninitialised value(s) ==1185376== at 0x60256CF: kh_get_HMapForm (p
fix valgrind warning
not ok dm_dt_fe_tests-ex2_0 # Error code: 10 ==1185376== Conditional jump or move depends on uninitialised value(s) ==1185376== at 0x60256CF: kh_get_HMapForm (petscdsimpl.h:54) ==1185376== by 0x6028294: PetscHMapFormGet (petscdsimpl.h:54) ==1185376== by 0x602B607: PetscWeakFormGetFunction_Private (dtweakform.c:108) ==1185376== by 0x603252A: PetscWeakFormGetResidual (dtweakform.c:472) ==1185376== by 0x60547D4: PetscFEIntegrateResidual_Basic (febasic.c:388) ==1185376== by 0x607840F: PetscFEIntegrateResidual (fe.c:1427) ==1185376== by 0x10F807: TestIntegration (ex2.c:276) ==1185376== by 0x11084C: main (ex2.c:318) ==1185376== Uninitialised value was created by a stack allocation ==1185376== at 0x602B4B5: PetscWeakFormGetFunction_Private (dtweakform.c:102)
show more ...
|
| #
1335eab4
|
| 15-Apr-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2022-04-05/petscattrformat-all-the-rest' into 'main'
Enable PETSC_ATTRIBUTE_FORMAT()
See merge request petsc/petsc!5085
|