The source project of this merge request has been removed.
Adding deep copy functionality for AoSoA
This adds a deep_copy function for moving data between different memory spaces. Some notes:
-
deep_copyworks forCabana::AoSoA - This only works when the AoSoAs are of the same size.
- When used with
Cabana::AoSoAboth AoSoAs must have the sameCabana::MemberDataTypes - This also exposed a new
ptr()interface inCabana::AoSoAand an equivalent pointers and strides interface inCabana::MemberSlicewhich was needed for convenient copying of data in different layouts. This will probably be useful in the future anyway for interfacing with C and Fortran.
Edited by Slattery, Stuart