This converts cells to the target data Layout using the given functor. More...
#include <DataLayoutConverter.h>
Public Member Functions | |
DataLayoutConverter (FunctorSoaWrapper *functor, DataLayoutOption dataLayout) | |
Constructor. | |
template<class ParticleCell > | |
void | loadDataLayout (ParticleCell &cell) |
loads the target dataLayout in a cell | |
template<class ParticleCell > | |
void | storeDataLayout (ParticleCell &cell) |
converts the dataLayout to aos | |
This converts cells to the target data Layout using the given functor.
Functor | The functor that defines the interaction of two particles. |
|
inlineexplicit |
|
inline |
loads the target dataLayout in a cell
ParticleCell | Cell type |
cell | to load the data in |
|
inline |
converts the dataLayout to aos
ParticleCell | Cell type |
cell | to load the data in |