mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Co-authored-by: Paul Romano <paul.k.romano@gmail.com>
This commit is contained in:
parent
cfe210da22
commit
a7d6939c11
2 changed files with 6 additions and 6 deletions
|
|
@ -38,14 +38,14 @@ public:
|
|||
// Public data members
|
||||
vector<float> angular_flux_;
|
||||
|
||||
private:
|
||||
//----------------------------------------------------------------------------
|
||||
// Private data members
|
||||
private:
|
||||
vector<float> delta_psi_;
|
||||
int negroups_;
|
||||
FlatSourceDomain* domain_ {nullptr}; // pointer to domain that has flat source
|
||||
// data needed for ray transport
|
||||
vector<float> delta_psi_;
|
||||
double distance_travelled_ {0};
|
||||
int negroups_;
|
||||
bool is_active_ {false};
|
||||
bool is_alive_ {true};
|
||||
}; // class RandomRay
|
||||
|
|
|
|||
|
|
@ -70,9 +70,9 @@ double RandomRay::distance_active_;
|
|||
unique_ptr<Source> RandomRay::ray_source_;
|
||||
|
||||
RandomRay::RandomRay()
|
||||
: negroups_(data::mg.num_energy_groups_),
|
||||
angular_flux_(data::mg.num_energy_groups_),
|
||||
delta_psi_(data::mg.num_energy_groups_)
|
||||
: angular_flux_(data::mg.num_energy_groups_),
|
||||
delta_psi_(data::mg.num_energy_groups_),
|
||||
negroups_(data::mg.num_energy_groups_)
|
||||
{}
|
||||
|
||||
RandomRay::RandomRay(uint64_t ray_id, FlatSourceDomain* domain) : RandomRay()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue