STORAGE OF OBSJECT IN MULTIFAB #3999
Unanswered
FernandoIGuerra
asked this question in
Q&A
Replies: 1 comment
-
MultiFab is 'FabArray<BaseFab>'; for storing objects, you can use 'FabArray<BaseFab>' where T can be a class. |
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
-
Hi Everyone,
is it possible to allocate an object (class) at each component of the MultiFab. So far, I implemented the code shown below. However, the compiler indicates that there is an conversion error from Array4 to non-scalar Array4 The intuitive idea behind this is ti create LEM elements inside each LES cell. Also, I was wondering if the allocation of objects would cause any problem in ParallelFor. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions