If we want to use reshape() to reshape arrays in the collision operator (as an optimization to replace a copy from a vperp-vpa indexed array to a flattened-index array), then we would need to be able to reshape a DebugMPISharedArray in order for the debug checks to work. For this we would need to define reshape(A::DebugMPISharedArray, ...).
If we want to use
reshape()
to reshape arrays in the collision operator (as an optimization to replace a copy from a vperp-vpa indexed array to a flattened-index array), then we would need to be able to reshape aDebugMPISharedArray
in order for the debug checks to work. For this we would need to definereshape(A::DebugMPISharedArray, ...)
.