|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Externally-managed storage policy. Reallocation is not supported. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/main/src/axom/mint/utils/ExternalArray.hpp>
Public Member Functions | |
| template<int Dims> | |
| void | onShapeUpdate (StackArray< IndexType, Dims > AXOM_UNUSED_PARAM(shape)) |
| Callback to report changes in shape/size of valid data in Array. More... | |
| template<typename Func > | |
| T * | reallocate (T *AXOM_UNUSED_PARAM(old_data), int old_capacity, int AXOM_UNUSED_PARAM(allocator_id), int new_capacity, Func &&AXOM_UNUSED_PARAM(nontrivial_move)) |
| Reallocates a buffer. No-op for ExternalArray. More... | |
| void | deallocate (void *AXOM_UNUSED_PARAM(data)) |
| Frees a buffer. No-op for ExternalArray. More... | |
Externally-managed storage policy. Reallocation is not supported.
|
inline |
Callback to report changes in shape/size of valid data in Array.
| [in] | shape | the current dimensions of the array |
| [in] | size | the current number of elements stored in the array |
|
inline |
Reallocates a buffer. No-op for ExternalArray.
References SLIC_ERROR.
|
inline |
Frees a buffer. No-op for ExternalArray.