OP2/OP2-Common — pull request #46 by gihanmudalige (2012-10-10 15:57:22+00:00)
Title: Fix/mpi haloexchange soa

This pull request fixes a bug in MPI+CUDA due to directly accessed data (tagged by the :soa key string) holding the data on the GPU using a Struct-of-Arrays(soa). Previously the assumption was that any op_dats tagged with soa will not have any halo exchanges. But due to the recent fix #44 some directly accessed op_dats now will need to do halo exchanges.

This pull request adds code to convert the halos of these op_dats from soa to aos and vice versa during halo exchanges.