Bridge++
Ver. 2.0.2
|
Methods to shift a field in the lexical site index. More...
#include <shiftField_lex.h>
Public Member Functions | |
ShiftField_lex () | |
ShiftField_lex (const int Nin) | |
void | forward (Field &, const Field &, const int mu) |
void | backward (Field &, const Field &, const int mu) |
void | forward (Field &, const Field &, const int boundary_condition, const int mu) |
void | backward (Field &, const Field &, const int boundary_condition, const int mu) |
Static Public Attributes | |
static const std::string | class_name = "ShiftField_lex" |
Private Member Functions | |
ShiftField_lex (const ShiftField_lex &) | |
ShiftField_lex & | operator= (const ShiftField_lex &) |
void | init (const int Nin=0) |
void | up_x (Field &, const Field &, const int boundary_condition) |
void | up_y (Field &, const Field &, const int boundary_condition) |
void | up_z (Field &, const Field &, const int boundary_condition) |
void | up_t (Field &, const Field &, const int boundary_condition) |
void | dn_x (Field &, const Field &, const int boundary_condition) |
void | dn_y (Field &, const Field &, const int boundary_condition) |
void | dn_z (Field &, const Field &, const int boundary_condition) |
void | dn_t (Field &, const Field &, const int boundary_condition) |
Private Attributes | |
int | m_Nin |
int | m_Nx |
int | m_Ny |
int | m_Nz |
int | m_Nt |
int | m_Nvol |
Bridge::VerboseLevel | m_vl |
Field | m_wt_x |
Field | m_vt_x |
comm. buffer in x-direction More... | |
Field | m_wt_y |
Field | m_vt_y |
comm. buffer in y-direction More... | |
Field | m_wt_z |
Field | m_vt_z |
comm. buffer in z-direction More... | |
Field | m_wt_t |
Field | m_vt_t |
comm. buffer in t-direction More... | |
Methods to shift a field in the lexical site index.
This class defines the methods which shift a given Field instance in the specified direction. The forward shift means, e.g. in mu-direction, v(site) = w(site-\hat{mu}), where v is the shifted field (output, the first argument) and w the original field (input, the second argument). [25 Dec 2011 H.Matsufuru] Largely modified toward ver.2.0. Multi-threading is incorporated if constructed providing Nin. [27 Nov 2021 H.Matsufuru]
Definition at line 39 of file shiftField_lex.h.
|
inline |
Definition at line 56 of file shiftField_lex.h.
|
inline |
Definition at line 58 of file shiftField_lex.h.
|
private |
void ShiftField_lex::backward | ( | Field & | v, |
const Field & | w, | ||
const int | boundary_condition, | ||
const int | mu | ||
) |
Definition at line 100 of file shiftField_lex.cpp.
Definition at line 59 of file shiftField_lex.cpp.
Definition at line 756 of file shiftField_lex.cpp.
Definition at line 223 of file shiftField_lex.cpp.
Definition at line 396 of file shiftField_lex.cpp.
Definition at line 578 of file shiftField_lex.cpp.
void ShiftField_lex::forward | ( | Field & | v, |
const Field & | w, | ||
const int | boundary_condition, | ||
const int | mu | ||
) |
Definition at line 120 of file shiftField_lex.cpp.
Definition at line 79 of file shiftField_lex.cpp.
|
private |
Definition at line 21 of file shiftField_lex.cpp.
|
private |
Definition at line 670 of file shiftField_lex.cpp.
Definition at line 140 of file shiftField_lex.cpp.
Definition at line 306 of file shiftField_lex.cpp.
Definition at line 486 of file shiftField_lex.cpp.
|
static |
Definition at line 41 of file shiftField_lex.h.
|
private |
Definition at line 44 of file shiftField_lex.h.
|
private |
Definition at line 45 of file shiftField_lex.h.
|
private |
Definition at line 46 of file shiftField_lex.h.
|
private |
Definition at line 45 of file shiftField_lex.h.
|
private |
Definition at line 45 of file shiftField_lex.h.
|
private |
Definition at line 45 of file shiftField_lex.h.
|
private |
Definition at line 48 of file shiftField_lex.h.
|
private |
comm. buffer in t-direction
Definition at line 53 of file shiftField_lex.h.
|
private |
comm. buffer in x-direction
Definition at line 50 of file shiftField_lex.h.
|
private |
comm. buffer in y-direction
Definition at line 51 of file shiftField_lex.h.
|
private |
comm. buffer in z-direction
Definition at line 52 of file shiftField_lex.h.
|
private |
Definition at line 53 of file shiftField_lex.h.
|
private |
Definition at line 50 of file shiftField_lex.h.
|
private |
Definition at line 51 of file shiftField_lex.h.
|
private |
Definition at line 52 of file shiftField_lex.h.