xcompact3d / x3d2

https://xcompact3d.github.io/x3d2
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Global-local grid indexing #84

Closed semi-h closed 4 months ago

semi-h commented 5 months ago

Implements support for inidivudal ranks in a 3D decomposition setting to figure out their location in the global grid.

semi-h commented 4 months ago

@JamieJQuinn, domain_decomposition subroutine now figures out the n_offset parameter and it is stored in dirps_t. Can be accessed via x/y/zdirps%n_offset. Would this work for you in the io?

semi-h commented 4 months ago

Merging so that #85 can be rebased and I can continue with cuFFTMp implementation.