Function t8_shmem_array_get_gloidx_array_for_writing(t8_shmem_array_t)

Function Documentation

t8_gloidx_t *t8_shmem_array_get_gloidx_array_for_writing(t8_shmem_array_t array)

Return a pointer to the data of a shared memory array interpreted as an t8_gloidx_t array. The array must have writing enabled t8_shmem_array_start_writing and you should not write into the memory after t8_shmem_array_end_writing was called.

Parameters:

array[in] The t8_shmem_array

Returns:

The data of array as t8_gloidx_t pointer.