Commit graph

121 commits

Author SHA1 Message Date
Patrick Shriwise
45dd3ecc06 Updating some documentation. 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
0270a4fe93 Cleaning out unused variables in create_voxel. 2019-03-19 08:44:36 -05:00
Patrick Shriwise
506ecb9ee1 Reverting change to plots.xml. Updating z coordinate location. 2019-03-19 08:43:41 -05:00
Patrick Shriwise
d55f46f374 Correcting origin location. 2019-03-19 08:43:41 -05:00
Patrick Shriwise
3ab8680d5e Updates to voxel plotting, need to investigate differences. 2019-03-19 08:43:41 -05:00
Patrick Shriwise
c8843d1572 Decrementing NOT_FOUND to avoid a clash with MATERIAL_VOID. 2019-03-19 08:43:41 -05:00
Patrick Shriwise
898d1cfb7e Using xtensor initializer constructor. 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
4c50cbcda8 Removing original loop from create_ppm. 2019-03-19 08:43:41 -05:00
Patrick Shriwise
eb95c91a2d Replacing plot loop in create_ppm with new get_id_map method. 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
Patrick Shriwise
23fc873a69 Using a normalized direction for plotting. 2019-03-15 15:55:20 -05:00
Patrick Shriwise
61ad86dba0 Updating error raised and a sylte change. 2019-03-15 09:31:59 -05:00
Patrick Shriwise
14e4665301 Addressing more of @promano's comments. 2019-03-14 11:10:45 -05: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
b0bafee385 Flipping id_map ordering. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
a0931879a6 Re-adding OpenMP pragmas. 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
Patrick Shriwise
7c810d6847 Correcting binary write. 2019-03-12 11:53:50 -05:00
Patrick Shriwise
c6a8c8bf13 Adding function for writing plot ids to a binary file. 2019-03-12 11:53:50 -05:00
Paul Romano
368f89697d Use Position and Direction in Particle class 2019-03-01 16:00:36 -06:00
Paul Romano
e906198273 Turn Particle::initialize into the default constructor 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
Paul Romano
38e39c4486 Use unique_ptr consistently for global vectors 2019-03-01 15:56:21 -06:00
Paul Romano
4877ffcccd
Merge pull request #1180 from pshriwise/zero_copy_voxel_to_vtk
Reduced Memory (and faster) Voxel to VTK
2019-03-01 15:55:45 -06:00
Patrick Shriwise
14f9d04ad7 Changing zyx ordering of voxel files to xyz and updating the voxel-to-vtk script. Adding check for version number in the script to avoid incorrect conversion of older voxel files. 2019-02-27 17:11:16 -06:00
Paul Romano
4a89075890 Use 0-based indices for materials consistently 2019-02-26 10:37:24 -06:00
Paul Romano
627ee79f0c Move read_materials_xml and read_plots_xml to C++ 2019-02-20 15:45:30 -06:00
Paul Romano
faa70b168f Remove weight correction method for resonance scattering, rename ARES -> RVS 2019-01-10 15:53:45 -06:00
Paul Romano
6393db8daa Put plots in model namespace 2018-11-14 15:00:16 -06:00
Paul Romano
5fae5ffa9e Namespacing for mesh/material global variables 2018-11-14 15:00:16 -06:00
Paul Romano
6436cab302 More namespacing for global variables 2018-11-14 15:00:15 -06:00
Paul Romano
3cfe71621b Put global variables in cell.h in model namespace 2018-11-14 15:00:15 -06:00
Paul Romano
995905bd1c Use mpi::master instead of openmc_master on C++ side 2018-11-14 15:00:15 -06:00
Paul Romano
97634d59ad Combined string_functions.h and string_utils.h 2018-11-06 10:23:11 -06:00
Patrick Shriwise
dc3a7e726f Trailing whitespace removal. 2018-11-02 23:08:51 -05:00
Patrick Shriwise
f52664b29f Fixing custom plot naming. 2018-11-02 22:35:47 -05:00
Patrick Shriwise
daffe0923d Removing RGB index defs. Writing to ppm more cleanly. 2018-11-02 22:33:09 -05:00
Patrick Shriwise
148c588a39 Updating random_color generation. 2018-11-02 22:18:26 -05:00
Patrick Shriwise
9ed73c3c96 Removing unused function. 2018-11-02 22:10:00 -05:00
Patrick Shriwise
3c3c3fb282 Renaming rdm_color function. 2018-11-02 22:07:51 -05:00