TS Hamiltonian ex2: Fixed 1D mixed EM- Add dmPot and isPot to support a potential subspace- Allow named vectors to be from a subspace- Add moments cellDM to compute charge density
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 ...
TS Hamiltonian ex2: Add projection remapping
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()
Hamiltonian ex2: Add 1D test- Add E field viewer, fix plot name and window placement- Reorganize Poisson viewers
brain dead fixes for useless casts in examples
Merge branch 'barry/2024-09-29/fix-function-typedef-style' into 'main'Unify handling of context destructorsSee merge request petsc/petsc!7900
Merge branch 'knepley/feature-hamiltonian-ex2-opt' into 'main'Fix Hamiltonian ex2 for Landau DampingSee merge request petsc/petsc!7937
Hamiltonian ex2: Optimizations, Fix projection- Cache FEM mass matrix- Cache mesh geometry- Compute projection with correct DM- Put discretization in velocity DM
Hamiltonian ex2/ex6: Rewrite particle initialization- Add logging events- Fix field handlingFOO ex6
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 thatused 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 clarityNot backward compatible, compiler warnings will tell users what functions need to be updated
Fix example use of typedef with function pointer naming
CI: enable compilation of examples in some stage-1 jobs
Fix typos
CI: update checkclangformat to use clang-format-19.1.0
Remove unneeded parentheses
Use NULL or nullptr instead of casted 0
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
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MINCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded
Change from deprecated PETSC_MAX/MIN_INT to PETSC_INT_MAX/MINCommit-type: i.e. error-checking, optimization, bug-fix, portability-fix, testing-fix, style-fix, feature, documentation, exampleFunded-by:Project:Time: hoursReported-by:Thanks-to:Development Tools: Vim, Emacs, Eclipse
Add support to MPIU_Allreduce to prevent int overflow with a single integer argument
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
Merge branch 'hongzh/imex-fastslow' into 'main'IMEX solver for fast slow systemsSee merge request petsc/petsc!7722
Add a new ARKIMEX solver for fast-slow systems
Remove empty comments from the source, that is /* */Also remove some /******************* commentsAlso remove some multiline comments with /* and */ at the beginning and end of each line
TSMonitorSolutionVTK: add dumping interval
12345678910>>...20