diff --git a/include/openmc/plot.h b/include/openmc/plot.h index 2e56c96587..91ac9ec207 100644 --- a/include/openmc/plot.h +++ b/include/openmc/plot.h @@ -96,13 +96,12 @@ enum class PlotColorBy { //=============================================================================== // Plot class //=============================================================================== -class PlotBase -{ - public: +class PlotBase { +public: template T get_map() const; // Members - public: +public: Position origin_; //!< Plot origin in geometry Position width_; //!< Plot width in geometry PlotBasis basis_; //!< Plot basis (XY/XZ/YZ) @@ -178,8 +177,7 @@ T PlotBase::get_map() const { return data; } -class Plot : public PlotBase -{ +class Plot : public PlotBase { public: // Constructor diff --git a/openmc/capi/plot.py b/openmc/capi/plot.py index 44c7ad3830..766ff95dcc 100644 --- a/openmc/capi/plot.py +++ b/openmc/capi/plot.py @@ -197,7 +197,7 @@ _dll.openmc_id_map.errcheck = _error_handler def id_map(plot): """ - Generate a 2-D map of (cell_id, material_id). Used for in-memory image + Generate a 2-D map of cell and material IDs. Used for in-memory image generation. Parameters @@ -225,7 +225,7 @@ _dll.openmc_property_map.errcheck = _error_handler def property_map(plot): """ - Generate a 2-D map of cell temperature and material density. Used for + Generate a 2-D map of cell temperatures and material densities. Used for in-memory image generation. Parameters