formatting sweep

This commit is contained in:
John Tramm 2020-01-14 02:14:09 +00:00
parent 1f3bc2c4d3
commit 63ef983f19
16 changed files with 37 additions and 53 deletions

View file

@ -33,8 +33,6 @@ scatter(Particle* p);
//! \brief Determines the average total, prompt and delayed neutrons produced
//! from fission and creates the appropriate bank sites.
//! \param p Particle to operate on
//! \param bank The particle bank to populate
//! \param use_fission_bank Indicates if shared global fission bank should be used
void
create_fission_sites(Particle* p);

View file

@ -62,6 +62,10 @@ void zero_flux_derivs(std::vector<double> v);
// Global variables
//==============================================================================
// Explicit vector template specialization declaration of threadprivate variable
// outside of the openmc namespace for the picky Intel compiler.
extern template class std::vector<openmc::TallyDerivative>;
namespace openmc {
namespace model {

View file

@ -23,12 +23,12 @@ class FilterBinIter
public:
//! Construct an iterator over bins that match a given particle's state.
FilterBinIter(const Tally& tally, const Particle* p, std::vector<FilterMatch> * particle_filter_matches);
FilterBinIter(const Tally& tally, const Particle* p, std::vector<FilterMatch>* particle_filter_matches);
//! Construct an iterator over all filter bin combinations.
//
//! \param end if true, the returned iterator indicates the end of a loop.
FilterBinIter(const Tally& tally, bool end, std::vector<FilterMatch> * particle_filter_matches);
FilterBinIter(const Tally& tally, bool end, std::vector<FilterMatch>* particle_filter_matches);
bool operator==(const FilterBinIter& other) const
{return index_ == other.index_;}
@ -41,7 +41,7 @@ public:
int index_ {1};
double weight_ {1.};
std::vector<FilterMatch> & filter_matches_;
std::vector<FilterMatch>& filter_matches_;
private:
void compute_index_weight();