#235: Improve performance of Fortran index calculations --------------------------+------------------------------------------------- Reporter: eschnett | Owner: Type: enhancement | Status: new Priority: minor | Milestone: Component: Cactus | Version: Resolution: | Keywords: --------------------------+-------------------------------------------------
Comment (by eschnett):
I do not know how efficient Fortran compilers are when arrays sizes are defined via an array. I therefore introduced three local scalars cctk_lsh1 cctk_lsh2 cctk_lsh3 that are used to specify the first three dimensions. Since these are the "innermost" dimensions, they are most crucial for performance. These scalars are set via CCTK_FARGUMENTS as defined in cctk.h.