Function t8_sc_array_index_locidx(const sc_array_t *, const t8_locidx_t)

Function Documentation

void *t8_sc_array_index_locidx(const sc_array_t *array, const t8_locidx_t index)

Return a pointer to an array element indexed by a t8_locidx_t.

Parameters:
  • array[in] The array of elements.

  • index[in] needs to be in [0]..[elem_count-1].

Returns:

A void * pointing to entry index in array.