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

Pass arbitrary mesh file (.h5m, .vtk) to MCNP's source.F90 #41

Open
erelson opened this issue Feb 19, 2013 · 3 comments
Open

Pass arbitrary mesh file (.h5m, .vtk) to MCNP's source.F90 #41

erelson opened this issue Feb 19, 2013 · 3 comments

Comments

@erelson
Copy link
Contributor

erelson commented Feb 19, 2013

Need inspiration for the best way to do this in Fortran+MCNP.

@erelson
Copy link
Contributor Author

erelson commented Mar 14, 2013

The current approach is that source.h5m is the hardcoded file that is looked for.

The most practical way to stay within source.F90 is to add a (partial) parser for the r2s.cfg files. This would also be the solution for optional parameters, a la #45. This is probably a task for post-thesis/summer work, though.

@gonuke
Copy link
Member

gonuke commented Apr 2, 2013

You could hack the MCNP command line file reading stuff to optionally provide another filename on the command line. We do it for gcad, lcad, fcad...

@erelson
Copy link
Contributor Author

erelson commented Apr 3, 2013

I had been approaching this with the goal of keeping the portability of (and ability to quickly swap out) source.F90 files in mind. I will look into it at some point, though.

@erelson erelson removed their assignment Aug 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants