Skip to content

Commit

Permalink
Merge branch 'BenWibking/cic-particles' of github.com:quokka-astro/qu…
Browse files Browse the repository at this point in the history
…okka into BenWibking/cic-particles
  • Loading branch information
BenWibking committed Jan 18, 2024
2 parents 787ecbb + 7f2ed26 commit 9edf57f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/simulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1020,7 +1020,8 @@ template <typename problem_t> void AMRSimulation<problem_t>::calculateGpotAllLev
#ifdef AMREX_PARTICLES
if (do_cic_particles != 0) {
// deposit particles using amrex::ParticleToMesh
amrex::ParticleToMesh(*CICParticles, amrex::GetVecOfPtrs(rhs), 0, finest_level, quokka::CICDeposition{Gconst_, quokka::ParticleMassIdx, 0, 1});
amrex::ParticleToMesh(*CICParticles, amrex::GetVecOfPtrs(rhs), 0, finest_level,
quokka::CICDeposition{Gconst_, quokka::ParticleMassIdx, 0, 1});
}
#endif

Expand Down

0 comments on commit 9edf57f

Please sign in to comment.