| 045208b8 | 19-Dec-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Hamiltonian ex2: Massive cleanup - Moved remapping to DMSwarm - Removed fake 1D mode - Now get velocity DM from the Swarm cell DM - Removed initCoordinates and initVelocity fields - Optimized tabulat
Hamiltonian ex2: Massive cleanup - Moved remapping to DMSwarm - Removed fake 1D mode - Now get velocity DM from the Swarm cell DM - Removed initCoordinates and initVelocity fields - Optimized tabulation creation in electric field evaluation - Removed ComputeError() - Removed remap flag - Changed all 2D runs to 1D runs
show more ...
|
| 9072cb8b | 13-Dec-2024 |
Matthew G. Knepley <knepley@gmail.com> |
TS Hamiltonian ex2: Add projection remapping |
| 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 ...
|
| 75155f48 | 07-Nov-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Hamiltonian ex2: Add 1D test - Add E field viewer, fix plot name and window placement - Reorganize Poisson viewers |
| b98a7184 | 09-Nov-2024 |
James Wright <james@jameswright.xyz> |
DM: Deprecate DM{Get,Set}Section
They were already replaced by DM{Get,Set}LocalSection back in 3.12, but weren't deprecated for some reason |
| 00f5d003 | 06-Nov-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release' |
| f61a2500 | 01-Nov-2024 |
Satish Balay <balay@mcs.anl.gov> |
tests: switch '-V' option (to '-v') in src/ts/events/tests/ex3.c - this conflicts with '-V' option in config/petsc_harness.sh
This conflict is triggered by 'make test V=0' as used by 'make alltests'
tests: switch '-V' option (to '-v') in src/ts/events/tests/ex3.c - this conflicts with '-V' option in config/petsc_harness.sh
This conflict is triggered by 'make test V=0' as used by 'make alltests'
Ref: balay@al:~/petsc$ make test search=ts_event_tests-ex3_V Using MAKEFLAGS: -- search=ts_event_tests-ex3_V TEST arch-ci-linux-cmplx-single-arm/tests/counts/ts_event_tests-ex3_V.counts ok ts_event_tests-ex3_V+V-1e2_change5-0 ok diff-ts_event_tests-ex3_V+V-1e2_change5-0 ok ts_event_tests-ex3_V+V-1e2_change5-1 ok diff-ts_event_tests-ex3_V+V-1e2_change5-1 ok ts_event_tests-ex3_V+V-1e5_change5-0 ok diff-ts_event_tests-ex3_V+V-1e5_change5-0 ok ts_event_tests-ex3_V+V-1e5_change5-1 ok diff-ts_event_tests-ex3_V+V-1e5_change5-1 ok ts_event_tests-ex3_V+V-1e8_change5-0 ok diff-ts_event_tests-ex3_V+V-1e8_change5-0 ok ts_event_tests-ex3_V+V-1e8_change5-1 ok diff-ts_event_tests-ex3_V+V-1e8_change5-1 balay@al:~/petsc$ make test search=ts_event_tests-ex3_V V=0 Using MAKEFLAGS: -- V=0 search=ts_event_tests-ex3_V not ok diff-ts_event_tests-ex3_V+V-0_change5-0 * Error code: 1 * 2,12c2,3 * < 0 1. 1.78245e-07 pass * < 0 1.05 4.52791e-08 pass * < 0 2. 1.44922e-07 pass * < 0 3. 1.08548e-07 pass * < 0 4. 4.04742e-07 pass * < 0 5. 2.7984e-06 pass * < 0 6. 2.24499e-07 pass * < 0 7. 1.88794e-07 pass * < 0 8. 2.82053e-07 pass * < 0 9. 5.73366e-07 pass * < 0 9.05 1.11373e-07 pass * --- * > 0 1.05 0.0500001 fail * > 0 9.05 8. fail ...
show more ...
|
| 2e45e1b1 | 24-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release' |
| e58947e7 | 22-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'jrwrigh/cleanup_malloc' into 'release'
sys: Cleanup PetscMalloc and PetscCalloc
See merge request petsc/petsc!7892 |
| 32603206 | 02-Oct-2024 |
James Wright <james@jameswright.xyz> |
Address potential Malloc/Calloc ternary operator bugs
- Bug either by the argument of the ternary operator being cast inappropriately to `size_t` or by the values themselves not being cast to `s
Address potential Malloc/Calloc ternary operator bugs
- Bug either by the argument of the ternary operator being cast inappropriately to `size_t` or by the values themselves not being cast to `size_t` when necessary.
show more ...
|
| 300f1712 | 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
brain dead fixes for useless casts in examples |
| 835f2295 | 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Brain dead fixes for useless casts |
| ad781fe3 | 21-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'
Unify handling of context destructors
See merge request petsc/petsc!7900 |
| 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 |
| f1e6e573 | 18-Oct-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Hamiltonian ex2: Optimizations, Fix projection - Cache FEM mass matrix - Cache mesh geometry - Compute projection with correct DM - Put discretization in velocity DM |
| 84467f86 | 08-Sep-2024 |
Matthew G. Knepley <knepley@gmail.com> |
Hamiltonian ex2/ex6: Rewrite particle initialization - Add logging events - Fix field handling
FOO ex6 |
| 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 ...
|
| 49abdd8a | 29-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)
Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those t
Unifies all context destructors to have a form of PetscCtxDestroyFn == PetscErrorCode (*)(void **)
Changes the previous subset of destructor APIs that used PetscErrorCode (*)(void *) (mostly those that used PetscContainer
- Now allows any context to be a PetscObject - Will provide a cleaner mapping to bindings in other languages - Simplifies the maintenance of PETSc source code; improves clarity
Not backward compatible, compiler warnings will tell users what functions need to be updated
show more ...
|
| 4dc7d032 | 30-Sep-2024 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix example use of typedef with function pointer naming |
| 8f0628bb | 09-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/ci-compile-examples' into 'release'
compile examples in CI
See merge request petsc/petsc!7924 |
| f5c5fea7 | 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
CI: enable compilation of examples in some stage-1 jobs |
| 6827d6b3 | 07-Oct-2024 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'stefanozampini/asan' into 'release'
address sanitizer fixes
See merge request petsc/petsc!7927 |
| 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 ...
|
| 0ef292d3 | 05-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
configure: detect GNU address sanitizer
disable PetscCheckPointer when using a sanitizer |
| d070fe2e | 03-Oct-2024 |
Stefano Zampini <stefano.zampini@gmail.com> |
Fix enumerated and non-enumerated type in conditional expression [-Werror=extra] |