mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
formatting sweep
This commit is contained in:
parent
1f3bc2c4d3
commit
63ef983f19
16 changed files with 37 additions and 53 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue