Beispiel #1
0
 HDINLINE RefValueType operator()(const PMacc::DataSpace<DIM1> &idx = PMacc::DataSpace<DIM1>())
 {
     const PMacc::DataSpace<Dim> real_idx(DataSpaceOperations<Dim>::map(originalSize, idx.x()));
     return Base::operator()(real_idx);
 }
 HDINLINE RefValueType operator()(const PMacc::DataSpace<DIM1> &idx = PMacc::DataSpace<DIM1>())
 {
     const PMacc::DataSpace<DIM3> real_idx(DataSpaceOperations<DIM3>::map(originalSize, idx.x()));
     return (Base::operator[](real_idx.z()))[real_idx.y()][real_idx.x()];
 }