History log of /petsc/src/dm/tutorials/swarm_ex1.c (Results 1 – 25 of 42)
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 ...


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


# 732aec7a 22-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/remove-cast' into 'main'

Use NULL or nullptr instead of casted 0

See merge request petsc/petsc!7857


# c8025a54 21-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Use NULL or nullptr instead of casted 0


# e8e8640d 26-Sep-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/rm-first-empty-line' into 'main'

Remove first and last empty lines

See merge request petsc/petsc!6892


# 92bec4ee 26-Sep-2023 Pierre Jolivet <pierre@joliv.et>

Remove first and last empty lines


# 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


# 3ba16761 10-Dec-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Make PetscErrorCode a non-discardable enum


# a207d08e 30-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# ed31fb71 30-Oct-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/codespell-typos' into 'release'

A few more codespell fixes

See merge request petsc/petsc!5786


# d5b43468 29-Oct-2022 Jose E. Roman <jroman@dsic.upv.es>

A few more codespell fixes


# 061e922f 22-Sep-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-09-21/2-bike-2-shed' into 'main'

Feature: Bicycle Storage Facility 2

See merge request petsc/petsc!5661


# d71ae5a4 21-Sep-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

source code format changes due to .clang-format changes


# f0af967e 29-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/fix-style-one-liners' into 'main'

Remove braces from one-liners w/o PetscCall()

See merge request petsc/petsc!5561


# ad540459 29-Aug-2022 Pierre Jolivet <pierre@joliv.et>

Remove braces from one-liners w/o PetscCall()


# 58d68138 23-Aug-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-08-21/clang-format-source' into 'main'

format repository with clang-format

See merge request petsc/petsc!5541


# 9371c9d4 22-Aug-2022 Satish Balay <balay@mcs.anl.gov>

clang-format: convert PETSc sources to comply with clang-format


# 5cab5458 26-Jul-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2022-07-23/add-petscbeginuser' into 'main'

Add PetscFunctionBeginUser to all PETSc C/C++ examples

See merge request petsc/petsc!5470


# 327415f7 23-Jul-2022 Barry Smith <bsmith@mcs.anl.gov>

Add PetscFunctionBeginUser to all PETSc C/C++ examples

Now the stack frames will contain the main program and the correct line numbers in them

git ls-files | egrep "(tutorials|tests)" | xargs sed -

Add PetscFunctionBeginUser to all PETSc C/C++ examples

Now the stack frames will contain the main program and the correct line numbers in them

git ls-files | egrep "(tutorials|tests)" | xargs sed -i "s?\(PetscCall(PetscInitialize(&argc\)?PetscFunctionBeginUser;\n \1?g"

Commit-type: error-checking, testing-fix
/spend 15m

show more ...


# 1335eab4 15-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jacobf/2022-04-05/petscattrformat-all-the-rest' into 'main'

Enable PETSC_ATTRIBUTE_FORMAT()

See merge request petsc/petsc!5085


# 63a3b9bc 06-Apr-2022 Jacob Faibussowitsch <jacob.fai@gmail.com>

Enable PETSC_ATTRIBUTE_FORMAT()


# 1d267255 09-Apr-2022 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-swarm-test-rewrite' into 'main'

Swarm: Rewrite of tests ex4 and ex5

See merge request petsc/petsc!5078


# 6a5217c0 02-Apr-2022 Matthew G. Knepley <knepley@gmail.com>

Swarm+TS: Update to monitors and viewers
- Clear monitor when size changes
- Do not recreate monitor if it exists
- Added new ASCII viewer


12