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

Restructure the MontecarloRunner #636

Closed
wants to merge 15 commits into from

Conversation

ftsamis
Copy link
Member

@ftsamis ftsamis commented Jul 26, 2016

This PR introduces the necessary changes to the MontecarloRunner in order to make it work with the restructured Radial1DModel.

The MontecarloRunner now needs a separate reference to the plasma since the restructured Radial1DModel doesn't have the plasma as an attribute anymore.
@wkerzendorf
Copy link
Member

looking good.

@ftsamis
Copy link
Member Author

ftsamis commented Aug 4, 2016

@wkerzendorf It doesn't. :( I realized that I need to change montecarlo.pyx as well because it uses the now gone model.tardis_config a lot.

Working on it now...

@yeganer
Copy link
Contributor

yeganer commented Aug 4, 2016

I think of MonteCarloRunner as the bridge between python and C. So all information that needs to be passed to the C should be available in the runner.
I don''t know if that makes sense but that's how I see it, do you agree/disagree?

@ftsamis
Copy link
Member Author

ftsamis commented Aug 4, 2016

@yeganer That's right, it already gets the model and the plasma, but montecarlo.pyx was accessing model.tardis_config which is no longer available. So the point now is changing those access attempts to the correct thing.

Should be relatively easy.

@ftsamis
Copy link
Member Author

ftsamis commented Sep 12, 2016

Closing in favor of #652.

@ftsamis ftsamis closed this Sep 12, 2016
@ftsamis ftsamis deleted the restructure-montecarlo branch December 20, 2016 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants