Skip to content

Commit

Permalink
Fix particle init
Browse files Browse the repository at this point in the history
  • Loading branch information
pgrete committed Mar 6, 2024
1 parent 1465cd4 commit db3c876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pgen/turbulence.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ void ProblemGenerator(Mesh *pmesh, ParameterInput *pin, MeshData<Real> *md) {
if (tracer_pkg->Param<bool>("enabled")) {

for (int b = 0; b < md->NumBlocks(); b++) {
pmb = md->GetBlockData(0)->GetBlockPointer();
pmb = md->GetBlockData(b)->GetBlockPointer();
auto &sd = pmb->swarm_data.Get();
auto &swarm = pmb->swarm_data.Get()->Get("tracers");
auto rng_pool = tracer_pkg->Param<RNGPool>("rng_pool");
Expand Down

0 comments on commit db3c876

Please sign in to comment.