mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
changed order of fields in QueueItem struct.
This commit is contained in:
parent
972fb54f82
commit
2142ae9895
1 changed files with 2 additions and 2 deletions
|
|
@ -25,9 +25,9 @@ namespace openmc {
|
|||
// consistent locality improvements.
|
||||
struct QueueItem{
|
||||
int64_t idx; //!< particle index in event-based particle buffer
|
||||
double E; //!< particle energy
|
||||
int64_t material; //!< material that particle is in
|
||||
Particle::Type type; //!< particle type
|
||||
int64_t material; //!< material that particle is in
|
||||
double E; //!< particle energy
|
||||
|
||||
// Comparator sorts by particle type, then by material type, then by energy
|
||||
bool operator<(const QueueItem& rhs) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue