Research Article

MPI to Coarray Fortran: Experiences with a CFD Solver for Unstructured Meshes

Listing 4

Coarray communication: pull approach.
if( this_image().ne. num_images() ) then
ā€ƒj(:) = j(:)[this_image()+1]
end if