History log of /petsc/src/dm/impls/swarm/swarm_migrate.c (Results 1 – 25 of 131)
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 ...


# f870ffa1 19-May-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jpusztay/enhancement-swarm-point-tracking' into 'main'

protect point removal with remove_sent_points in other migration routines

See merge request petsc/petsc!8420


# 131df328 19-May-2025 josephpu <josephpu@buffalo.edu>

protect point removal with remove_sent_points in other migration routines


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

Merge remote-tracking branch 'origin/release'


# 446b8275 03-Apr-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jpusztay/fix-swarm-vechip' into 'release'

Fix swarm Migrate VecHip w/ debug builds

See merge request petsc/petsc!8240


# 953fc092 30-Mar-2025 Rylanor <jjoep93@gmail.com>

Fix DMSwarm migration with device Vec types for debug builds


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


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

Merge branch 'stefanozampini/useless-cast' into 'main'

Remove useless cast

See merge request petsc/petsc!7894


# 835f2295 05-Oct-2024 Stefano Zampini <stefano.zampini@gmail.com>

Brain dead fixes for useless casts


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


# d8e47b63 17-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-09-02/rebased-fix-conversion-warnings' into 'main'

Compiler finds (and forbid) casts from higher precision integers to lower

See merge request petsc/petsc!7806


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in th

Add to CI compilers flags '-Wconversion', '-Wno-sign-conversion', '-Wno-float-conversion', '-Wno-implicit-float-conversion']

Also fix the code to repository to compile cleanly with these flags in the CI

show more ...


# a5e1dc7f 14-Mar-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'zach/dmswarm-migrate-use-cellid-field' into 'main'

DMSwarm: Change cell-based migration to use DMSwarmPICField_cellid instead of DMSwarmField_rank

See merge request petsc/petsc!7361


# 1f70fafb 12-Mar-2024 Zach Atkins <zach.atkins@colorado.edu>

DMSwarm: Change cell-based migration to use DMSwarmPICField_cellid instead of DMSwarmField_rank


# 9c5460f9 17-Aug-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-08-09/linter-detect-static-function-candidates' into 'main'

Linter detect possible static functions

See merge request petsc/petsc!6796


# 66976f2f 14-Aug-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

Add static to internal functions


# 186cd71f 24-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-07-19/lint-apply-ts' into 'main'

Manual linter fixes: ts

See merge request petsc/petsc!6736


# 42747ad1 21-Jul-2023 Jacob Faibussowitsch <jacob.fai@gmail.com>

... and apply it


# cfd92c66 22-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'tisaac/feature-type-generic-petsc-valid-pointer' into 'main'

Implement a type generic PetscValidPointer

See merge request petsc/petsc!6693


# 4f572ea9 18-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Rename PetscValidPointer -> PetscAssertPointer


# 7a2f837d 06-Jul-2023 Toby Isaac <toby.isaac@gmail.com>

Deploy new PetscValidPointer, remove PetscValidXXXPointer


# 02477ebb 15-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2023-06-30/enable-doc-lint' into 'main'

Enable docs linting

See merge request petsc/petsc!6667


123456