History log of /petsc/src/ts/tutorials/hamiltonian/ex2.c (Results 26 – 50 of 85)
Revision Date Author Comments
# e169c97a 21-Nov-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'knepley/feature-swarm-pyvista' into 'main'

Swarm: Initial Viz with PyVista

See merge request petsc/petsc!8004


# 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


# 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


# 0a78fc91 02-Oct-2024 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 160390d7 29-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/typos' into 'release'

Fix typos

See merge request petsc/petsc!7893


# d7c1f440 29-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Fix typos


# d0e6bf2a 25-Sep-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jolivet/clang-format-19' into 'main'

clang-format-19

See merge request petsc/petsc!7644


# 57508ece 17-Sep-2024 Pierre Jolivet <pierre@joliv.et>

Remove unneeded parentheses


# 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


# 6a210b70 10-Sep-2024 Barry Smith <bsmith@mcs.anl.gov>

Add support to MPIU_Allreduce to prevent int overflow with a single integer argument


# 6497c311 25-Aug-2024 Barry Smith <bsmith@mcs.anl.gov>

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

show more ...


# fda22ce0 08-Jul-2024 Satish Balay <balay@mcs.anl.gov>

Merge branch 'barry/2024-07-01/fix-petscoptionsgetviewer' into 'main'

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

See merge request petsc/petsc!7667


# 648c30bc 08-Jul-2024 Barry Smith <bsmith@mcs.anl.gov>

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VI

The use case of PetscOptionsGetViewer() has evolved to no longer be the get/restore model

Hence the code needs to be refactored

Introduce PetscCallNull() and PetscCallMPINull() to simplify PETSC_VIEWER_XXXX_() routines

Reported-by: James Wright
Thanks-to: Jeremy L Thompson

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


# c8629ca8 17-Dec-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'stefanozampini/minsurf-local' into 'main'

Improve support for nonlinear domain decomposition solvers

See merge request petsc/petsc!7084


# 6493148f 28-Nov-2023 Stefano Zampini <stefano.zampini@gmail.com>

DMPLEXSNES: support objective functions


# f4d89474 22-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge remote-tracking branch 'origin/release'


# 7be314ac 21-Jul-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'hongzh/release/fix-symplectic' into 'release'

Correct the description of the basic symplectic integrator

See merge request petsc/petsc!6739


# 25de42d4 21-Jul-2023 Hong Zhang <hongzhang@anl.gov>

Correct the description of the basic symplectic integrator


# 5a7a9864 14-Mar-2023 Satish Balay <balay@mcs.anl.gov>

Merge branch 'jeremy/less-strcpy-strcat' into 'main'

Use Petsc[Strncpy,Strlcat,Memcpy] over Petsc[Strcpy,Strcat]

Closes #1332

See merge request petsc/petsc!6115


# c6a7a370 24-Feb-2023 Jeremy L Thompson <jeremy@jeremylt.org>

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over

Clean up PETSc str ops to use more secure implementations where possible. These include:

- Use PetscStrncpy()/PetscStrlcat()/PetscMemcpy() over PetscStrcpy()/PetscStrcat()
- Use PetscArraycpy() over PetscMemcpy() as appropriate for string buffer copying
- Use built in string from name over hardcoding
- Use sizeof over hardcoded length
- Replace some Strlcat with Strncpy when offset is known

show more ...


1234