@@ -28,35 +28,33 @@ namespace PMacc
2828{
2929namespace math
3030{
31- namespace tools
32- {
3331namespace CT
3432{
3533
3634/* *
37- * @class TwistVectorAxes
35+ * @class TwistComponents
3836 * @brief Twists axes of a compile-time vector.
3937 * @tparam Vec compile-time vector to be twisted
4038 * @tparam Axes compile-time vector containing new axes
4139 *
4240 * Example:
4341 *
4442 * typedef PMacc::math::CT::Int<1,2,0> Orientation_Y;
45- * typedef typename PMacc::math::tools:: CT::TwistVectorAxes <BlockDim, Orientation_Y>::type TwistedBlockDim;
43+ * typedef typename PMacc::math::CT::TwistComponents <BlockDim, Orientation_Y>::type TwistedBlockDim;
4644 */
4745template <typename Vec, typename Axes, int dim=Vec::dim>
48- struct TwistVectorAxes ;
46+ struct TwistComponents ;
4947
5048template <typename Vec, typename Axes>
51- struct TwistVectorAxes <Vec, Axes, DIM2>
49+ struct TwistComponents <Vec, Axes, DIM2>
5250{
5351 typedef math::CT::Vector<
5452 typename Vec::template at<Axes::x::value>::type,
5553 typename Vec::template at<Axes::y::value>::type> type;
5654};
5755
5856template <typename Vec, typename Axes>
59- struct TwistVectorAxes <Vec, Axes, DIM3>
57+ struct TwistComponents <Vec, Axes, DIM3>
6058{
6159 typedef math::CT::Vector<
6260 typename Vec::template at<Axes::x::value>::type,
@@ -65,6 +63,5 @@ struct TwistVectorAxes<Vec, Axes, DIM3>
6563};
6664
6765} // namespace CT
68- } // namespace tools
6966} // namespace math
7067} // namespace PMacc
0 commit comments