Abstractions for Code Migration from CPU to GPU in Simulation Domain