Commit graph

9978 commits

Author SHA1 Message Date
Patrick Shriwise
8673c924ac Adding test for hex lattice with coincident interior surface. 2019-04-01 17:30:34 -05:00
Patrick Shriwise
da9a876185 Some corrections to comments. Adding coincident to geometry header. 2019-04-01 17:23:23 -05:00
Patrick Shriwise
865ad405ba Cleaning up the get_indices function for HexLattice a bit. 2019-04-01 17:23:23 -05:00
Patrick Shriwise
e62dd935a6 Adding coincidence check when comparing d_surf, d_lat. 2019-04-01 17:23:23 -05:00
Patrick Shriwise
c69d53ee86 fix fix fix to the k increment. 2019-04-01 17:23:23 -05:00
Patrick Shriwise
b8d5cfcefb Doing coincidence calc only once. 2019-04-01 17:23:23 -05:00
Patrick Shriwise
4f7fafae27 Adding dot product check for coincident particles. 2019-04-01 17:23:23 -05:00
Patrick Shriwise
2c3c9b2ccc Moving from array to variables. 2019-04-01 17:23:23 -05:00
Patrick Shriwise
aa62941f9f Handle the z-direction the same way as in RectLattice. 2019-04-01 17:23:23 -05:00
Paul Romano
13a9c316b2
Merge pull request #1209 from liangjg/photon-analog
Fix photon tally issues when using analog/collision estimators
2019-04-01 09:27:28 -05:00
Paul Romano
8d8e475171
Merge pull request #1208 from smharper/geometry_optimization_alt
Faster evaluation of simple cell `contains`
2019-04-01 09:26:56 -05:00
Sterling Harper
5d5b82f0ae Cleanup UniversePartitioner code 2019-03-31 12:29:18 -04:00
Sterling Harper
4b76c28a3b Optimize find_cell on universes with many z-planes 2019-03-31 10:55:26 -04:00
Sterling Harper
2dc02c5774 Remove unneeded rpn tokens in-place 2019-03-31 07:38:18 -04:00
liangjg
b7a0fc5187 Merge branch 'photon-analog' into heat-photon-kerma
Conflicts:
	openmc/data/photon.py
2019-03-29 15:41:47 -04:00
Sterling Harper
49c49110b7
Merge pull request #1206 from paulromano/more-updates
Miscellaneous updates
2019-03-29 11:31:24 -04:00
liangjg
ac048527c8 change cylinder size to make sure collision occurs 2019-03-28 22:15:09 -04:00
liangjg
c24a8b2f18 add tracklength and collision tally for comparison 2019-03-28 21:54:50 -04:00
liangjg
a8e942b740 update photon tally test to cover analog estimator 2019-03-28 21:08:41 -04:00
liangjg
e36f67c5bb fix particle tally filter bug: the index is stored wrong 2019-03-28 21:08:00 -04:00
liangjg
f6ace6ece7 fix photon analog tally: do not zero out p->wgt_last_ before tallying 2019-03-28 17:03:06 -04:00
liangjg
ebf4482d5b fix photon analog 2019-03-28 16:59:45 -04:00
liangjg
f5cff7baef generate heating number 2019-03-28 16:58:46 -04:00
Paul Romano
61445ea60f Merge branch 'develop' into more-updates 2019-03-28 14:11:46 -05:00
Paul Romano
8e7bf4b186
Merge pull request #1205 from liangjg/refactor-photon
Add from_hdf5() in `openmc.data.IncidentPhoton`
2019-03-28 14:05:39 -05:00
Sterling Harper
6bcec6fa19 Remove operator tokens from simple cell RPN 2019-03-27 21:24:46 -04:00
liangjg
0f248381d1 updated photon data test to check cross sections and data by from_hdf5() 2019-03-27 13:24:00 -07:00
liangjg
deda8ce076 tally photon heating with energy lost for analog estimator 2019-03-27 15:26:42 -04:00
liangjg
ea71b9e377 replace all dataset.value with dataset[()] (or occasionally dataset[...]) 2019-03-27 11:45:48 -04:00
liangjg
0898642164 dataset.value -> dataset[()] in photon.py 2019-03-27 11:11:33 -04:00
liangjg
8926a70bad fix style issues suggested by @paulromano 2019-03-27 10:44:37 -04:00
liangjg
7905b196c3 update _SUBSHELLS array 2019-03-27 10:41:39 -04:00
Paul Romano
2efd58a694 Use dataset[()] instead of deprecated dataset.value 2019-03-27 06:47:22 -05:00
Paul Romano
cca544292a Isolate __builtin_unreachable to macro 2019-03-26 16:16:06 -05:00
Paul Romano
1d5242ede1 Fix a whole bunch of -Wall warnings 2019-03-26 14:11:47 -05:00
liangjg
db66dfbd17 add tests for IncidentPhoton.from_hdf5 2019-03-26 14:09:42 -04:00
Paul Romano
fc8b2a5001 Add two papers to publication list 2019-03-26 12:49:24 -05:00
liangjg
fefb68a866 Add from_hdf5() in IncidentPhoton 2019-03-26 13:33:34 -04:00
liangjg
cfb11882a7 update tally_scoring 2019-03-26 13:06:30 -04:00
liangjg
cdde6b55b3 generate photon heating number from ENDF 2019-03-26 12:56:22 -04:00
liangjg
dfdb074718 currently only the heating factors (not heating cross sections) can be extracted from ace as there is no 517 cross section in photoatomic library 2019-03-26 12:56:21 -04:00
liangjg
e1a575b4d0 fix zero heating for analog estimator tally 2019-03-26 12:56:21 -04:00
liangjg
acf4b3616c fix photon reaction __repr__ 2019-03-26 12:56:20 -04:00
liangjg
21888e6cb5 adjust heating number when reading from ACE 2019-03-26 12:56:19 -04:00
liangjg
90c70f910a first result looks good 2019-03-26 12:56:19 -04:00
liangjg
a2375910ac update heating tally to allow for analog estimator 2019-03-26 12:56:18 -04:00
liangjg
4eee743ec5 added to_hdf5 in photon reaction to simplify export 2019-03-26 12:56:17 -04:00
liangjg
36641b1029 create from_hdf5 in photon reactions to simplify photon export 2019-03-26 12:56:17 -04:00
liangjg
0661082337 added to_hdf5 for atomic relaxation 2019-03-26 12:56:17 -04:00
liangjg
69e1a9d30d Add from_hdf5 for atomic relaxation data 2019-03-26 12:56:16 -04:00