Skip to content

Commit

Permalink
Merge pull request #1183 from parthenon-hpc-lab/brryan/fix_particle_a…
Browse files Browse the repository at this point in the history
…rray

Fix particle leapfrog example initialization data
  • Loading branch information
Yurlungur authored Oct 2, 2024
2 parents 3de592d + a03d3f6 commit ea0d9b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Current develop

### Added (new features/APIs/variables/...)
- [[PR 1183]](https://github.com/parthenon-hpc-lab/parthenon/pull/1183) Fix particle leapfrog example initialization data
- [[PR 1179]](https://github.com/parthenon-hpc-lab/parthenon/pull/1179) Make a global variable for whether simulation is a restart
- [[PR 1171]](https://github.com/parthenon-hpc-lab/parthenon/pull/1171) Add PARTHENON_USE_SYSTEM_PACKAGES build option
- [[PR 1161]](https://github.com/parthenon-hpc-lab/parthenon/pull/1161) Make flux field Metadata accessible, add Metadata::CellMemAligned flag, small perfomance upgrades
Expand Down
2 changes: 1 addition & 1 deletion example/particle_leapfrog/particle_leapfrog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ void ProblemGenerator(MeshBlock *pmb, ParameterInput *pin) {
const Real &y_max = pmb->coords.Xf<2>(jb.e + 1);
const Real &z_max = pmb->coords.Xf<3>(kb.e + 1);

const auto &ic = particles_ic;
const auto ic = particles_ic;

const bool no_particles = pin->GetOrAddBoolean("Particles", "disable", false);
if (no_particles) return;
Expand Down

0 comments on commit ea0d9b7

Please sign in to comment.