mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 05:35:49 -04:00
Addressing a couple style issues.
This commit is contained in:
parent
190c8aa712
commit
656df47365
2 changed files with 6 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue