| #
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 ...
|
| #
7307f5f4
|
| 16-Dec-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-swarm-remap' into 'main'
Knepley/feature swarm remap
See merge request petsc/petsc!8054
|
| #
19307e5c
|
| 13-Dec-2024 |
Matthew G. Knepley <knepley@gmail.com> |
DSwarm: Add DMSwarmCellDM type - Vectors can be created from several fields - Each cell DM has a separate cellid field and sort context - Mass matrix can now handle multiple fields - Add DMSwarmCellD
DSwarm: Add DMSwarmCellDM type - Vectors can be created from several fields - Each cell DM has a separate cellid field and sort context - Mass matrix can now handle multiple fields - Add DMSwarmCellDMCreate(), DMSwarmCellDMDestroy(), DMSwarmCellDMView(), DMSwarmCellDMGetDM(), DMSwarmCellDMGetFields(), DMSwarmCellDMGetCoordinateFields(), DMSwarmCellDMGetCellID(), DMSwarmCellDMGetSort(), DMSwarmCellDMSetSort(), and DMSwarmCellDMGetBlockSize() - Add DMSwarmAddCellDM(), DMSwarmSetCellDMActive(), and DMSwarmGetCellDMActive() - Add DMSwarmCreateGlobalVectorFromFields(), DMSwarmDestroyGlobalVectorFromFields(), DMSwarmCreateLocalVectorFromFields(), and DMSwarmDestroyLocalVectorFromFields() - Add DMSwarmSortDestroy()
show more ...
|
| #
970231d2
|
| 07-Mar-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/clang-format-18' into 'main'
clang-format version 18
See merge request petsc/petsc!6902
|
| #
f4f49eea
|
| 11-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g
Remove multiple parentheses and extra semicolon
git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g' git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g' git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'
show more ...
|
| #
4d86920d
|
| 10-Feb-2024 |
Pierre Jolivet <pierre@joliv.et> |
checkbadSource: rules for PetscFunctionBegin and derivatives
|
| #
37d05b02
|
| 06-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
b877537e
|
| 05-Feb-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jolivet/fix-typos' into 'release'
Fix Typos
See merge request petsc/petsc!6024
|
| #
da81f932
|
| 05-Feb-2023 |
Pierre Jolivet <pierre@joliv.et> |
Fix Typos
|
| #
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
|
| #
7c7da2b8
|
| 23-Jan-2023 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jacobf/2023-01-13/modernize-cleanup-petscsys-h' into 'main'
Modernize and clean up petscsys.h
See merge request petsc/petsc!5976
|
| #
f3fa974c
|
| 13-Jan-2023 |
Jacob Faibussowitsch <jacob.fai@gmail.com> |
Modernize and clean up petscsys.h
- Deprecate PETSC_NULL. - Switch from preprocessor defines to anonymous enums for constant expressions. - Surround macro arguments in (). - Remove redundant casts.
Modernize and clean up petscsys.h
- Deprecate PETSC_NULL. - Switch from preprocessor defines to anonymous enums for constant expressions. - Surround macro arguments in (). - Remove redundant casts. - Clean up overly complex preprocessor defines in various PetscMem*() functions.
show more ...
|
| #
7d8d4117
|
| 17-Oct-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'knepley/feature-ephemeral-mesh' into 'main'
Plex: First implementation of ephemeral meshes
See merge request petsc/petsc!5738
|
| #
9f4ada15
|
| 12-Oct-2022 |
Matthew G. Knepley <knepley@gmail.com> |
Plex: First implementation of ephemeral meshes - Add DMPlexGet/RestoreOrientedCone() - Add a transform to Plex, which makes it an ephemeral mesh - Add depth information to PlexTransform - Fix filter
Plex: First implementation of ephemeral meshes - Add DMPlexGet/RestoreOrientedCone() - Add a transform to Plex, which makes it an ephemeral mesh - Add depth information to PlexTransform - Fix filter transform - Fix Plex view for ephemeral meshes - Right now, check mesh->tr for an ephemeral mesh, but later we could make a subclass - Remove DMPlexAddConeSize()
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
|
| #
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()
|
| #
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
|
| #
cdc546e2
|
| 09-Aug-2022 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2022-07-25/print-warning-unused-options-on-error' into 'main'
Print unused options when output error message
See merge request petsc/petsc!5473
|
| #
7510d9b0
|
| 29-Jul-2022 |
Barry Smith <bsmith@mcs.anl.gov> |
correct all the PetscFunctionBegin; in ts tutorials and tests to PetscFunctionBeginUser;
Commit-type: error-handling, examples, style /spend 5m
|
| #
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
|