History log of /petsc/include/petscds.h (Results 1 – 25 of 223)
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 ...


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


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


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


# 32be1236 12-Feb-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-vi-example' into 'main'

VI Example

See merge request petsc/petsc!8135


# 342bd5aa 11-Feb-2025 Matthew G. Knepley <knepley@gmail.com>

PetscDS: Add upper and lower bounds
- Add PetscDSGet/SetLowerBound(), PetscDSGet/SetUpperBound(), PetscDSCopyBounds()


# 4bbe9138 13-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-1d-affine-map' into 'main'

Fixes for submesh handling

See merge request petsc/petsc!7823


# bb4b53ef 23-Aug-2024 Matthew G. Knepley <knepley@gmail.com>

DM+DS: Create FE with degree bounds
- Add degree bounds to DMCopyFields(), DMCopyDS(), PetscDSCopy(), and PetscDSSelectDiscretizations()
- Add PetscFELimitDegree()


# e586a3f7 13-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-ds-cell-constants' into 'main'

PetscDS: Provide cell constant information

See merge request petsc/petsc!7686


# 87510d7d 11-Jul-2024 Matthew G. Knepley <knepley@gmail.com>

PetscDS: Add cell volume to constants and set during integration - Add PetscDSSetCellParameters()


# a102dd69 26-Jun-2024 Stefano Zampini <stefano.zampini@gmail.com>

DMCreateMassMatrix_Plex: support multiple fields

PetscDS: Allow per integration data to be stored at the end of the constant array
- Add PetscDSSetIntegrationParameters()
- Add numFuncConstants


# c7fbd2bd 02-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-01-19/typedef-snes-functions' into 'main'

add typedef for functions passed to SNESSetFunction() etc to match approach in TS

See merge request petsc/petsc!7206


# 8434afd1 02-Feb-2024 Barry Smith <bsmith@mcs.anl.gov>

Change the use of the _Fn suffix to indicate a typedef of a function to just Fn

As determined on a vote on GitLab


# 04bc8292 21-Jan-2024 Barry Smith <bsmith@mcs.anl.gov>

Update `PetscSimplePointFunc` to new naming convention `PetscSimplePoint_Fn`

Commit-type: housekeeping


# e5865050 26-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-p4est-bc' into 'main'

Fix Plex BC for p4est

See merge request petsc/petsc!7234


# 10af620d 24-Jan-2024 Matthew G. Knepley <knepley@gmail.com>

DM+DS: Function to sync DS labels based on names


# b22c9ba6 08-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 338bea87 08-Jan-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-01-04/fix-includes-man-pages/release' into 'release'

Barry/2024 01 04/fix includes man pages/release

See merge request petsc/petsc!7165


# af27ebaa 05-Jan-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix manual page formating in include directory


123456789