Celeritas  0.5.0-86+4a8eea4
List of all members
celeritas::NoTransformation Class Reference

Apply an identity transformation. More...

#include <NoTransformation.hh>

Type aliases

using StorageSpan = Span< real_type const, 0 >
 Transform type identifier.
 
static CELER_CONSTEXPR_FUNCTION TransformType transform_type ()
 Transform type identifier.
 
 NoTransformation ()=default
 Construct with an identity NoTransformation.
 
CELER_FUNCTION NoTransformation (StorageSpan)
 Construct inline from storage.
 
CELER_FUNCTION StorageSpan data () const
 Get a view to the data for type-deleted storage.
 
CELER_FUNCTION Real3 const & transform_up (Real3 const &d) const
 Transform from daughter to parent (identity)
 
CELER_FUNCTION Real3 const & transform_down (Real3 const &d) const
 Transform from parent to daughter (identity)
 
CELER_FUNCTION Real3 const & rotate_up (Real3 const &d) const
 Rotate from daughter to parent (identity)
 
CELER_FUNCTION Real3 const & rotate_down (Real3 const &d) const
 Rotate from parent to daughter (identity)
 
NoTransformation calc_inverse () const
 Transform type identifier.
 

Detailed Description

Apply an identity transformation.

This trivial class has the Transformation interface but has no storage requirements and simply passes through all its data.


The documentation for this class was generated from the following file: