Template Numerical Library version\ main:c4e3186
Loading...
Searching...
No Matches
TNL::Containers::NDArraySyncPatterns Namespace Reference

Namespace where synchronization patterns for distributed N-dimensional arrays are defined. More...

Variables

constexpr std::array< SyncDirection, 2 > D1Q3 = { SyncDirection::Right, SyncDirection::Left }
constexpr std::array< SyncDirection, 4 > D2Q5
constexpr std::array< SyncDirection, 8 > D2Q9
constexpr std::array< SyncDirection, 26 > D3Q27
constexpr std::array< SyncDirection, 6 > D3Q7

Detailed Description

Namespace where synchronization patterns for distributed N-dimensional arrays are defined.

All names are inspired by the naming of velocity sets in LBM. Note that the central velocity is never synchronized to a neighbor and thus SyncDirection::None is not included in any pattern.

Variable Documentation

◆ D2Q5

std::array< SyncDirection, 4 > TNL::Containers::NDArraySyncPatterns::D2Q5
inlineconstexpr
Initial value:
= {
}
@ Bottom
synchronization from top to bottom (N >= 2, negative y-axis)
Definition DistributedNDArraySyncDirections.h:31
@ Right
synchronization from left to right (N >= 1, positive x-axis)
Definition DistributedNDArraySyncDirections.h:28
@ Left
synchronization from right to left (N >= 1, negative x-axis)
Definition DistributedNDArraySyncDirections.h:29
@ Top
synchronization from bottom to top (N >= 2, positive y-axis)
Definition DistributedNDArraySyncDirections.h:30

◆ D2Q9

std::array< SyncDirection, 8 > TNL::Containers::NDArraySyncPatterns::D2Q9
inlineconstexpr
Initial value:
= {
}
@ TopRight
synchronization in the top-right direction
Definition DistributedNDArraySyncDirections.h:34
@ BottomRight
synchronization in the bottom-right direction
Definition DistributedNDArraySyncDirections.h:36
@ BottomLeft
synchronization in the bottom-left direction
Definition DistributedNDArraySyncDirections.h:37
@ TopLeft
synchronization in the top-left direction
Definition DistributedNDArraySyncDirections.h:35

◆ D3Q27

std::array< SyncDirection, 26 > TNL::Containers::NDArraySyncPatterns::D3Q27
inlineconstexpr
Initial value:
= {
}
@ Back
synchronization from front to back (N >= 3, negative z-axis)
Definition DistributedNDArraySyncDirections.h:33
@ FrontRight
synchronization in the front-right direction
Definition DistributedNDArraySyncDirections.h:40
@ FrontBottomLeft
synchronization in the front-bottom-left direction
Definition DistributedNDArraySyncDirections.h:53
@ FrontLeft
synchronization in the front-left direction
Definition DistributedNDArraySyncDirections.h:41
@ BackTop
synchronization in the back-top direction
Definition DistributedNDArraySyncDirections.h:42
@ BackBottomLeft
synchronization in the back-bottom-left direction
Definition DistributedNDArraySyncDirections.h:49
@ Front
synchronization from back to front (N >= 3, positive z-axis)
Definition DistributedNDArraySyncDirections.h:32
@ BackTopLeft
synchronization in the back-top-left direction
Definition DistributedNDArraySyncDirections.h:47
@ BackBottomRight
synchronization in the back-bottom-right direction
Definition DistributedNDArraySyncDirections.h:48
@ FrontTopRight
synchronization in the front-top-right direction
Definition DistributedNDArraySyncDirections.h:50
@ BackRight
synchronization in the back-right direction
Definition DistributedNDArraySyncDirections.h:38
@ FrontBottom
synchronization in the front-bottom direction
Definition DistributedNDArraySyncDirections.h:45
@ BackBottom
synchronization in the back-bottom direction
Definition DistributedNDArraySyncDirections.h:43
@ BackTopRight
synchronization in the back-top-right direction
Definition DistributedNDArraySyncDirections.h:46
@ BackLeft
synchronization in the back-left direction
Definition DistributedNDArraySyncDirections.h:39
@ FrontTop
synchronization in the front-top direction
Definition DistributedNDArraySyncDirections.h:44
@ FrontBottomRight
synchronization in the front-bottom-right direction
Definition DistributedNDArraySyncDirections.h:52
@ FrontTopLeft
synchronization in the front-top-left direction
Definition DistributedNDArraySyncDirections.h:51

◆ D3Q7

std::array< SyncDirection, 6 > TNL::Containers::NDArraySyncPatterns::D3Q7
inlineconstexpr