Bridge++  Ver.2.1.3
define_index.h File Reference

Go to the source code of this file.

Macros

#define ID1   0
 
#define ID2   6
 
#define ID3   12
 
#define ID4   18
 
#define NDD   8
 
#define IDX_CORE(nin, in, ist)   ((in) + (nin) * (ist))
 
#define IDX2(nin, in, ist)   (((ist)%NWP) + NWP*((in) + (nin)*((ist)/NWP)))
 
#define IDX2_SP_R(ic, id, ist)   (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND*((ist)/NWP))))
 
#define IDX2_SP_I(ic, id, ist)   (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND*((ist)/NWP))))
 
#define IDX2_SP(ivc, id, ist)   (((ist)%NWP) + NWP*((ivc) + NVC*((id) + ND*((ist)/NWP))))
 
#define IDX2_SP_5D_R(ic, id, is, Ns, ist)   (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))
 
#define IDX2_SP_5D_I(ic, id, is, Ns, ist)   (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))
 
#define IDXBF_R(ic, id, ist)   (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND2*((ist)/NWP))))
 
#define IDXBF_I(ic, id, ist)   (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND2*((ist)/NWP))))
 
#define IDXBF(ivc, id, ist)   (((ist)%NWP) + NWP*((ivc) + NVC*((id) + ND2*((ist)/NWP))))
 
#define IDX2_1SP_R(ic, ist)   (((ist)%NWP) + NWP*( 2*((ic) + NC*((ist)/NWP))))
 
#define IDX2_1SP_I(ic, ist)   (((ist)%NWP) + NWP*(1+2*((ic) + NC*((ist)/NWP))))
 
#define IDX2_1SP(ivc, ist)   (((ist)%NWP) + NWP*((ivc) + NVC*((ist)/NWP)))
 
#define IDX2_G_R(ic1, ic2, ist)   (((ist)%NWP) + NWP*( 2*((ic1) + NC*((ic2) + NC*((ist)/NWP)))))
 
#define IDX2_G_I(ic1, ic2, ist)   (((ist)%NWP) + NWP*(1+2*((ic1) + NC*((ic2) + NC*((ist)/NWP)))))
 
#define IDX_CT_R(ic1, ic2, idd, ist)   (((ist)%NWP) + NWP*( 2*((ic1) + NC*((ic2) + NC*((idd) + NDD*((ist)/NWP))))))
 
#define IDX_CT_I(ic1, ic2, idd, ist)   (((ist)%NWP) + NWP*(1+2*((ic1) + NC*((ic2) + NC*((idd) + NDD*((ist)/NWP))))))
 
#define IDX2_5D(nin, in, is, Ns, ist)   (((ist) % NWP) + NWP * ((in) + (nin) * (is + (Ns) * ((ist) / NWP))))
 
#define IDX2_SP_5D_R(ic, id, is, Ns, ist)   (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))
 
#define IDX2_SP_5D_I(ic, id, is, Ns, ist)   (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))
 

Detailed Description

Author
Hideo Matsufuru (matufuru)
Date
LastChangedDate
2013-01-22 13:51:53 #
Version
LastChangedRevision
2653

Definition in file define_index.h.

Macro Definition Documentation

◆ ID1

#define ID1   0

Definition at line 17 of file define_index.h.

◆ ID2

#define ID2   6

Definition at line 18 of file define_index.h.

◆ ID3

#define ID3   12

Definition at line 19 of file define_index.h.

◆ ID4

#define ID4   18

Definition at line 20 of file define_index.h.

◆ IDX2

#define IDX2 (   nin,
  in,
  ist 
)    (((ist)%NWP) + NWP*((in) + (nin)*((ist)/NWP)))

Definition at line 28 of file define_index.h.

◆ IDX2_1SP

#define IDX2_1SP (   ivc,
  ist 
)    (((ist)%NWP) + NWP*((ivc) + NVC*((ist)/NWP)))

Definition at line 48 of file define_index.h.

◆ IDX2_1SP_I

#define IDX2_1SP_I (   ic,
  ist 
)    (((ist)%NWP) + NWP*(1+2*((ic) + NC*((ist)/NWP))))

Definition at line 47 of file define_index.h.

◆ IDX2_1SP_R

#define IDX2_1SP_R (   ic,
  ist 
)    (((ist)%NWP) + NWP*( 2*((ic) + NC*((ist)/NWP))))

Definition at line 46 of file define_index.h.

◆ IDX2_5D

#define IDX2_5D (   nin,
  in,
  is,
  Ns,
  ist 
)    (((ist) % NWP) + NWP * ((in) + (nin) * (is + (Ns) * ((ist) / NWP))))

Definition at line 59 of file define_index.h.

◆ IDX2_G_I

#define IDX2_G_I (   ic1,
  ic2,
  ist 
)    (((ist)%NWP) + NWP*(1+2*((ic1) + NC*((ic2) + NC*((ist)/NWP)))))

Definition at line 52 of file define_index.h.

◆ IDX2_G_R

#define IDX2_G_R (   ic1,
  ic2,
  ist 
)    (((ist)%NWP) + NWP*( 2*((ic1) + NC*((ic2) + NC*((ist)/NWP)))))

Definition at line 51 of file define_index.h.

◆ IDX2_SP

#define IDX2_SP (   ivc,
  id,
  ist 
)    (((ist)%NWP) + NWP*((ivc) + NVC*((id) + ND*((ist)/NWP))))

Definition at line 33 of file define_index.h.

◆ IDX2_SP_5D_I [1/2]

#define IDX2_SP_5D_I (   ic,
  id,
  is,
  Ns,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))

Definition at line 62 of file define_index.h.

◆ IDX2_SP_5D_I [2/2]

#define IDX2_SP_5D_I (   ic,
  id,
  is,
  Ns,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))

Definition at line 62 of file define_index.h.

◆ IDX2_SP_5D_R [1/2]

#define IDX2_SP_5D_R (   ic,
  id,
  is,
  Ns,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))

Definition at line 61 of file define_index.h.

◆ IDX2_SP_5D_R [2/2]

#define IDX2_SP_5D_R (   ic,
  id,
  is,
  Ns,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND*( (is) + (Ns) * ((ist)/NWP)))))

Definition at line 61 of file define_index.h.

◆ IDX2_SP_I

#define IDX2_SP_I (   ic,
  id,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND*((ist)/NWP))))

Definition at line 32 of file define_index.h.

◆ IDX2_SP_R

#define IDX2_SP_R (   ic,
  id,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND*((ist)/NWP))))

Definition at line 31 of file define_index.h.

◆ IDX_CORE

#define IDX_CORE (   nin,
  in,
  ist 
)    ((in) + (nin) * (ist))

Definition at line 25 of file define_index.h.

◆ IDX_CT_I

#define IDX_CT_I (   ic1,
  ic2,
  idd,
  ist 
)    (((ist)%NWP) + NWP*(1+2*((ic1) + NC*((ic2) + NC*((idd) + NDD*((ist)/NWP))))))

Definition at line 56 of file define_index.h.

◆ IDX_CT_R

#define IDX_CT_R (   ic1,
  ic2,
  idd,
  ist 
)    (((ist)%NWP) + NWP*( 2*((ic1) + NC*((ic2) + NC*((idd) + NDD*((ist)/NWP))))))

Definition at line 55 of file define_index.h.

◆ IDXBF

#define IDXBF (   ivc,
  id,
  ist 
)    (((ist)%NWP) + NWP*((ivc) + NVC*((id) + ND2*((ist)/NWP))))

Definition at line 43 of file define_index.h.

◆ IDXBF_I

#define IDXBF_I (   ic,
  id,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic)+1 + NVC*((id) + ND2*((ist)/NWP))))

Definition at line 42 of file define_index.h.

◆ IDXBF_R

#define IDXBF_R (   ic,
  id,
  ist 
)    (((ist)%NWP) + NWP*(2*(ic) + NVC*((id) + ND2*((ist)/NWP))))

Definition at line 41 of file define_index.h.

◆ NDD

#define NDD   8

Definition at line 22 of file define_index.h.