HiRep 0.1
Loading...
Searching...
No Matches
geometry_maskstate.h File Reference

Mask structs that can give information on whether neighbors of a given site are located in the buffer and require communications first or not. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _PRINT_BYTE   "%c%c%c%c%c%c%c%c"
 
#define _BINARY(byte)
 

Enumerations

enum  MaskState {
  T_UP_MASK = (1u << 0) , T_DN_MASK = (1u << 1) , X_UP_MASK = (1u << 2) , X_DN_MASK = (1u << 3) ,
  Y_UP_MASK = (1u << 4) , Y_DN_MASK = (1u << 5) , Z_UP_MASK = (1u << 6) , Z_DN_MASK = (1u << 7) ,
  FULL_MASK = (1u << 8) - 1
}
 

Detailed Description

Mask structs that can give information on whether neighbors of a given site are located in the buffer and require communications first or not.

Macro Definition Documentation

◆ _BINARY

#define _BINARY ( byte)
Value:
(byte & 0x80 ? '1' : '0'), (byte & 0x40 ? '1' : '0'), (byte & 0x20 ? '1' : '0'), (byte & 0x10 ? '1' : '0'), \
(byte & 0x08 ? '1' : '0'), (byte & 0x04 ? '1' : '0'), (byte & 0x02 ? '1' : '0'), (byte & 0x01 ? '1' : '0')