Commit graph

1672 commits

Author SHA1 Message Date
Paul Romano
522b6be8eb
Merge pull request #1201 from pshriwise/capi_props
CAPI Property Exposure and Plotting Loop Isolation
2019-03-19 13:55:14 -05:00
Paul Romano
00343a327c
Merge pull request #1200 from smharper/remove_mesh_search
Remove a search from tally mesh code
2019-03-19 12:48:18 -05:00
Patrick Shriwise
43914d4204 Re-correcting direction and updating _Position tests. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
abd417c5f6 Updating other signatures to match new pixels_ type. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
2e2ec4a412 Addressing narrowing warning. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
656df47365 Addressing a couple style issues. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
378268bb37 Lassoing stars. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
805c336597 Updating template parameter, moving generate_dat def to header, renaming generate_data->gen_map and removing additional indirection. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
2b1d2917f7 Addressing some comments from @promano in the PR. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
2d144e21ac Updating/adding some docstrings. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
2c598129da Removing position_rgb function. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
e696374a91 Renaming the data attribute. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
9c48ee69a4 Removing now-unused function. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
3ab8680d5e Updates to voxel plotting, need to investigate differences. 2019-03-19 08:43:41 -05:00
Patrick Shriwise
09258c5b79 Plots working as before using the single loop. 2019-03-19 08:43:41 -05:00
Patrick Shriwise
49ee1c4048 Making datasets structs with set_value methods instead of templating setters. 2019-03-19 08:42:59 -05:00
Patrick Shriwise
cdaad6ad54 Making pointer for property_map const and fixing property_map tests. 2019-03-19 08:42:59 -05:00
Patrick Shriwise
b9a57b02d4 Exposing properties via capi and Python interface. 2019-03-19 08:42:59 -05:00
Patrick Shriwise
1d78df26eb Generalizing slice operation. Using templates to specialize data returned. 2019-03-19 08:42:59 -05:00
Sterling Harper
3de82b7438 Compute mesh intersections rather than searching 2019-03-17 14:32:36 -04:00
Patrick Shriwise
1df5e95f66 Using a DAGSurface/Cell class attribute to track DAGMC indices and contain +1's. 2019-03-15 15:55:20 -05:00
Paul Romano
04c5c20346
Merge pull request #1190 from pshriwise/capi_id_map
Add ID map function to the capi
2019-03-15 10:57:51 -05:00
dr.yuri
967161cee8 test changes 2019-03-15 12:16:49 +03:00
Patrick Shriwise
14e4665301 Addressing more of @promano's comments. 2019-03-14 11:10:45 -05:00
Paul Romano
86c33fa7cb Fix build warnings 2019-03-13 08:27:35 -05:00
Shikhar Kumar
58b5a265c2 Remove unnecessary lines 2019-03-12 19:51:18 -04:00
Shikhar Kumar
bf4ae24639 Be able to read CMFD data and load CMFD tallies from statepoint file 2019-03-12 17:35:14 -04:00
Patrick Shriwise
e7b3175da1 Addressing @promano's comments. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
263f70642c Renaming ID data structure. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
1e7271d0b4 Going back to PlotBase. Makes more sense as Plot inherits from it. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
c97d046bc6 Self review. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
1f13efecdb Rebase updates. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
a371f402a2 Correction to n_coord reset on particle for proper handling of universes.
Renaming CPlot to PlotBase and adding a capi test.

Mirroring use of Bank in the capi.

Updating header name. Adding documentation to capi plot module.

Removing plot base header and struct.
2019-03-12 11:53:50 -05:00
Patrick Shriwise
b8fec08eeb Some adjustments to the CPlot class. Moving attributes it doesn't need back to the main Plot class. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
177aff1a8d Separating Plot class into a C-compatible version for external use. Adding a function for returning an ID map. 2019-03-12 11:53:50 -05:00
Shikhar Kumar
8424a2c850 First pass at statepoint_write 2019-03-12 01:54:30 -04:00
Paul Romano
a48d590158 Store heating, gas production, and damage energy as redundant reactions 2019-03-10 14:42:13 -05:00
Shikhar Kumar
4094213dda Expose restart_run and statepoint_path through C API, get rid of uncessary lines in allocate_cmfd 2019-03-06 13:16:34 -05:00
amandalund
a254027f8a Merge branch 'develop' into density-effect-correction 2019-03-05 19:21:51 -06:00
Sterling Harper
5dc68fb665 Fix memory errors caught by Valgrind 2019-03-05 11:22:53 -05:00
amandalund
9e8e5a08b5 Address @paulromano comments on #1186 2019-03-05 09:05:09 -06:00
amandalund
49832db80b Calculate radiative and collision stopping power instead of using NIST ESTAR data 2019-03-03 17:40:57 -06:00
amandalund
f923fc65c4 Calculate the collision stopping power 2019-03-03 17:40:57 -06:00
amandalund
e9eadd936d Add function to calculate the density effect correction 2019-03-03 17:40:57 -06:00
Paul Romano
cd0ca81914 Rename other 'last' members in Particle 2019-03-01 16:00:36 -06:00
Paul Romano
368f89697d Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
Paul Romano
e3f9446c23 Determine lattice indices accounting for particle's direction 2019-03-01 15:59:21 -06:00
Paul Romano
e906198273 Turn Particle::initialize into the default constructor 2019-03-01 15:59:21 -06:00
Paul Romano
b28ee8087c Move ParticleType into Particle and use for type_ member 2019-03-01 15:59:21 -06:00
Paul Romano
b4ed267d4b Add trailing underscore on Particle data members 2019-03-01 15:59:21 -06:00