Improved subviews of offset views
In several areas of the code we need to take a subview of an offset view (e.g. for the FFTs, for outputting). I get a compiler error when trying to directly take a subview of the offset view. As a workaround, I've been creating a unmanaged regular view with the data from the offset view, taking a regular subview of that, and then copying that into a (lower dimensional) offset view.
According to the Kokkos documentation, directly taking subviews of offset views should be ok. I'm not sure if there's I'm just doing something wrong, if there is an issue with the meumapps wrapper class, or if it is a bug on the Kokkos side.
If possible, it would be best to use existing Kokkos functionality to do this. If we need to stick with the current workflow, we should have a function (perhaps in the meumapps wrapper class?) to do this for us. It will really streamline those sections of code.