52 std::bitset<3> flags_;
A set to flag components of a vector field.
Components operator+(Component i)
Flag an additional component using the plus operator.
Components(Component i)
Constructor.
friend Components operator+(Component i, Component j)
See docstring on function declaration.
bool operator[](size_t i) const
Indexing operator to check if a component is flagged.
Accelerator functionality.
Component
Type giving vector components meaningful names and restricting inputs to Components class to meaningf...
FieldStateWeightedSum operator+(const FieldState &x, const FieldState &y)
add two FieldState