Skip to content

Commit

Permalink
fix tab
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed May 19, 2022
1 parent 8a0a724 commit 8cd4e27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Particles/PhysicalParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox)
// instead of modiying number of particles, the weight is changed
pcounts[index] = num_ppc;
} else if (pulsar_modifyParticleWtAtInjection == 0) {
const amrex::XDim3 ppc_per_dim = inj_pos->getppcInEachDim();
const amrex::XDim3 ppc_per_dim = inj_pos->getppcInEachDim();
// Modiying number of particles injected
// (could lead to round-off errors)
pcounts[index] = static_cast<int>(ppc_per_dim.x*std::cbrt(pulsar_injection_fraction))
Expand Down

0 comments on commit 8cd4e27

Please sign in to comment.