mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
remove unnecessary pass by value for plot class
This commit is contained in:
parent
86e7403a21
commit
12b6deaacf
2 changed files with 11 additions and 12 deletions
|
|
@ -241,12 +241,12 @@ public:
|
|||
//! Add mesh lines to image data of a plot object
|
||||
//! \param[in] plot object
|
||||
//! \param[out] image data associated with the plot object
|
||||
void draw_mesh_lines(Plot pl, ImageData& data);
|
||||
void draw_mesh_lines(Plot const& pl, ImageData& data);
|
||||
|
||||
//! Write a ppm image to file using a plot object's image data
|
||||
//! \param[in] plot object
|
||||
//! \param[out] image data associated with the plot object
|
||||
void output_ppm(Plot pl, const ImageData& data);
|
||||
void output_ppm(Plot const& pl, const ImageData& data);
|
||||
|
||||
//! Initialize a voxel file
|
||||
//! \param[in] id of an open hdf5 file
|
||||
|
|
@ -280,11 +280,11 @@ void read_plots_xml();
|
|||
|
||||
//! Create a ppm image for a plot object
|
||||
//! \param[in] plot object
|
||||
void create_ppm(Plot pl);
|
||||
void create_ppm(Plot const& pl);
|
||||
|
||||
//! Create an hdf5 voxel file for a plot object
|
||||
//! \param[in] plot object
|
||||
void create_voxel(Plot pl);
|
||||
void create_voxel(Plot const& pl);
|
||||
|
||||
//! Create a randomly generated RGB color
|
||||
//! \return RGBColor with random value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue