History log of /petsc/include/petscdstypes.h (Results 1 – 25 of 49)
Revision Date Author Comments
# 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 ...


# 226f8a8a 20-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 165c2d34 20-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'

Remove use of preconditioning or preconditioner matrix when it should be...

See merge request petsc/pet

Merge branch 'barry/2025-05-15/docs-rm-last-of-preconditioning-matrix/release' into 'release'

Remove use of preconditioning or preconditioner matrix when it should be...

See merge request petsc/petsc!8410

show more ...


# 1bafe4bb 20-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-15/fix-func-typedef-names' into 'main'

All typedef for functions are of the form (XXXXFn)(...) not (*XXXXyyyy)(....)

See merge request petsc/petsc!8408


# 2192575e 15-May-2025 Barry Smith <bsmith@mcs.anl.gov>

All typedef for functions are of the form (XXXXFn)(...) not (*XXXXyyyy)(....)


# 7addb90f 16-May-2025 Barry Smith <bsmith@mcs.anl.gov>

Remove use of preconditioning or preconditioner matrix when it should be phrased as matrix used to construct preconditioner


# 20adc417 08-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-coord-func' into 'main'

Plex: Now set coordFunc separately from DMPlexRemapGeometry()

See merge request petsc/petsc!8287


# 509b31aa 08-Apr-2025 Matthew G. Knepley <knepley@gmail.com>

Plex: Now set coordFunc separately from DMPlexRemapGeometry()
- Add DMPlexGetCoordinateMap() and DMPlexSetCoordinateMap()
- Moved function pointer types to petscdstypes.h


# 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 ...


# a623e290 12-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-29/minor-fortran-stub-cleanup' into 'main'

More improvements to Fortran stubs and interfaces

See merge request petsc/petsc!7598


# 5d83a8b1 30-May-2024 Barry Smith <bsmith@mcs.anl.gov>

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of

This requires some changes to user FORTRAN code

Pass PETSC_NULL_XXX_ARRAY when passing a NULL as an argument that is expecting an array
Pass PETSC_NULL_ENUM when argument returns an enum instead of PETSC_NULL_INTEGER
Pass arrays (and not scalar values) when the argument is expecting an array; this means replace, for example, the argument v with [v]
Use PetscObjectIsNull(obj) to check if the object is NULL, instead of obj == PETSC_NULL_XXX

The compiler will now automatically prevent you from using the wrong argument type for the first three bullets above
This will also require an update sowing with the new sowing branch this MR is using.

show more ...


# 9a75acf6 16-Sep-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-plex-ceed' into 'main'

Plex: More work adding in CEED backend

See merge request petsc/petsc!6870


# d2b2dc1e 10-Sep-2023 Matthew G. Knepley <knepley@gmail.com>

Plex: More work adding in CEED backend
- Add DMPlexGetUseCeed() and DMPlexSetUseCeed()
- Need to propagate useCeed flag
- When using CEED, make tensor order the default, but shut it off for matrix in

Plex: More work adding in CEED backend
- Add DMPlexGetUseCeed() and DMPlexSetUseCeed()
- Need to propagate useCeed flag
- When using CEED, make tensor order the default, but shut it off for matrix insertion since this is still done by Plex kernels
- DMPlexMatSetClosureGeneral() now takes flag for closure permutation
- Add DMPlexMatSetClosure_Internal() which takes flag for closure permutation
- Add DMPlexVecGetClosure_Internal() with flag to turn off closure permutation - Turn off closure permutation in L2 diff calculation
- Add DMUseTensorOrder()
- Add DMPlexSNESComputeResidualCEED() - Cleanup SNES ex13 - Do not give CEED negative offsets

show more ...


# 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


# a663c1df 13-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 517f05f0 13-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2023-03-30/fix-include-man-pages/release' into 'release'

Fix manual pages in include files

See merge request petsc/petsc!6272


# 16a05f60 13-Apr-2023 Barry Smith <bsmith@mcs.anl.gov>

Fix manual pages in include files


# 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


# 32105407 17-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-13/fix-man-include' into 'main'

Fix up manual pages in include/ including adding tick marks

See merge request petsc/petsc!5528


12