Commit graph

1672 commits

Author SHA1 Message Date
Paul Romano
e7ab675e3e Have ufs_get_weight accept a reference instead of pointer 2020-04-23 16:37:23 -05:00
Paul Romano
498fb181d6 Change (surface_)bins_crossed to accept const ref instead of pointer 2020-04-23 16:37:23 -05:00
Paul Romano
23b984ba3a Change get_all_bins to accept a const ref instead of pointer 2020-04-23 16:37:23 -05:00
Paul Romano
2c923f9f5c Changes in output.cpp from PullRequest Inc. review 2020-04-23 16:37:23 -05:00
John Tramm
b83cad1170 fixed _OPEMP define typo to correctly read as _OPENMP 2020-04-21 21:08:02 +00:00
Paul Romano
0eae88f871
Merge pull request #1539 from rockfool/timer_reset
Reset timer in depletion for transport performance
2020-04-08 16:38:54 -05:00
Paul Romano
dd283875a8 Remove restart_timers and have openmc_init/run start/stop total timer 2020-04-07 13:49:10 -05:00
rockfool
e645acdfa1 add timer restart for C API 2020-04-01 23:03:02 -04:00
rockfool
944afb1d20 fix a bug in timer reset 2020-04-01 21:00:06 -04:00
Paul Romano
9b499b4096
Merge pull request #1527 from pshriwise/unstructured_mesh
Unstructured Mesh - Initial implementation
2020-03-31 08:54:56 -05:00
Patrick Shriwise
0e3d58958e Address PR suggestions and comments from @paulromano. 2020-03-30 10:35:33 -05:00
Patrick Shriwise
7e386ff7ff Updating to new midpoint method. 2020-03-26 13:56:23 -05:00
Patrick Shriwise
895249b6ca Addressing changes from PR review. 2020-03-25 03:21:39 -05:00
Patrick Shriwise
ca7cba57df
Apply @paulromano 's suggestions from code review.
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-25 03:14:58 -05:00
Gavin Ridley
cfeb14252d
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:51 -04:00
Gavin Ridley
5e614afe0f
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:42 -04:00
Gavin Ridley
aa47f443dd
Update include/openmc/source.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:35 -04:00
Gavin Ridley
e8247b2476
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:29 -04:00
Gavin Ridley
0c8e1852dd
Update include/openmc/distribution_multi.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:22 -04:00
Gavin Ridley
714a001d80
Update include/openmc/distribution_spatial.h
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2020-03-20 12:04:13 -04:00
Patrick Shriwise
36801b0602 Adding comments for clarity. 2020-03-19 15:21:05 -05:00
Gavin Ridley
24843a4593 add some accessors for copying stuff to GPU 2020-03-19 15:43:39 -04:00
Patrick Shriwise
f566386661 Various cleanup changes. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
afdf5a9f89 Some cleanup of the unstructured mesh source. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
c394030891 Doc string for attribute and a format update. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
01efd1ef59 Added a function for converting score integers to strings instead of storing them. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
5d18ea67c6 Using score and nuclide strings for a nicer tag name. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
1b2456632b Writing unstructured mesh results with statepoint. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
6749f72fec Moving tally writing into the statepoint function. Should write anytime a statepoint file is asked for. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
25139a9d98 Updating score tagging for more meaningful values on the mesh. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
13c5348cd5 Another fix to this pesky data writing problem - need contiguous memory. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
dc7bc30b88 Some additions/improvements after the rebase. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
da9b713adb Setting all unstructured mesh tally data/error values at once during accumulate. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
aac774ee75 Writing scores between each batch. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
3f2556aa9c Adding umesh tally write between batches when accumulating. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
2d40130095 Factoring out a new SructuredMesh class. Plot method placement still needs to be resolved.
Updating unstructured mesh to allow use of indices only.

Going back to a single unstructure mesh class until we need the added abstraction.
2020-03-19 14:15:26 -05:00
Patrick Shriwise
b454617c64 Some cleanup and removal of commented sections after rebase. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
ff0af7d594 Corrections after rebase. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
f8fb7ab92d Some edits, fixes, documentation. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
2e8d345ffe First successfull umesh tally, maybe. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
b6ec54fef5 Making common function for laying ray over unstructured mesh. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
6cc00a8420 Using a common count_sites implementation. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
8d4f937e73 Removing unstructured mesh vector. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
f0c739bfe6 Updates to get reg mesh working as an abstracted class 2020-03-19 14:15:26 -05:00
Patrick Shriwise
b42bcc2760 Wrapping more umesh stuff into ifdefs. Moving pointers into vector during initialization. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
a10429f7fa Adding to mesh abstraction to support other operations external to the mesh source files. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
231844faff Filling in call to kdtree for computing track lengths. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
56934d1159 Finishing concrete implementation. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
fc829a110f Building tree manually. 2020-03-19 14:15:26 -05:00
Patrick Shriwise
c49b328d4b Adding method for finding bins_crossed. 2020-03-19 14:15:26 -05:00