mabarnes / moment_kinetics

Other
2 stars 4 forks source link

Reshape `DebugMPISharedArray` #167

Closed johnomotani closed 4 months ago

johnomotani commented 7 months ago

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, ...).