Skip to content

Commit

Permalink
Fixes reordering in random ray. Refs openmc-dev#2997
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilnovak committed May 11, 2024
1 parent cfe210d commit 8936303
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions include/openmc/random_ray/random_ray.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,22 @@ class RandomRay : public Particle {
static double distance_active_; // Active ray length
static unique_ptr<Source> ray_source_; // Starting source for ray sampling

private:
int negroups_;

public:

//----------------------------------------------------------------------------
// Public data members
vector<float> angular_flux_;

//----------------------------------------------------------------------------
// Private data members
private:
vector<float> delta_psi_;
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
Expand Down

0 comments on commit 8936303

Please sign in to comment.