Bridge++  Version 1.5.4
 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 boundary_condition, const int mu, const int ieo)
 
void backward_h (Field &, const Field &, const int boundary_condition, 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 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_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 m_Nx
 
int m_Ny
 
int m_Nz
 
int m_Nt
 
int m_Nx2
 
Index_eo m_index_eo
 
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 forward shift means, e.g. in mu-direction, v(site) = w(site-{mu}), where v is the shifted field (output, the first argument) and w the original field (input, the second argument). At present, there is no implementation for a field which has both the even and odd entries (and should be written). 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 56 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  boundary_condition,
const int  mu 
)

Definition at line 143 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  boundary_condition,
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  boundary_condition,
const int  ieo 
)
private

Definition at line 692 of file shiftField_eo.cpp.

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

Definition at line 278 of file shiftField_eo.cpp.

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

Definition at line 428 of file shiftField_eo.cpp.

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

Definition at line 559 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  boundary_condition,
const int  mu 
)

Definition at line 166 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  boundary_condition,
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  boundary_condition,
const int  ieo 
)
private

Definition at line 625 of file shiftField_eo.cpp.

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

Definition at line 189 of file shiftField_eo.cpp.

void ShiftField_eo::up_yh ( Field v,
const Field w,
const int  boundary_condition,
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  boundary_condition,
const int  ieo 
)
private

Definition at line 493 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::m_index_eo
private

Definition at line 51 of file shiftField_eo.h.

int ShiftField_eo::m_Nt
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::m_Nx
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::m_Nx2
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::m_Ny
private

Definition at line 50 of file shiftField_eo.h.

int ShiftField_eo::m_Nz
private

Definition at line 50 of file shiftField_eo.h.

Bridge::VerboseLevel ShiftField_eo::m_vl
private

Definition at line 53 of file shiftField_eo.h.


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