Patrick Shriwise
89c0d06b30
Moving a few defaults into the class def.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
5e323539ff
Update include/openmc/plot.h
...
Co-Authored-By: Paul Romano <paul.k.romano@gmail.com>
2019-06-14 11:15:16 -05:00
Patrick Shriwise
43959714ee
Allowing overlap color setting via plots.xml
2019-06-14 11:15:16 -05:00
Patrick Shriwise
e837f2eb19
Adding an xml setting for the showing the overlaps.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
552ab71a50
Making sure default colors aren't being used.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
5c78cd6259
Correcting a couple of issues in setting the OVERLAP value and color.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
02b07a52b6
Adding overlap coloring.
2019-06-14 11:15:16 -05:00
Paul Romano
1d5242ede1
Fix a whole bunch of -Wall warnings
2019-03-26 14:11:47 -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
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
1d78df26eb
Generalizing slice operation. Using templates to specialize data returned.
2019-03-19 08:42:59 -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
Paul Romano
627ee79f0c
Move read_materials_xml and read_plots_xml to C++
2019-02-20 15:45:30 -06:00
Paul Romano
6393db8daa
Put plots in model namespace
2018-11-14 15:00:16 -06:00
Patrick Shriwise
dc3a7e726f
Trailing whitespace removal.
2018-11-02 23:08:51 -05:00
Patrick Shriwise
bcc26f96ab
Throwing error for incorrect vector size in RGBColor constructor.
2018-11-02 23:06:19 -05:00
Patrick Shriwise
daffe0923d
Removing RGB index defs. Writing to ppm more cleanly.
2018-11-02 22:33:09 -05:00
Patrick Shriwise
3c3c3fb282
Renaming rdm_color function.
2018-11-02 22:07:51 -05:00
Patrick Shriwise
8fab7f4217
Moving RGBColor to uint8_t.
2018-10-31 17:55:18 -05:00
Patrick Shriwise
fd6ee5938d
Taking advantage of the RGBColor struct.
2018-10-31 15:42:08 -05:00
Patrick Shriwise
be10bc1781
Making RGBColor a struct.
2018-10-31 15:26:32 -05:00
Patrick Shriwise
43488e0286
Use unsigned char in RGBColor.
2018-10-31 15:14:14 -05:00
Patrick Shriwise
66bdf04511
Updating RGBColor to a char array.
2018-10-30 22:30:45 -05:00
Patrick Shriwise
51578a7342
Style correction.
2018-10-30 22:05:01 -05:00
Patrick Shriwise
e7ff427b64
Updating types so write_attributes can be used uniformly.
2018-10-30 22:02:53 -05:00
Patrick Shriwise
3e36ed8e34
More PR comment resolution.
2018-10-30 20:13:36 -05:00
Patrick Shriwise
e5d8cdfc37
Updating enum names to camel case.
2018-10-30 20:04:24 -05:00
Patrick Shriwise
1a7abf8147
Updating Plot class member names.
2018-10-30 19:58:34 -05:00
Patrick Shriwise
a6830c9ca5
Further changes based on PR comments.
2018-10-30 19:41:30 -05:00
Patrick Shriwise
3935aed6bf
Moving ImageData to an xtensor structure.
2018-10-30 11:19:23 -05:00
Patrick Shriwise
c05a3e455b
Removing particle pointers. Updating omp block.
2018-10-30 10:47:18 -05:00
Patrick Shriwise
2aa3437cc0
More updates based on PR comments.
2018-10-30 08:59:36 -05:00
Patrick Shriwise
7a35ac8b5e
Removing _plot_node member of Plot.
2018-10-30 08:59:36 -05:00