An open source method of characteristics neutron transport code.
TrackStackIndexes Struct Reference

A stack track represents a track in a z-stack of tracks and this struct contains the azim, xy, polar, and z indices of a track. More...

#include <TrackGenerator3D.h>

Public Member Functions

 TrackStackIndexes ()
 

Public Attributes

int _azim
 
int _xy
 
int _polar
 
int _z
 

Detailed Description

A stack track represents a track in a z-stack of tracks and this struct contains the azim, xy, polar, and z indices of a track.

Constructor & Destructor Documentation

◆ TrackStackIndexes()

TrackStackIndexes::TrackStackIndexes ( )
inline

Constructor initializes each attribute to -1

Member Data Documentation

◆ _azim

int TrackStackIndexes::_azim

The azimuthal index (in 0 to _num_azim / 2)

◆ _polar

int TrackStackIndexes::_polar

The polar index (in 0 to _num_polar)

◆ _xy

int TrackStackIndexes::_xy

The xy index (in 0 to _num_x[_azim] + _num_y[_azim])

◆ _z

int TrackStackIndexes::_z

The z index in the z-stack (in 0 to _tracks_per_stack[_azim][_xy][_polar])


The documentation for this struct was generated from the following file: