Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ShiftField_eo Class Reference

Methods to shift the even-odd field. More...

#include <shiftField_eo.h>

Public Member Functions

 ShiftField_eo ()
 
void forward_h (Field &, const Field &, const int mu, const int ieo)
 
void backward_h (Field &, const Field &, const int mu, const int ieo)
 
void forward_h (Field &, const Field &, const int bc, const int mu, const int ieo)
 
void backward_h (Field &, const Field &, const int bc, const int mu, const int ieo)
 
void forward (Field &, const Field &, const int mu)
 
void backward (Field &, const Field &, const int mu)
 
void forward (Field &, const Field &, const int bc, const int mu)
 
void backward (Field &, const Field &, const int bc, const int mu)
 

Private Member Functions

void up_xh (Field &, const Field &, const int, const int)
 
void up_yh (Field &, const Field &, const int, const int)
 
void up_zh (Field &, const Field &, const int, const int)
 
void up_th (Field &, const Field &, const int, const int)
 
void dn_xh (Field &, const Field &, const int, const int)
 
void dn_yh (Field &, const Field &, const int, const int)
 
void dn_zh (Field &, const Field &, const int, const int)
 
void dn_th (Field &, const Field &, const int, const int)
 

Private Attributes

int Nx
 
int Ny
 
int Nz
 
int Nt
 
int Nx2
 
Index_eo idx
 
Bridge::VerboseLevel m_vl
 

Detailed Description

Methods to shift the even-odd field.

This class defines the methods that shift a given Field instance with even-odd site index in specified direction. The field must have half the size of the numbers of sites in a node, and field on even(odd) sites are shifted to a field on odd (even) sites. Thus the method is called with an argument specifying one of them: ieo (0: even<-odd, 1: odd<-even). The foreward shift means, e.g. in x-direction, At present, there is no implementation for a field which has both the even and odd entries (and should be written). v(site) = w(site-{mu}), where v is the shifted field (output, first argument) and w the original field (input, second argument). Names of private functions might be still confusing. [25 Dec 2011 H.Matsufuru]

Definition at line 45 of file shiftField_eo.h.

Constructor & Destructor Documentation

ShiftField_eo::ShiftField_eo ( )
inline

Definition at line 52 of file shiftField_eo.h.

Member Function Documentation

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

Definition at line 97 of file shiftField_eo.cpp.

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

Definition at line 145 of file shiftField_eo.cpp.

void ShiftField_eo::backward_h ( Field v,
const Field w,
const int  mu,
const int  ieo 
)

Definition at line 17 of file shiftField_eo.cpp.

void ShiftField_eo::backward_h ( Field v,
const Field w,
const int  bc,
const int  mu,
const int  ieo 
)

Definition at line 59 of file shiftField_eo.cpp.

void ShiftField_eo::dn_th ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 691 of file shiftField_eo.cpp.

void ShiftField_eo::dn_xh ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 281 of file shiftField_eo.cpp.

void ShiftField_eo::dn_yh ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 427 of file shiftField_eo.cpp.

void ShiftField_eo::dn_zh ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 558 of file shiftField_eo.cpp.

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

Definition at line 121 of file shiftField_eo.cpp.

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

Definition at line 170 of file shiftField_eo.cpp.

void ShiftField_eo::forward_h ( Field v,
const Field w,
const int  mu,
const int  ieo 
)

Definition at line 38 of file shiftField_eo.cpp.

void ShiftField_eo::forward_h ( Field v,
const Field w,
const int  bc,
const int  mu,
const int  ieo 
)

Definition at line 78 of file shiftField_eo.cpp.

void ShiftField_eo::up_th ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 624 of file shiftField_eo.cpp.

void ShiftField_eo::up_xh ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 195 of file shiftField_eo.cpp.

void ShiftField_eo::up_yh ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 362 of file shiftField_eo.cpp.

void ShiftField_eo::up_zh ( Field v,
const Field w,
const int  bc,
const int  ieo 
)
private

Definition at line 492 of file shiftField_eo.cpp.

Member Data Documentation

Index_eo ShiftField_eo::idx
private

Definition at line 48 of file shiftField_eo.h.

Bridge::VerboseLevel ShiftField_eo::m_vl
private

Definition at line 49 of file shiftField_eo.h.

int ShiftField_eo::Nt
private

Definition at line 47 of file shiftField_eo.h.

int ShiftField_eo::Nx
private

Definition at line 47 of file shiftField_eo.h.

int ShiftField_eo::Nx2
private

Definition at line 47 of file shiftField_eo.h.

int ShiftField_eo::Ny
private

Definition at line 47 of file shiftField_eo.h.

int ShiftField_eo::Nz
private

Definition at line 47 of file shiftField_eo.h.


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