mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Get rid of SourceSite class and just use ndarray with compound datatype
This commit is contained in:
parent
97a7582c44
commit
9bd1dc0cb9
3 changed files with 7 additions and 64 deletions
|
|
@ -26,7 +26,7 @@ class SourcepointTestHarness(TestHarness):
|
|||
outstr = TestHarness._get_results(self)
|
||||
|
||||
# Add the source information.
|
||||
xyz = sp.source[0].xyz
|
||||
xyz = sp.source[0]['xyz']
|
||||
outstr += ' '.join(['{0:12.6E}'.format(x) for x in xyz])
|
||||
outstr += "\n"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue