|
Celeritas 0.7-develop+980877a
|
Apply an identity transformation. More...
#include <NoTransformation.hh>
Type aliases | |
| using | StorageSpan = LdgSpan< real_type const, 0 > |
| Transform type identifier. | |
| static constexpr TransformType | transform_type () |
| Transform type identifier. | |
| NoTransformation ()=default | |
| Construct with an identity NoTransformation. | |
| NoTransformation (StorageSpan) | |
| Construct inline from storage. | |
| StorageSpan | data () const |
| Get a view to the data for type-deleted storage. | |
| Real3 | transform_up (Real3 const &d) const |
| Transform from daughter to parent (identity) | |
| Real3 | transform_down (Real3 const &d) const |
| Transform from parent to daughter (identity) | |
| Real3 | rotate_up (Real3 const &d) const |
| Rotate from daughter to parent (identity) | |
| Real3 | rotate_down (Real3 const &d) const |
| Rotate from parent to daughter (identity) | |
| NoTransformation | calc_inverse () const |
| Transform type identifier. | |
| constexpr bool | operator== (NoTransformation const &, NoTransformation const &) noexcept |
| constexpr bool | operator!= (NoTransformation const &, NoTransformation const &) noexcept |
| Transform type identifier. | |
Apply an identity transformation.
This trivial class has the Transformation interface but has no storage requirements and simply passes through all its data. The operations return Real3 by value to avoid exposing references to their input arguments; the fixed-size three-scalar value is inexpensive to copy, and the compiler can often eliminate the copy when the operation is inlined.
|
friend |
Host-only comparators