KTH framework for Nek5000 toolboxes; testing version  0.0.1
crs_amg_io.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  file
 

Macros

#define N   sizeof(double)
 
#define SWAP1(i)   if(N>2*(i)+1) t=buf[i],buf[i]=buf[N-1-(i)],buf[N-1-(i)]=t
 
#define SWAP2(i)   SWAP1(i); SWAP1((i)+0x01); SWAP1((i)+0x02); SWAP1((i)+0x03)
 
#define SWAP3(i)   SWAP2(i); SWAP2((i)+0x04); SWAP2((i)+0x08); SWAP2((i)+0x0c)
 
#define SWAP4(i)   SWAP3(i); SWAP3((i)+0x10); SWAP3((i)+0x20); SWAP3((i)+0x30)
 

Macro Definition Documentation

◆ N

#define N   sizeof(double)

Definition at line 18 of file crs_amg_io.h.

◆ SWAP1

#define SWAP1 (   i)    if(N>2*(i)+1) t=buf[i],buf[i]=buf[N-1-(i)],buf[N-1-(i)]=t

◆ SWAP2

#define SWAP2 (   i)    SWAP1(i); SWAP1((i)+0x01); SWAP1((i)+0x02); SWAP1((i)+0x03)

◆ SWAP3

#define SWAP3 (   i)    SWAP2(i); SWAP2((i)+0x04); SWAP2((i)+0x08); SWAP2((i)+0x0c)

◆ SWAP4

#define SWAP4 (   i)    SWAP3(i); SWAP3((i)+0x10); SWAP3((i)+0x20); SWAP3((i)+0x30)