Title: Automatic parallelisation of staggered grid codes with expression templates

Authors: C. Pflaum, Z. Rahimi

Addresses: Erlangen Graduate School of Advanced Optical Technologies, Department of Computer Science, University Erlangen-Nuremberg, Cauerstrabe 6 D-91058 Erlangen, Germany. ' Fraunhofer Institute of Integrated Systems and Device Technology and Erlangen Graduate School of Advanced Optical Technologies, Schottkystrabe 10, D-91058 Erlangen, Germany

Abstract: The finite difference discretisation on staggered grids is a common technique to discretise Maxwell|s equations and Stokes equations. The implementation of this discretisation on staggered grids is simplified and optimised by a new expression template concept. The MPI parallelisation is hidden in an underlying expression template library. The efficiency of the proposed technique is demonstrated by simulations of thin film solar cells using the Finite Difference Time Domain (FDTD) method.

Keywords: parallelisation; expression templates; staggered grids; FDTD; finite difference time domain; Maxwells equations; Stokes equations; MPI; OpenMP; thin film solar cells; discretisation; simulation.

DOI: 10.1504/IJCSE.2009.029166

International Journal of Computational Science and Engineering, 2009 Vol.4 No.4, pp.306 - 313

Available online: 08 Nov 2009 *

Full-text access for editors Access for subscribers Purchase this article Comment on this article