History log of /petsc/src/ts/tutorials/hamiltonian/output/ex2_none_1d.out (Results 1 – 6 of 6)
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


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


# caf1f3f3 06-Jun-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jpusztay/example-twostream-update' into 'main'

Update Hamiltonian Electrostatic Example with Landau Damping

See merge request petsc/petsc!7418


# 8214e71c 02-Apr-2024 Joe <josephpu@buffalo.edu>

TS ex2: Replace swarm ex9 with hamiltonian ex2

- Parallelize initialization and primal implementation
- Add test based output, mpiu vs callmpi, fix global particle number
- Fix parallelization for m

TS ex2: Replace swarm ex9 with hamiltonian ex2

- Parallelize initialization and primal implementation
- Add test based output, mpiu vs callmpi, fix global particle number
- Fix parallelization for mixed form, require superlu_dist for test case

show more ...