mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-21 14:35:27 -04:00
Changing CellBorn filter name to match other class names
This commit is contained in:
parent
06fbf3fe01
commit
8d58588341
3 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ namespace openmc {
|
|||
//! Specifies which cell the particle was born in.
|
||||
//==============================================================================
|
||||
|
||||
class CellbornFilter : public CellFilter {
|
||||
class CellBornFilter : public CellFilter {
|
||||
public:
|
||||
//----------------------------------------------------------------------------
|
||||
// Methods
|
||||
|
|
|
|||
|
|
@ -115,7 +115,7 @@ Filter* Filter::create(const std::string& type, int32_t id)
|
|||
} else if (type == "cell") {
|
||||
return Filter::create<CellFilter>(id);
|
||||
} else if (type == "cellborn") {
|
||||
return Filter::create<CellbornFilter>(id);
|
||||
return Filter::create<CellBornFilter>(id);
|
||||
} else if (type == "cellfrom") {
|
||||
return Filter::create<CellFromFilter>(id);
|
||||
} else if (type == "cellinstance") {
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
namespace openmc {
|
||||
|
||||
void CellbornFilter::get_all_bins(
|
||||
void CellBornFilter::get_all_bins(
|
||||
const Particle& p, TallyEstimator estimator, FilterMatch& match) const
|
||||
{
|
||||
auto search = map_.find(p.cell_born());
|
||||
|
|
@ -14,7 +14,7 @@ void CellbornFilter::get_all_bins(
|
|||
}
|
||||
}
|
||||
|
||||
std::string CellbornFilter::text_label(int bin) const
|
||||
std::string CellBornFilter::text_label(int bin) const
|
||||
{
|
||||
return "Birth Cell " + std::to_string(model::cells[cells_[bin]]->id_);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue