History log of /petsc/src/ksp/ksp/utils/dm/dmproject.c (Results 1 – 25 of 28)
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 ...


# 26199062 05-Jun-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2025-05-17/fix-ksp-typedef-function-prototypes' into 'main'

Clean up the use of typedef function prototypes for KSP

See merge request petsc/petsc!8431


# 4d4d2bdc 17-May-2025 Barry Smith <bsmith@mcs.anl.gov>

Clean up the use of typedef function prototypes for KSP


# 09b68a49 04-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d31fe398 31-Mar-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-typos' into 'release'

Fix typos

See merge request petsc/petsc!8259


# bfe80ac4 29-Mar-2025 Pierre Jolivet <pierre@joliv.et>

Fix typos


# 9fd599a7 27-Dec-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-swarm-remap' into 'main'

Swarm: Adding remapping

See merge request petsc/petsc!8059


# fca3fa51 19-Dec-2024 Matthew G. Knepley <knepley@gmail.com>

Swarm: Move remapping into the library and changed Swarm setup
- I changed the meaning of DMSetUp() for Swarm. Now it sets up the fields and cell DMs, but not particles. This has to be true to allow

Swarm: Move remapping into the library and changed Swarm setup
- I changed the meaning of DMSetUp() for Swarm. Now it sets up the fields and cell DMs, but not particles. This has to be true to allow
user intervention in particle setup.
- Add DMSwarmRemapType, DMSwarmRemap(), and DMSwarmDuplicate()
- Add DMSwarmGetType()
- Add DMSwarmGetCellDMByName() and DMSwarmGetCellDMNames()

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


# 4c0ff79a 01-Dec-2024 Matthew G. Knepley <knepley@gmail.com>

DM: Removed unnecessary transpose


# a370cb8a 21-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-hamiltonian-ex2-opt' into 'main'

Fix Hamiltonian ex2 for Landau Damping

See merge request petsc/petsc!7937


# d52c2f21 02-Oct-2024 Matthew G. Knepley <knepley@gmail.com>

DMSwarm: Allow multiple fields to define the DM field and multiple cellDM, allow different coordinate fields, and compute moments
- Changed interface for DMSwarmVectorDefineField() and DMSwarmVectorG

DMSwarm: Allow multiple fields to define the DM field and multiple cellDM, allow different coordinate fields, and compute moments
- Changed interface for DMSwarmVectorDefineField() and DMSwarmVectorGetField() to allow multiple fields
- Add DMSwarmReplace_Internal()
- Add coordinate name to Swarm
- Add DMSwarmGetCoordinateField() and DMSwarmSetCoordinateField()
- Add DMSwarmComputeMoments()
- In DMLocatePoints_Plex(), ignore extra coordinates in input vector
- Add CellDMInfo struct
- Add DMSwarmPushCellDM() and DMSwarmPopCellDM()

show more ...


# 32e03751 29-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/deprecate-petsc-default' into 'main'

Fix usage of deprecated PETSC_DEFAULT

See merge request petsc/petsc!7707


# fb842aef 29-Jul-2024 Jose E. Roman <jroman@dsic.upv.es>

Fix usage of deprecated PETSC_DEFAULT


# 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


# 4d86920d 10-Feb-2024 Pierre Jolivet <pierre@joliv.et>

checkbadSource: rules for PetscFunctionBegin and derivatives


# 7f71fc7e 26-Feb-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-swarm-project-fv' into 'main'

DM: Fix Swarm projection for FV

See merge request petsc/petsc!7282


# 0bf7c1c5 17-Feb-2024 Matthew G. Knepley <knepley@gmail.com>

Swarm: Generalize projection to multiple components
- Generalize mass matrix to multiple components
- Add DMSwarmGetFieldInfo()
- Add DMSwarmVectorGetField()


# 953494db 10-Feb-2024 Matthew G. Knepley <knepley@gmail.com>

Swarm: Add continuous DM argument to DMSwarmProjectFields()


12