52 std::bitset<3> flags_;
A set to flag components of a vector field.
Components(Component i)
Constructor.
bool operator[](size_t i) const
Indexing operator to check if a component is flagged.
friend Components operator+(Component i, Component j)
See docstring on function declaration.
Components operator+(Component i)
Flag an additional component using the plus operator.
Accelerator functionality.
constexpr SERAC_HOST_DEVICE auto operator+(dual< gradient_type > a, double b)
addition of a dual number and a non-dual number
Component
Type giving vector components meaningful names and restricting inputs to Components class to meaningf...