Bridge++  Ver. 2.0.4
AIndex_eo< REALTYPE, QXS > Class Template Reference

Even-odd site index. More...

#include <aindex_eo.h>

Public Member Functions

 AIndex_eo ()
 constructor. More...
 
int site (const int x, const int y, const int z, const int t) const
 
int idx (const int in, const int Nin, const int ist, const int ex) const
 
int idx_G (const int idf, const int ist, const int ex) const
 
int idx_Gr (const int ic1, const int ic2, const int ist, const int ex) const
 
int idx_Gi (const int ic1, const int ic2, const int ist, const int ex) const
 
int idx_SP (const int in, const int ist, const int ex) const
 
int idx_SPr (const int ic, const int id, const int ist, const int ex) const
 
int idx_SPi (const int ic, const int id, const int ist, const int ex) const
 
int idxh (const int in, const int Nin, const int ist2, const int ex) const
 
int idxh_SP (const int in, const int ist2, const int ex) const
 
int idxh_SPr (const int ic, const int id, const int ist, const int ex) const
 
int idxh_SPi (const int ic, const int id, const int ist, const int ex) const
 
int site (const int x2, const int y, const int z, const int t, const int ieo) const
 
int site (const int is, const int ieo) const
 
int siteh (const int x2, const int y, const int z, const int t) const
 
int leo (const int y, const int z, const int t) const
 
int leo (const int iyzt) const
 
template<typename AFIELD >
void split (AFIELD &v_e, AFIELD &v_o, const AFIELD &v)
 
template<typename AFIELD >
void merge (AFIELD &v, const AFIELD &v_e, const AFIELD &v_o)
 

Private Member Functions

void init ()
 initial setup. More...
 

Private Attributes

int Nx
 
int Ny
 
int Nz
 
int Nt
 
int Nvol
 
int Nx2
 
int Nvol2
 
int Nc
 
int Nd
 
int Ndf
 
int Nvcd
 
std::vector< int > Leo
 
Bridge::VerboseLevel m_vl
 

Detailed Description

template<typename REALTYPE>
class AIndex_eo< REALTYPE, QXS >

Even-odd site index.

This class defines even-odd site index for alternative implementation. For use of QXS version. [23 Feb 2021 H.Matsufuru]

Definition at line 113 of file aindex_eo.h.

Constructor & Destructor Documentation

◆ AIndex_eo()

template<typename REALTYPE >
AIndex_eo< REALTYPE, QXS >::AIndex_eo ( )
inline

constructor.

Definition at line 127 of file aindex_eo.h.

Member Function Documentation

◆ idx()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idx ( const int  in,
const int  Nin,
const int  ist,
const int  ex 
) const
inline

Definition at line 135 of file aindex_eo.h.

◆ idx_G()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idx_G ( const int  idf,
const int  ist,
const int  ex 
) const
inline

Definition at line 143 of file aindex_eo.h.

◆ idx_Gi()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idx_Gi ( const int  ic1,
const int  ic2,
const int  ist,
const int  ex 
) const
inline

Definition at line 152 of file aindex_eo.h.

◆ idx_Gr()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idx_Gr ( const int  ic1,
const int  ic2,
const int  ist,
const int  ex 
) const
inline

Definition at line 146 of file aindex_eo.h.

◆ idx_SP()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idx_SP ( const int  in,
const int  ist,
const int  ex 
) const
inline

Definition at line 158 of file aindex_eo.h.

◆ idx_SPi()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idx_SPi ( const int  ic,
const int  id,
const int  ist,
const int  ex 
) const
inline

Definition at line 167 of file aindex_eo.h.

◆ idx_SPr()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idx_SPr ( const int  ic,
const int  id,
const int  ist,
const int  ex 
) const
inline

Definition at line 161 of file aindex_eo.h.

◆ idxh()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idxh ( const int  in,
const int  Nin,
const int  ist2,
const int  ex 
) const
inline

Definition at line 173 of file aindex_eo.h.

◆ idxh_SP()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idxh_SP ( const int  in,
const int  ist2,
const int  ex 
) const
inline

Definition at line 179 of file aindex_eo.h.

◆ idxh_SPi()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idxh_SPi ( const int  ic,
const int  id,
const int  ist,
const int  ex 
) const
inline

Definition at line 188 of file aindex_eo.h.

◆ idxh_SPr()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::idxh_SPr ( const int  ic,
const int  id,
const int  ist,
const int  ex 
) const
inline

Definition at line 182 of file aindex_eo.h.

◆ init()

template<typename REALTYPE >
void AIndex_eo< REALTYPE, QXS >::init
private

initial setup.

Definition at line 13 of file aindex_eo-tmpl.h.

◆ leo() [1/2]

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::leo ( const int  iyzt) const
inline

Definition at line 208 of file aindex_eo.h.

◆ leo() [2/2]

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::leo ( const int  y,
const int  z,
const int  t 
) const
inline

Definition at line 205 of file aindex_eo.h.

◆ merge()

template<typename REALTYPE >
template<typename AFIELD >
void AIndex_eo< REALTYPE, QXS >::merge ( AFIELD v,
const AFIELD v_e,
const AFIELD v_o 
)

Definition at line 59 of file aindex_eo-inc.h.

◆ site() [1/3]

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::site ( const int  is,
const int  ieo 
) const
inline

Definition at line 198 of file aindex_eo.h.

◆ site() [2/3]

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::site ( const int  x,
const int  y,
const int  z,
const int  t 
) const
inline

Definition at line 129 of file aindex_eo.h.

◆ site() [3/3]

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::site ( const int  x2,
const int  y,
const int  z,
const int  t,
const int  ieo 
) const
inline

Definition at line 194 of file aindex_eo.h.

◆ siteh()

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::siteh ( const int  x2,
const int  y,
const int  z,
const int  t 
) const
inline

Definition at line 201 of file aindex_eo.h.

◆ split()

template<typename REALTYPE >
template<typename AFIELD >
void AIndex_eo< REALTYPE, QXS >::split ( AFIELD v_e,
AFIELD v_o,
const AFIELD v 
)

Definition at line 18 of file aindex_eo-inc.h.

Member Data Documentation

◆ Leo

template<typename REALTYPE >
std::vector<int> AIndex_eo< REALTYPE, QXS >::Leo
private

Definition at line 119 of file aindex_eo.h.

◆ m_vl

template<typename REALTYPE >
Bridge::VerboseLevel AIndex_eo< REALTYPE, QXS >::m_vl
private

Definition at line 120 of file aindex_eo.h.

◆ Nc

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nc
private

Definition at line 118 of file aindex_eo.h.

◆ Nd

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nd
private

Definition at line 118 of file aindex_eo.h.

◆ Ndf

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Ndf
private

Definition at line 118 of file aindex_eo.h.

◆ Nt

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nt
private

Definition at line 116 of file aindex_eo.h.

◆ Nvcd

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nvcd
private

Definition at line 118 of file aindex_eo.h.

◆ Nvol

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nvol
private

Definition at line 116 of file aindex_eo.h.

◆ Nvol2

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nvol2
private

Definition at line 117 of file aindex_eo.h.

◆ Nx

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nx
private

Definition at line 116 of file aindex_eo.h.

◆ Nx2

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nx2
private

Definition at line 117 of file aindex_eo.h.

◆ Ny

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Ny
private

Definition at line 116 of file aindex_eo.h.

◆ Nz

template<typename REALTYPE >
int AIndex_eo< REALTYPE, QXS >::Nz
private

Definition at line 116 of file aindex_eo.h.


The documentation for this class was generated from the following files: