Commit graph

190 commits

Author SHA1 Message Date
Patrick Shriwise
f3f114ff0e Removing call to set LibMesh threads and updating call for setting point containment tolerance. 2021-04-07 19:06:15 -05:00
Patrick Shriwise
9695cc2771 Updating unstructured mesh constructors to take a filename (template). Exposing unstructured mesh addition via CAPI. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
df997644b6 Moving bounding box back into surface. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
80d35e2bb8 Relying on LibMesh's BoundingBox and Sphere. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
57041cee5d Updates for threaded point location. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
dfdedc6ede Some cleanup. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
64cae08c43 A lot of updates to the LibMesh implementation. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
87f9a495ef Write files using a tally-based filename to support multiple tallies at once. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
2410a4dfba Updating how the libmesh solution set is handled. Also applying data for a single score, single nuclide tally. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
2226dc9f6e Adding more attributes and methods necessary for writing out an exodus mesh with data. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
781bc8adf5 Adding equation system to mesh. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
abf7195251 Updates to element pointer types and updates to tracking for tracklength method. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
4ed2272208 Collision-based is working. Initialization is a nightmare right now. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
d5e16a1ed0 Adding mesh intersection check. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
afda211b3e Filling in a lot of the necessary methods for accumulating collision and track-length tallies. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
c95a0a914a Start of libmesh implementation. 2021-04-07 19:05:08 -05:00
Patrick Shriwise
01f4e5674e Some cleanup and removal of commented sections after rebase. 2021-04-07 19:04:42 -05:00
Patrick Shriwise
36e99d70fb Using a common count_sites implementation. 2021-04-07 19:04:42 -05:00
Patrick Shriwise
cf55d15a7d Adding to mesh abstraction to support other operations external to the mesh source files. 2021-04-07 19:04:42 -05:00
Shikhar Kumar
6cb5b8b149 Address @smharper comments 2021-03-08 20:17:44 -05:00
Shikhar Kumar
b3b6f6fedb Use dynamic_cast to get type of sub-class instead of storing type as variable 2021-02-12 19:18:57 -05:00
Shikhar Kumar
f83ab39b99 First pass at exposing rectilinear mesh through C API 2021-02-08 22:25:17 -05:00
aprilnovak
1207c901be Move bins_crossed implementation into StructuredMesh base class. Refs #1695 2020-10-19 15:56:26 -05:00
aprilnovak
008a73fa36 Move n_bins and n_surface_bins implementations to StructuredMesh base class. Refs #1695 2020-10-19 15:55:28 -05:00
aprilnovak
9a36ea405a Move get_bin implementation up to StructuredMesh base class. Refs #1695 2020-10-19 15:55:28 -05:00
aprilnovak
bcc072e0a8 Move intersects method up to base class and combine the functionality using new get_index_in_direction function. Refs #1695 2020-10-19 15:55:26 -05:00
aprilnovak
45b7dfb5a0 Move implementation of get_indices_from_bin to StructuredMesh base class. Refs #1695 2020-10-19 15:54:32 -05:00
aprilnovak
7d0838d27b Move get_bin_from_indices into StructuredMesh base class. Refs #1695 2020-10-19 15:54:32 -05:00
aprilnovak
0b0d03541d Put get_indices implementation into StructuredMesh base class. Refs #1695 2020-10-19 15:54:32 -05:00
Paul Romano
bf34c4bcad
Merge pull request #1645 from pshriwise/umesh_scores
Fix for data crossover in VTK filess when using multiple tallies w/ unstructured mesh.
2020-08-26 21:22:21 -05:00
Paul Romano
6992e53398 Change declaration order of maps used for vectors
If the destructor of an object tries to remove an entry from the map, there's no
guarantee it exists if the map has already been destroyed (because it was
declared after the vector of objects), resulting in a segfault. By declaring the
map first, we avoid this. Currently an issue for Nuclide, but potentially other
classes in the future.
2020-07-29 15:48:14 -05:00
Patrick Shriwise
0bcc9f2c06 Making sure score data is removed from the unstructured mesh. 2020-07-23 13:47:57 -05:00
Paul Romano
498fb181d6 Change (surface_)bins_crossed to accept const ref instead of pointer 2020-04-23 16:37:23 -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
Patrick Shriwise
36801b0602 Adding comments for clarity. 2020-03-19 15:21:05 -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
1b2456632b Writing unstructured mesh results with statepoint. 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