Struct t8_shmem_array

Struct Documentation

struct t8_shmem_array

Shared memory array structure. The array uses sc_shmem shared memory.

Public Members

void *array

Pointer to the actual memory.

size_t elem_size

Size of one entry in byte.

size_t elem_count

Total count of entries.

sc_MPI_Comm comm

MPI communicator.

int writing_possible

True if we can currently write into this array. False if not.

int write_start_called

True if t8_shmem_array_start_writing was called and no call to t8_shmem_array_end_writing happened yet.