File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -757,7 +757,6 @@ void Particle::cross_transformation_bc(
757757 // once after. For mesh surface filters, we need to artificially move
758758 // the particle slightly back in case the surface crossing is coincident
759759 // with a mesh boundary
760-
761760 if (!model::active_surface_tallies.empty ()) {
762761 score_surface_tally (*this , model::active_surface_tallies);
763762 }
@@ -773,9 +772,9 @@ void Particle::cross_transformation_bc(
773772 r () = new_r;
774773 u () = new_u;
775774
776- // Reassign particle's cell and surface
777- coord ( 0 ). cell = cell_last ( 0 );
778- surface () = - surface ();
775+ // Note that particle's cell and surface are not strictly assigned upon
776+ // surface crossing. The cell will be assigned during the
777+ // neighbor_list_find_cell call below.
779778
780779 // If a transformation surface is coincident with a lattice or universe
781780 // boundary, it is necessary to redetermine the particle's coordinates in
You can’t perform that action at this time.
0 commit comments