Bridge++  Ver. 1.3.x
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)
 

Static Public Attributes

static const std::string class_name = "ShiftField_eo"
 

Private Member Functions

 ShiftField_eo (const ShiftField_eo &)
 
ShiftField_eooperator= (const ShiftField_eo &)
 
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 55 of file shiftField_eo.h.

ShiftField_eo::ShiftField_eo ( const ShiftField_eo )
private

Member Function Documentation

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

Definition at line 99 of file shiftField_eo.cpp.

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

Definition at line 147 of file shiftField_eo.cpp.

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

Definition at line 19 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 61 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 693 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 283 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 429 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 560 of file shiftField_eo.cpp.

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

Definition at line 123 of file shiftField_eo.cpp.

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

Definition at line 172 of file shiftField_eo.cpp.

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

Definition at line 40 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 80 of file shiftField_eo.cpp.

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

Definition at line 626 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 197 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 364 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 494 of file shiftField_eo.cpp.

Member Data Documentation

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

Definition at line 47 of file shiftField_eo.h.

Index_eo ShiftField_eo::idx
private

Definition at line 51 of file shiftField_eo.h.

Bridge::VerboseLevel ShiftField_eo::m_vl
private

Definition at line 52 of file shiftField_eo.h.

int ShiftField_eo::Nt
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::Nx
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::Nx2
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::Ny
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::Nz
private

Definition at line 50 of file shiftField_eo.h.


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