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


# 287d9e58 23-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-ts-landau-moments' into 'main'

TS Hamiltonian ex4: Preliminary moment equations

See merge request petsc/petsc!8573


# 1898fd5c 22-Jul-2025 Matthew G. Knepley <knepley@gmail.com>

DM: Allow creation of a gradient matrix between spaces
- This is like the mass matrix, but with a gradient on the continuous space
- We use this for conservation laws in moments of particle systems
-

DM: Allow creation of a gradient matrix between spaces
- This is like the mass matrix, but with a gradient on the continuous space
- We use this for conservation laws in moments of particle systems
- Add projection to DMSwarm to implement this

show more ...


# 3f5a071c 20-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'ksagiyam/fix_submesh_coordinates' into 'main'

Ksagiyam/fix submesh coordinates

See merge request petsc/petsc!8353


# 4c712d99 27-Apr-2025 ksagiyam <k.sagiyama@imperial.ac.uk>

plexsubmesh: make submesh inherit CG/DG coordinate elements


# 022ab154 12-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-dm-bounds' into 'main'

Plex: Now allow variable bounds along boundaries

See merge request petsc/petsc!8402


# 01468941 11-May-2025 Matthew G. Knepley <knepley@gmail.com>

Plex: Now allow variable bounds along boundaries
- Add DM_BC_LOWER_BOUND and DM_BC_LOWER_BOUND
- Add DMHasBound()
- Add DMPlexInsertBounds() and implementation DMPlexInsertBounds_Plex()


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


# 76d69608 19-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 1d017dde 19-Jan-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-11-26/improve-man-pages/release' into 'release'

Improve some manual pages in KSP/SNES

See merge request petsc/petsc!8071


# 0b4b7b1c 26-Nov-2024 Barry Smith <bsmith@mcs.anl.gov>

Improve some manual pages in KSP/SNES


# dd1ad842 11-Nov-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jrwrigh/deprecate_get_section' into 'main'

DM: Deprecate DM{Get,Set}Section

See merge request petsc/petsc!7997


# b98a7184 09-Nov-2024 James Wright <james@jameswright.xyz>

DM: Deprecate DM{Get,Set}Section

They were already replaced by DM{Get,Set}LocalSection back in 3.12, but
weren't deprecated for some reason


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


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


# a4da37cc 27-Aug-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/dmplex-mass' into 'main'

Fixes/enhancements for mass matrix support

See merge request petsc/petsc!7649


# 8e9849d2 20-Aug-2024 Stefano Zampini <stefano.zampini@gmail.com>

DM: add support for local mass lumping


# 9fafd08e 14-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-hdf5-seq-len' into 'main'

HDF5: Allow reading the length of a time sequence

See merge request petsc/petsc!7536


# b2033f5d 08-May-2024 Matthew G. Knepley <knepley@gmail.com>

DM: Add interface to query length of a sequence in HDF5


12345678910>>...31