|
Nektar++
|
Crystal-router routing decision for one bisection step. More...
#include <Transport.hpp>
Public Attributes | |
| int | lo |
| Lower bound (inclusive) of the current group. | |
| int | hi |
| Upper bound (inclusive) of the current group. | |
| int | mid |
| Split point: low half is [lo, mid]. | |
| int | lowSize |
Number of ranks in the low half, mid - lo + 1. | |
| int | highSize |
Number of ranks in the high half, hi - mid. | |
| bool | inLow |
| Whether the querying rank is in the low half. | |
| int | partner |
| Rank to exchange with, or -1 if unpaired extra. | |
| int | forwardTo |
| One-way forward target (valid iff partner == -1). | |
| int | recvForwardFrom |
| Rank we must receive a one-way forward from, or -1. | |
Crystal-router routing decision for one bisection step.
This is the single source of truth for who this rank should communicate with in the recursive-bisection hypercube route. Group [lo, hi] splits into low = [lo, mid] and high = [mid+1, hi]. Equal halves pair directly; an odd split leaves one unpaired rank in the larger half that forwards its cross-group messages one-way (forwardTo) to the first rank of the other half. The mirror side of that forward is recvForwardFrom.
Definition at line 240 of file Transport.hpp.
| int Nektar::LibUtilities::detail::CrystalStep::forwardTo |
One-way forward target (valid iff partner == -1).
Definition at line 257 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalPlanStep(), and Nektar::LibUtilities::CrystalRouterTransport::Route().
| int Nektar::LibUtilities::detail::CrystalStep::hi |
Upper bound (inclusive) of the current group.
Definition at line 245 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalPlanStep().
| int Nektar::LibUtilities::detail::CrystalStep::highSize |
Number of ranks in the high half, hi - mid.
Definition at line 251 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalPlanStep().
| bool Nektar::LibUtilities::detail::CrystalStep::inLow |
Whether the querying rank is in the low half.
Definition at line 253 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalDestInMyHalf(), Nektar::LibUtilities::detail::CrystalPlanStep(), and Nektar::LibUtilities::CrystalRouterTransport::Route().
| int Nektar::LibUtilities::detail::CrystalStep::lo |
Lower bound (inclusive) of the current group.
Definition at line 243 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalPlanStep().
| int Nektar::LibUtilities::detail::CrystalStep::lowSize |
Number of ranks in the low half, mid - lo + 1.
Definition at line 249 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalPlanStep().
| int Nektar::LibUtilities::detail::CrystalStep::mid |
Split point: low half is [lo, mid].
Definition at line 247 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalDestInMyHalf(), Nektar::LibUtilities::detail::CrystalPlanStep(), and Nektar::LibUtilities::CrystalRouterTransport::Route().
| int Nektar::LibUtilities::detail::CrystalStep::partner |
Rank to exchange with, or -1 if unpaired extra.
Definition at line 255 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalPlanStep(), and Nektar::LibUtilities::CrystalRouterTransport::Route().
| int Nektar::LibUtilities::detail::CrystalStep::recvForwardFrom |
Rank we must receive a one-way forward from, or -1.
Definition at line 259 of file Transport.hpp.
Referenced by Nektar::LibUtilities::detail::CrystalPlanStep(), and Nektar::LibUtilities::CrystalRouterTransport::Route().