S3L_set_array_element and S3L_get_array_element accept the following arguments as input:
a - Array handle describing the parallel array containing the element of interest.
coor - Integer vector specifying the coordinates of an element of the distributed array a. This value follows zero-based notation for C/C++ programs and one-based notation for F77/F90 programs.
val - Variable that holds the value to be assigned to an element of an array or that accepts the value of that element.
pnum - Integer variable specifying the MPI rank of a process to supply or accept the value val. pnum is only used with S3L_set_array_element_on_proc and S3L_get_array_element_on_proc.