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

Shem energy structure #238

Merged
merged 6 commits into from
Jan 18, 2021
Merged

Conversation

sombrereau
Copy link
Contributor

This pull adds in the SHEM361 neutron energy group structure, generalizes the function to make a group structure that snaps to the boundaries of the ANL2081 structure to an arbitrary fine group structure and uses that function to make a 33 group structure -- SHEM33_361 -- that is like ANL33, but snapped to the boundaries of SHEM361.

This addresses issue #237

@CLAassistant
Copy link

CLAassistant commented Jan 18, 2021

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@ntouran ntouran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve with inline comment about comments. Can you also add another comment where the methods are called that says that these do run at import time which will eventually be a factor in armi import/startup time and that we probably should consider calling them in a more structured way during the armi bootstrap process?


GROUP_STRUCTURE["SHEM361"] = [
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you just give a reference for SHEM361 in a comment here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ntouran -- that's a good idea (its mildly tricky to find for free); here you go.

@@ -275,14 +275,391 @@ def getGroupStructureType(neutronEnergyBoundsInEv):
)

# fmt: on
def _create_multigroup_structures_on_finegroup_energies(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

interesting that we have camel_case functions in here. Anyway you're being consistent so we'll allow it!

@sombrereau sombrereau merged commit 05ce7fc into terrapower:master Jan 18, 2021
@sombrereau sombrereau deleted the shem_energy_structure branch December 2, 2021 21:48
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