Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

McStas 2018 Survey Feedback 5 #730

Open
willend opened this issue Jan 10, 2019 · 2 comments
Open

McStas 2018 Survey Feedback 5 #730

willend opened this issue Jan 10, 2019 · 2 comments

Comments

@willend
Copy link
Contributor

@willend willend commented Jan 10, 2019

More intuitive use of multi processor / grid computing. New feature: allow neutrons to go back to previous components

@willend willend changed the title McStas 2019 Survey Feedback 5 McStas 2018 Survey Feedback 5 Jan 10, 2019
@mads-bertelsen

This comment has been minimized.

Copy link
Contributor

@mads-bertelsen mads-bertelsen commented Jan 11, 2019

Allowing neutrons to go back to previous components would require changes in many components that simply assume the neutrons are originating upstream. If your requirements are related to samples or sample environment, the Union components may be able to help. Here one can have for example co aligned samples and sample environment where the ray can go back and forth between these components until it naturally leaves.

@willend

This comment has been minimized.

Copy link
Contributor Author

@willend willend commented Jan 11, 2019

Agreed @mads-bertelsen, Union is a way forward here.

Another way that has been applied in the past is the use of:

  • Instrument variables
  • WHEN statements
  • JUMP

But this is typically very involved and requires lots of thinking and experimentation.

( Another semi- relevant note is that we in fact are considering to go through all components to ensure that they work both in a "forward" and "backward" application, which would allow the same type of "reverse transport" that SIMRES uses, i.e.:

  • Start the neutrons at the sample position with unit weight
  • Transport them backwards to the source to establish weight etc.
  • Teleport back to the sample position to scatter off sample and become detected in detector(s)
    )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.