Skip to content

Instantly share code, notes, and snippets.

View gwenchee's full-sized avatar

Gwendolyn Chee gwenchee

  • UIUC
  • Champaign, IL
View GitHub Profile
<simulation>
<archetypes>
<spec>
<lib>agents</lib>
<name>NullRegion</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Source</name>
</spec>
@gwenchee
gwenchee / cyclus output
Created October 28, 2018 17:53
cyclus output when running `cyclus simple_test.xml -v11`
gwenchee ~/github/cyder/input (sinksink) $ cyclus simple_test.xml -v11
:
.CL:CC CC _Q _Q _Q_Q _Q _Q _Q
CC;CCCCCCCC:C; /_\) /_\)/_/\\) /_\) /_\) /_\)
CCCCCCCCCCCCCl __O|/O___O|/O_OO|/O__O|/O__O|/O____________O|/O__
CCCCCCf iCCCLCC /////////////////////////////////////////////////
iCCCt ;;;;;. CCCC
CCCC ;;;;;;;;;. CClL. c
CCCC ,;; ;;: CCCC ; : CCCCi
CCC ;; ;; CC ;;: CCC` `C;
<simulation>
<archetypes>
<spec>
<lib>agents</lib>
<name>NullRegion</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Source</name>
</spec>
@gwenchee
gwenchee / inputfile_subprocesserror
Created November 23, 2018 23:36
subprocess error when tech pref gives same value at a certain time step
<simulation>
<archetypes>
<spec>
<lib>agents</lib>
<name>NullRegion</name>
</spec>
<spec>
<lib>cycamore</lib>
<name>Source</name>
</spec>
@gwenchee
gwenchee / checker.py
Created June 4, 2019 18:06
Test if PyNE installed correctly.
import numpy as np
from pyne.material import Material as m
from pyne import nucname
from scipy import constants as c
def test_decayheat(element):
"""This function checks if decay is working correctly in pyne
Input:
element: element name as a string ('u-235',etc.)
halflife: half-life of element in years or seconds
(base) arfc@arfc-VirtualBox:~/github/pyne$ python setup.py install --user
atomic_data.h generated is the same as existing file, skipping.
atomic_data.cpp generated is the same as existing file, skipping.
/home/arfc/anaconda3/bin/cmake
CMake command is
cmake .. -DCMAKE_INSTALL_PREFIX=/home/arfc/.local -DPYTHON_EXECUTABLE=/home/arfc/anaconda3/bin/python
/ \
) (( )) (
(@) /|\ ))_(( /|\