Bridge++  Ver. 2.0.2
ShiftField_lex Class Reference

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_lexoperator= (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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ShiftField_lex() [1/3]

ShiftField_lex::ShiftField_lex ( )
inline

Definition at line 56 of file shiftField_lex.h.

◆ ShiftField_lex() [2/3]

ShiftField_lex::ShiftField_lex ( const int  Nin)
inline

Definition at line 58 of file shiftField_lex.h.

◆ ShiftField_lex() [3/3]

ShiftField_lex::ShiftField_lex ( const ShiftField_lex )
private

Member Function Documentation

◆ backward() [1/2]

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.

◆ backward() [2/2]

void ShiftField_lex::backward ( Field v,
const Field w,
const int  mu 
)

Definition at line 59 of file shiftField_lex.cpp.

◆ dn_t()

void ShiftField_lex::dn_t ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 756 of file shiftField_lex.cpp.

◆ dn_x()

void ShiftField_lex::dn_x ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 223 of file shiftField_lex.cpp.

◆ dn_y()

void ShiftField_lex::dn_y ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 396 of file shiftField_lex.cpp.

◆ dn_z()

void ShiftField_lex::dn_z ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 578 of file shiftField_lex.cpp.

◆ forward() [1/2]

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.

◆ forward() [2/2]

void ShiftField_lex::forward ( Field v,
const Field w,
const int  mu 
)

Definition at line 79 of file shiftField_lex.cpp.

◆ init()

void ShiftField_lex::init ( const int  Nin = 0)
private

Definition at line 21 of file shiftField_lex.cpp.

◆ operator=()

ShiftField_lex& ShiftField_lex::operator= ( const ShiftField_lex )
private

◆ up_t()

void ShiftField_lex::up_t ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 670 of file shiftField_lex.cpp.

◆ up_x()

void ShiftField_lex::up_x ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 140 of file shiftField_lex.cpp.

◆ up_y()

void ShiftField_lex::up_y ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 306 of file shiftField_lex.cpp.

◆ up_z()

void ShiftField_lex::up_z ( Field v,
const Field w,
const int  boundary_condition 
)
private

Definition at line 486 of file shiftField_lex.cpp.

Member Data Documentation

◆ class_name

const std::string ShiftField_lex::class_name = "ShiftField_lex"
static

Definition at line 41 of file shiftField_lex.h.

◆ m_Nin

int ShiftField_lex::m_Nin
private

Definition at line 44 of file shiftField_lex.h.

◆ m_Nt

int ShiftField_lex::m_Nt
private

Definition at line 45 of file shiftField_lex.h.

◆ m_Nvol

int ShiftField_lex::m_Nvol
private

Definition at line 46 of file shiftField_lex.h.

◆ m_Nx

int ShiftField_lex::m_Nx
private

Definition at line 45 of file shiftField_lex.h.

◆ m_Ny

int ShiftField_lex::m_Ny
private

Definition at line 45 of file shiftField_lex.h.

◆ m_Nz

int ShiftField_lex::m_Nz
private

Definition at line 45 of file shiftField_lex.h.

◆ m_vl

Bridge::VerboseLevel ShiftField_lex::m_vl
private

Definition at line 48 of file shiftField_lex.h.

◆ m_vt_t

Field ShiftField_lex::m_vt_t
private

comm. buffer in t-direction

Definition at line 53 of file shiftField_lex.h.

◆ m_vt_x

Field ShiftField_lex::m_vt_x
private

comm. buffer in x-direction

Definition at line 50 of file shiftField_lex.h.

◆ m_vt_y

Field ShiftField_lex::m_vt_y
private

comm. buffer in y-direction

Definition at line 51 of file shiftField_lex.h.

◆ m_vt_z

Field ShiftField_lex::m_vt_z
private

comm. buffer in z-direction

Definition at line 52 of file shiftField_lex.h.

◆ m_wt_t

Field ShiftField_lex::m_wt_t
private

Definition at line 53 of file shiftField_lex.h.

◆ m_wt_x

Field ShiftField_lex::m_wt_x
private

Definition at line 50 of file shiftField_lex.h.

◆ m_wt_y

Field ShiftField_lex::m_wt_y
private

Definition at line 51 of file shiftField_lex.h.

◆ m_wt_z

Field ShiftField_lex::m_wt_z
private

Definition at line 52 of file shiftField_lex.h.


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