Addressing a couple style issues.

This commit is contained in:
Patrick Shriwise 2019-03-18 14:16:56 -05:00
parent 190c8aa712
commit 656df47365
2 changed files with 6 additions and 8 deletions

View file

@ -96,13 +96,12 @@ enum class PlotColorBy {
//===============================================================================
// Plot class
//===============================================================================
class PlotBase
{
public:
class PlotBase {
public:
template<class T> 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

View file

@ -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