Skip to content

Commit

Permalink
fix bug by removing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Feb 24, 2021
1 parent b43ee13 commit c6b0680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Particles/PhysicalParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,11 +699,11 @@ PhysicalParticleContainer::AddPlasma (int lev, RealBox part_realbox)
amrex::Real rad = std::sqrt( (x-xc)*(x-xc) + (y-yc)*(y-yc) + (z-zc)*(z-zc));
// Adding buffer-factor to ensure all cells that intersect the ring
// inject particles
amrex::Real buffer_factor = 2.0;
amrex::Real buffer_factor = 0.5;
// is cell-center inside the pulsar ring
if (inj_pos->insidePulsarBoundsCC( rad, PulsarParm::particle_inject_rmin,
PulsarParm::particle_inject_rmax,
PulsarParm::dR_star*buffer_factor) );
PulsarParm::dR_star*buffer_factor) )
{
auto index = overlap_box.index(iv);
const amrex::XDim3 ppc_per_dim = inj_pos->getppcInEachDim();
Expand Down

0 comments on commit c6b0680

Please sign in to comment.