Skip to content

Commit

Permalink
Merge pull request #1843 from McStasMcXtrace/fix_scatter_in_elliptic_…
Browse files Browse the repository at this point in the history
…guide_gravity

Elliptical_guide_gravity did not work in GROUPS as it always SCATTERS
  • Loading branch information
willend authored Feb 7, 2025
2 parents d81a002 + 40dc985 commit 03679bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcstas-comps/optics/Elliptic_guide_gravity.comp
Original file line number Diff line number Diff line change
Expand Up @@ -1213,7 +1213,6 @@ TRACE
latestParticleCollision.collisionType=0;

PROP_Z0;
SCATTER;

double Gloc;
double Gx,Gy,Gz;
Expand All @@ -1229,6 +1228,7 @@ TRACE
|| fabs(y) > guideInfo.entranceVerticalWidth/2.0 )
ABSORB;

SCATTER;

int bounces = 0;
for(bounces = 0; bounces <= 1000; bounces++){
Expand Down

0 comments on commit 03679bb

Please sign in to comment.