CORE-GATECH-GROUP / serpent-tools

A suite of parsers designed to make interacting with SERPENT output files simple and flawless
http://serpent-tools.readthedocs.io/en/latest/
MIT License
52 stars 33 forks source link

API Support Serpent 2.1.32; Default still 2.1.31 #447

Closed drewejohnson closed 3 years ago

drewejohnson commented 3 years ago

Can be toggled with

serpentTools.settings.rc["serpentVersion"] = "2.1.32"

or in a context manager to unset after reading

with serpentTools.settings.rc as temprc:
    temprc["serpentVersion"] = "2.1.32"
    r = serpentTools.read("InnerAssembly_res.m")

New variable groups for 2.1.32:

  energy-deposition: !!set
    {EDEP_MODE, EDEP_DELAYED, EDEP_KEFF_CORR, EDEP_LOCAL_EGD, EDEP_COMP, EDEP_CAPT_E}

and the burnup-coeff group is modified to include FIMA

Changes also made to 2.1.31 group for cases where the variables in that group did not match those in the base group

Variable group changes updated in documentation.

Closes #445