History log of /petsc/src/dm/impls/swarm/swarm.c (Results 26 – 50 of 294)
Revision Date Author Comments
# 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


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


# 6452c1b5 03-Dec-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jpusztay/feature-hip-swarm' into 'main'

Allow swarm to give back VECHIP

See merge request petsc/petsc!8039


# 7f92dde0 02-Dec-2024 Rylanor <jjoep93@gmail.com>

Allow swarm to give back VECHIP


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


# fe11354e 08-Sep-2024 Matthew G. Knepley <knepley@gmail.com>

DMSwarm: Add DMSwarmSortRestorePointsPerCell()
- Add debugging info to Swarm


# 0f6b61eb 15-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-plex-plot' into 'main'

Plex+Viewer: PETSCVIEWERPYTHON and PyVista support for DMPLEX

See merge request petsc/petsc!7884


# 4fc69c0a 11-Oct-2024 Matthew G. Knepley <knepley@gmail.com>

Swarm+Viewer: Add PyVista support


# e4a561a4 07-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# fd0575bf 07-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jose/fix-compile-warnings' into 'release'

Fix compiler warnings

See merge request petsc/petsc!7923


# ea17275a 05-Oct-2024 Jose E. Roman <jroman@dsic.upv.es>

Fix compiler warnings from NVIDIA nvc 24.7

"src/vec/is/section/interface/section.c", line 1268: warning: pointless comparison of unsigned integer with zero [unsigned_compare_with_zero]
PetscCa

Fix compiler warnings from NVIDIA nvc 24.7

"src/vec/is/section/interface/section.c", line 1268: warning: pointless comparison of unsigned integer with zero [unsigned_compare_with_zero]
PetscCall(PetscMalloc1(last >= 0 ? s->bc->atlasOff[last] + s->bc->atlasDof[last] : 0, &s->bcIndices));
^

"src/mat/impls/aij/mpi/mumps/mumps.c", line 2101: warning: loop is not reachable [loop_not_reachable]
PetscCheck(!schur, PETSC_COMM_SELF, PETSC_ERR_SUP, "Cannot use -%smat_mumps_use_omp_threads with the Schur complement feature", ((PetscObject)F)->prefix ? ((PetscObject)F)->prefix : "");
^

"src/dm/impls/swarm/swarm.c", line 217: warning: variable "flg" was set but never used [set_but_not_used]
PetscBool flg;
^

"src/ts/utils/dmplexlandau/plexland.c", line 1848: warning: loop is not reachable [loop_not_reachable]
PetscCall(PetscFree4(ww, xx, yy, invJ_a));
^

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


# 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


# a4987ed7 29-May-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-05-17/fix-sowing-object-destroy' into 'main'

Sowing bfort generation of XXXDestroy

See merge request petsc/petsc!7559


# 0764c050 18-May-2024 Barry Smith <bsmith@mcs.anl.gov>

Update sowing bfort for automatic generation of XXXDestroy() code

Fix some Fortran stub code to work with generation of XXXDestroy()

Add some runtime tests for XXXCreate() calls

Also update sowing

Update sowing bfort for automatic generation of XXXDestroy() code

Fix some Fortran stub code to work with generation of XXXDestroy()

Add some runtime tests for XXXCreate() calls

Also update sowing and fortranimpl.h to use PETSC_NULLPTR instead of NULL

show more ...


# 1ed6e3ff 25-Apr-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-04-13/fix-sowing-strings' into 'main'

Update PETSc to use sowing bfort that handles string arguments and PETSC_NULL_INT

See merge request petsc/petsc!7480


# cc4c1da9 14-Apr-2024 Barry Smith <bsmith@mcs.anl.gov>

Update source code removing all unneeded /*@C and associated manual stubs and interfaces


12345678910>>...12