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

Add convenience enumerators for ENDF options #132

Open
whaeck opened this issue Jun 16, 2021 · 0 comments
Open

Add convenience enumerators for ENDF options #132

whaeck opened this issue Jun 16, 2021 · 0 comments

Comments

@whaeck
Copy link
Member

whaeck commented Jun 16, 2021

For example:

  • to easily identify resonance formalisms and types: ResonanceType.resolved and ResonanceType.unresolved

We can then write code like:

if resonances.LRU == Formalism.ReichMoore :

    print( 'found one' )

instead of:

if resonances.LRU == 3 :

    print( 'found one' )
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

1 participant