mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Applied formatting corrections
This commit is contained in:
parent
7569139d51
commit
7ebc36b4a5
2 changed files with 34 additions and 40 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue