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

adding openmoc material support #56

Open
shimwell opened this issue Aug 26, 2020 · 1 comment
Open

adding openmoc material support #56

shimwell opened this issue Aug 26, 2020 · 1 comment

Comments

@shimwell
Copy link
Collaborator

Adding openmoc support should be possible using inbuild openmc methods, perhaps this helps

        try:
            import openmoc
        except ImportError as err:
            raise err('openmoc not found, Material.openmoc_material method not available')

        self.openmoc_material = openmc.openmoc_compatible.get_openmoc_material
@shimwell
Copy link
Collaborator Author

shimwell commented Sep 1, 2020

The pip install openmoc needs swig, unfortunatly the pip install for swig pip install swiglpk does not appear to be quite enough to get openmoc compiled during the install. Users will have to do apt-get install swig prior to install ing openmoc with pip and using openmoc

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

No branches or pull requests

1 participant