Struct SweepChunk::GroupsetMoments

Nested Relationships

This struct is a nested type of Class SweepChunk.

Struct Documentation

struct GroupsetMoments

Where a sweep reads the groupset’s source moments and adds its flux moments.

Moment m of group g of the groupset at node n is entry n * node_stride + m * moment_stride + group_offset + g of both arrays. Initialize it with braces, which zero any members left out.

Public Functions

inline std::size_t Index(std::size_t n, unsigned int m) const

Index of moment m of the groupset’s first group at node n.

Public Members

const double *source
double *phi
std::size_t node_stride
std::size_t moment_stride
std::size_t group_offset