gmarkall / manycore_form_compiler

MCFC is deprecated. See https://code.launchpad.net/~grm08/ffc/pyop2
https://code.launchpad.net/~grm08/ffc/pyop2
GNU General Public License v3.0
3 stars 1 forks source link

OP2 <-> Fluidity state interface #41

Open kynan opened 13 years ago

kynan commented 13 years ago

This component is not strictly part of MCFC, but rather Fluidity. It is however an essential prerequisite for the MCFC OP2 backend.

To interface Fluidity to OP2, Fluidity needs to be OP2-aware, which doesn't break our abstractions since Fluidity sits "on top" of OP2.

Since device memory is managed by OP2, the OP2 <-> Fluidity state interface should be simpler than the legacy CUDA state interface.

dham commented 13 years ago

It should be pointed out that Fields aren't actually implemented as classes as we don't trust F2003 compilers to get it right so we do actually have to change the types. But conceptually it's just subclassing.