Changing CellBorn filter name to match other class names

This commit is contained in:
Patrick Shriwise 2022-11-05 21:19:00 -05:00
parent 06fbf3fe01
commit 8d58588341
3 changed files with 4 additions and 4 deletions

View file

@ -11,7 +11,7 @@ namespace openmc {
//! Specifies which cell the particle was born in.
//==============================================================================
class CellbornFilter : public CellFilter {
class CellBornFilter : public CellFilter {
public:
//----------------------------------------------------------------------------
// Methods

View file

@ -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") {

View file

@ -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_);
}