Function t8_shmem_array_index(t8_shmem_array_t, size_t)

Function Documentation

const void *t8_shmem_array_index(t8_shmem_array_t array, size_t index)

Return a read-only pointer to an element in a t8_shmem_array.

Note

You should not modify the value.

Note

Writing mode must be disabled for array.

Parameters:
  • array[in] The t8_shmem_array.

  • index[in] The index of an element.

Returns:

A pointer to the element at index in array.