Skip to content

Commit

Permalink
Fixed a bug in the routine for scaline the bond force after a fusion …
Browse files Browse the repository at this point in the history
…event.
  • Loading branch information
Bruce J Palmer committed Sep 19, 2024
1 parent 1271a81 commit 7a465f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/des/bmx_pc_fusion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ bool BMXParticleContainer::EvaluateTipFusion (const Vector<MultiFab*> cost,

}
} // end of neighbor loop
incrementBondScale(&particle.rdata(0),&particle.idata(0),fpar);
}); // end of loop over particles

amrex::Gpu::Device::synchronize();
Expand Down Expand Up @@ -586,7 +587,6 @@ void BMXParticleContainer::CleanupFusion (const Vector<MultiFab*> cost,
auto& particle = pstruct[i];

// increment bond scaling parameter
incrementBondScale(&particle.rdata(0),&particle.idata(0),fpar);
RealVect pos1(particle.pos());

const auto neighbs = nbor_data.getNeighbors(i);
Expand Down

0 comments on commit 7a465f4

Please sign in to comment.