Struct SourceFlags

Struct Documentation

struct SourceFlags

Shared source flags and callbacks.

Although the concrete source-function implementations now live under the discrete ordinates problem, the source flag set and callback function signature remain shared because LBSProblem still owns the active source-function interface.

Public Functions

inline SourceFlags()
inline SourceFlags(SourceType type)

SourceFlags is a combination of SourceTypes.

inline SourceFlags &operator|=(SourceType type)
inline SourceFlags &operator|=(const SourceFlags &src)
inline bool Empty() const
inline void Unset(SourceType type)
inline bool operator&(const SourceType &type) const