Applied formatting corrections

This commit is contained in:
Amelia Trainer 2021-03-04 23:02:19 -05:00
parent 7569139d51
commit 7ebc36b4a5
2 changed files with 34 additions and 40 deletions

View file

@ -13,8 +13,7 @@ namespace openmc {
//! Bins the incident neutron energy.
//==============================================================================
class CollisionFilter : public Filter
{
class CollisionFilter : public Filter {
public:
//----------------------------------------------------------------------------
// Constructors, destructors
@ -24,12 +23,12 @@ public:
//----------------------------------------------------------------------------
// Methods
std::string type() const override {return "numCollisions";}
std::string type() const override { return "numCollisions"; }
void from_xml(pugi::xml_node node) override;
void get_all_bins(const Particle& p, TallyEstimator estimator, FilterMatch& match)
const override;
void get_all_bins(const Particle& p, TallyEstimator estimator,
FilterMatch& match) const override;
void to_statepoint(hid_t filter_group) const override;
@ -46,9 +45,7 @@ protected:
// Data members
std::vector<int> bins_;
};
} // namespace openmc
#endif // OPENMC_TALLIES_FILTER_COLLISIONS_H