Patrick Shriwise
77c911be05
Using std::vector accessors.
2020-09-03 08:29:47 -05:00
Patrick Shriwise
9c62259645
Adjusting the level value.
2020-09-03 08:29:47 -05:00
Patrick Shriwise
e0689fda07
Updates to enable plotting of individual universe levels.
2020-09-03 08:29:47 -05:00
Andrew Johnson
697f8c77eb
Apply templated write_message to plot.cpp
2020-08-06 07:05:01 -04:00
Andrew Johnson
b6276ea9e4
Reduce number of string concats with fmt::format
2020-08-06 07:04:59 -04: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
Paul Romano
cc919d25c5
Use fmt/core.h header to reduce compile time
2020-02-10 10:33:57 -06:00
Paul Romano
7383a52f1f
Use fmt::print and fmt::format in many places
2020-02-10 10:33:57 -06:00
Gavin Ridley
9483c409a8
convert all but one thing in cell.h to enums
2020-01-16 15:41:45 -05:00
John Tramm
0602ddd8a3
refactor seed and seed aray variable names
2019-12-05 19:50:31 +00:00
John Tramm
638172e68d
refactor of prn() interface and python interface changes
2019-12-04 16:35:01 +00:00
John Tramm
44ba6805dc
added seeds to the plotting model namespace so that if multiple plots are called, they will have different colors
2019-11-22 18:23:16 +00:00
John Tramm
5502f38580
partially done with refactoring
2019-11-21 22:19:15 +00:00
Paul Romano
4d4c174a1b
Allow voxel plots to be colored by material
2019-10-28 21:43:26 -05:00
Patrick Shriwise
71957b24b8
Removing some hasty comments.
2019-06-16 20:59:37 -05:00
Patrick Shriwise
42627cfce4
Resizing overlap plot counters if plot is asking for overlap plotting.
2019-06-16 20:56:45 -05:00
Patrick Shriwise
89c0d06b30
Moving a few defaults into the class def.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
daf129f1ec
Initializing overlap color in the class constructor.
2019-06-14 11:15:16 -05:00
Patrick Shriwise
489b35c90a
Update src/plot.cpp
...
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
2b7057667c
Making sure overlap check counter is initialized if a plot requests that overlaps be drawn.
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
Sterling Harper
b804ddc952
Address comments on #1246
2019-06-06 17:12:49 -04:00
Sterling Harper
7f8e993e93
Implement rectilinear meshline plots
2019-05-29 15:48:58 -04:00
Sterling Harper
7a49a29f38
Refactor and fix RegularMesh meshline plots
2019-05-29 15:39:57 -04:00
Sterling Harper
f4ae14af39
Use RegularMesh* for entropy and ufs
2019-05-29 11:03:32 -04:00
Sterling Harper
ce2bf83254
Start implementing RectilinearMesh
2019-05-24 11:14:35 -04:00
Paul Romano
cca544292a
Isolate __builtin_unreachable to macro
2019-03-26 16:16:06 -05:00
Paul Romano
1d5242ede1
Fix a whole bunch of -Wall warnings
2019-03-26 14:11:47 -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
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
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
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