#include <ArrayViewData.H>
Collaboration diagram for ArrayViewData:
Public Member Functions | |
ArrayViewData () | |
~ArrayViewData () | |
ArrayViewData (LayoutData< BaseFab< Real > > *a_layoutdata_ptr) | |
ArrayViewData (LayoutData< FArrayBox > *a_layoutdata_ptr) | |
BaseFab< Real > & | operator[] (int a_elem) |
Access a single FAB in the LayoutData using its internal index. | |
void | set (int a_elem, BaseFab< Real > *a_fab_ptr) |
Substitute a different FAB into the LayoutData. |
ArrayViewData is a wrapper around LayoutData for BaseFab<Real> or FArrayBox for use in ArrayView. It provides random access to the individual FABs and the ability to directly set the data in them. It is intended to work only in ArrayView. Any other attept to use this class is unsupported.
|
|
|
|
|
|
|
|
|
Access a single FAB in the LayoutData using its internal index.
|
|
Substitute a different FAB into the LayoutData. The caller is responsible for managing the memory used by the FAB that is being replaced. |