Bridge++
Ver. 2.0.2
|
Even-odd site index. More...
#include <index_eo.h>
Public Member Functions | |
Index_eo () | |
int | leo (const int y, const int z, const int t) 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 | site_up (const int x2, const int y, const int z, const int t, const int ieo) const |
int | site_xup (const int x2, const int y, const int z, const int t, const int ieo) const |
int | site_dn (const int x2, const int y, const int z, const int t, const int ieo) const |
int | site_xdn (const int x2, const int y, const int z, const int t, const int ieo) const |
int | siteh (const int x2, const int y, const int z, const int t) const |
int | siteh_up (const int x2, const int y, const int z, const int t, const int ieo) const |
int | siteh_xup (const int x2, const int y, const int z, const int t, const int ieo) const |
int | siteh_dn (const int x2, const int y, const int z, const int t, const int ieo) const |
int | siteh_xdn (const int x2, const int y, const int z, const int t, const int ieo) const |
void | init () |
initial setup. More... | |
void | convertField (Field &eo, const Field &lex) |
void | convertField (Field &eo, const Field &lex, const int ieo) |
void | reverseField (Field &lex, const Field &eo) |
void | reverseField (Field &lex, const Field &eo, const int ieo) |
void | splitField (Field &e, Field &o, const Field &eo) |
void | mergeField (Field &eo, const Field &e, const Field &o) |
Static Public Attributes | |
static const std::string | class_name = "Index_eo" |
Private Attributes | |
Bridge::VerboseLevel | m_vl |
int | m_Nx |
int | m_Ny |
int | m_Nz |
int | m_Nt |
int | m_Nvol |
int | m_Nx2 |
int | m_Nvol2 |
int | m_node_eo |
{0, 1}: local origin is on even/odd side More... | |
std::vector< int > | m_yzt_eo |
std::vector< int > | m_site_up |
std::vector< int > | m_site_dn |
Index_lex | m_index_lex |
Even-odd site index.
This class defines even-odd site index. Only the site degree of freedom is concerned. Nx (x-extent inside a node) must be even in the present implementation. Coverting from and reverting to the lexical site index are implemented as member functions of this class. In present implementation, there is no superclass structure, and thus polymorphism is not available. Some of method names might be confusing; restructuring may be helpful. [25 Dec 2011 H.Matsufuru] Multi-threading is applied to methods. [29 Nov 2021 H.Matsufuru]
Definition at line 44 of file index_eo.h.
|
inline |
Definition at line 63 of file index_eo.h.
Definition at line 90 of file index_eo.cpp.
Definition at line 125 of file index_eo.cpp.
void Index_eo::init | ( | ) |
initial setup.
Definition at line 23 of file index_eo.cpp.
|
inline |
Definition at line 65 of file index_eo.h.
Definition at line 262 of file index_eo.cpp.
Definition at line 197 of file index_eo.cpp.
Definition at line 161 of file index_eo.cpp.
|
inline |
Definition at line 72 of file index_eo.h.
|
inline |
Definition at line 68 of file index_eo.h.
|
inline |
Definition at line 89 of file index_eo.h.
|
inline |
Definition at line 75 of file index_eo.h.
|
inline |
Definition at line 96 of file index_eo.h.
|
inline |
Definition at line 82 of file index_eo.h.
|
inline |
Definition at line 103 of file index_eo.h.
|
inline |
Definition at line 121 of file index_eo.h.
|
inline |
Definition at line 107 of file index_eo.h.
|
inline |
Definition at line 128 of file index_eo.h.
|
inline |
Definition at line 114 of file index_eo.h.
Definition at line 232 of file index_eo.cpp.
|
static |
Definition at line 46 of file index_eo.h.
|
private |
Definition at line 59 of file index_eo.h.
|
private |
{0, 1}: local origin is on even/odd side
Definition at line 53 of file index_eo.h.
|
private |
Definition at line 51 of file index_eo.h.
|
private |
Definition at line 51 of file index_eo.h.
|
private |
Definition at line 52 of file index_eo.h.
|
private |
Definition at line 51 of file index_eo.h.
|
private |
Definition at line 52 of file index_eo.h.
|
private |
Definition at line 51 of file index_eo.h.
|
private |
Definition at line 51 of file index_eo.h.
|
private |
Definition at line 57 of file index_eo.h.
|
private |
Definition at line 56 of file index_eo.h.
|
private |
Definition at line 49 of file index_eo.h.
|
private |
Definition at line 55 of file index_eo.h.