Replies: 1 comment
-
Are you talking about
It would be bad for vectorization and GPU memory access efficiency. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If I am dealing with a MultiFab that contains several variables (nComp>1) the variables are stored at far-off locations on the RAM.
Rather I want a container where different variables are stored close to one another for efficiency.
I can always make a FabArray<BaseFab<Vector>> but then coarse to fine interpolation is a problem as all interpolaters have a "interp" function that only accepts FArrayBox as its argument. Which means only MultiFabs can be interpolated.
Is there something I am missing? Or is writing a custom interpolator the only way to go?
Even if writing a customer Interpolater is the way to go. Class Interpolater.H has a pure virtual function "interp" that takes FArrayBox as an argument. Do I need to override this function? and overload it with a function that takes BaseFab<Vector> as an argument?
Beta Was this translation helpful? Give feedback.
All reactions