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


# 2692676b 02-Jan-2026 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/minor-cleanup' into 'main'

Minor cleanup: use MPI_IN_PLACE when possible and avoid extra allocation

See merge request petsc/petsc!8925


# f1957bc3 01-Jan-2026 Pierre Jolivet <pierre@joliv.et>

Minor cleanup: use MPI_IN_PLACE when possible and avoid extra allocation


# cd7cb9d8 16-Oct-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'zach/swarm-set-sizes-perf' into 'main'

swarm: fix major performance issue in DMSwarmDataBucketSetSizes

See merge request petsc/petsc!8785


# ccc1fad5 15-Oct-2025 Zach Atkins <Zach.Atkins@colorado.edu>

swarm: fix major performance issue in DMSwarmDataBucketSetSizes


# a0581b18 10-Jul-2025 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/fix-swarm-add-point' into 'main'

Swarm: Initial size is -1, so addition function were wrong

See merge request petsc/petsc!8541


# 670292f5 10-Jul-2025 Matthew Knepley <knepley@gmail.com>

Swarm: Initial size is -1, so addition function were wrong


# 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


# d0e6bf2a 25-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-19' into 'main'

clang-format-19

See merge request petsc/petsc!7644


# 57508ece 17-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Remove unneeded parentheses


# 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


# 462c564d 14-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Fix MPIU_* routines to always return MPI error codes and thus be usable with PetscCallMPI()

Introduce MPIU_Count to be used when MPI_Count is not available


# 6a210b70 10-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Add support to MPIU_Allreduce to prevent int overflow with a single integer argument


# 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


# f4f49eea 11-Feb-2024 Pierre Jolivet <pierre@joliv.et>

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g

Remove multiple parentheses and extra semicolon

git grep -l -E "\(\([a-zA-Z0-9_]+\)\(\*[a-zA-Z0-9_]+\)[, )]" | xargs sed -r -i'' 's#\(\(([a-zA-Z0-9_]+)\)\(\*([a-zA-Z0-9_]+)\)([, )])#\(\(\1\)\*\2\3#g'
git grep -l -E "Petsc(.)*\(\(\*[a-zA-Z0-9_]*\)," | xargs sed -r -i'' 's#Petsc([a-zA-Z0-9_]*)\(\(\*([a-zA-Z0-9_]*)\), #Petsc\1(*\2, #g'
git grep -l -E "([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)" | xargs sed -r -i'' 's#([\!\&\~\*\(]|\)\)|\([^,\*\(]+\**\))\(([a-zA-Z0-9_]+((\.|->)[a-zA-Z0-9_]+|\[[a-zA-Z0-9_ \%\+\*\-]+\])+)\)#\1\2#g'

show more ...


# 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


# 49154744 22-Apr-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# d7849d59 20-Apr-2023 Satish Balay <balay@mcs.anl.gov>

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

Fix PetscCallMPI(MPI_Allreduce()) with PETSc types

See merge request petsc/petsc!6348


# 712fec58 19-Apr-2023 Pierre Jolivet <pierre@joliv.et>

Fix PetscCallMPI(MPI_Allreduce()) with PETSc types


# 31d78bcd 02-Feb-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-12-10/petscerrorcode-nodiscard' into 'main'

Feature: Non-discardable PetscErrorCode

See merge request petsc/petsc!5923


123456