Research Article

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

Listing 5

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