MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_box.fpp.f90 File Reference

Contains module m_box. More...

Go to the source code of this file.

Modules

module  m_box
 Box type, per-rank partition arithmetic (one box per rank) and the Morton key.

Functions/Subroutines

pure integer function, dimension(0:n_parts), public m_box::f_equal_splits (g, n_parts)
 Cumulative equal-cell offsets for g cells over n_parts ranks, remainder to the first ranks (MFC's block distribution).
pure type(t_box) function, public m_box::f_box_from_splits (off_x, off_y, off_z, coords)
 This rank's box from per-axis cumulative offsets and its 0-based Cartesian coords (collapsed axes: off_d = [0,1]).
pure integer(kind=8) function, public m_box::f_morton (ix, iy, iz)
 3D Morton (Z-order) key of (ix, iy, iz), 21 bits/dim; negative coords clamp to 0.

Detailed Description

Contains module m_box.

Definition in file m_box.fpp.f90.