Bridge++  Ver. 1.3.x
ShiftField_lex Class Reference

Methods to shift a field in the lexical site index. More...

#include <shiftField_lex.h>

Public Member Functions

 ShiftField_lex ()
 
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

 ShiftField_lex (const ShiftField_lex &)
 
ShiftField_lexoperator= (const ShiftField_lex &)
 
void up_x (Field *, const Field *, const int bc)
 
void up_y (Field *, const Field *, const int bc)
 
void up_z (Field *, const Field *, const int bc)
 
void up_t (Field *, const Field *, const int bc)
 
void dn_x (Field *, const Field *, const int bc)
 
void dn_y (Field *, const Field *, const int bc)
 
void dn_z (Field *, const Field *, const int bc)
 
void dn_t (Field *, const Field *, const int bc)
 

Private Attributes

int Nx
 
int Ny
 
int Nz
 
int Nt
 
Index_lex idx
 

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 x-direction, v(site) = w(site-{mu}), where v is the shifted field (output, first argument) and w the original field (input, second argument). [25 Dec 2011 H.Matsufuru]

Definition at line 35 of file shiftField_lex.h.

Constructor & Destructor Documentation

ShiftField_lex::ShiftField_lex ( )
inline

Definition at line 41 of file shiftField_lex.h.

ShiftField_lex::ShiftField_lex ( const ShiftField_lex )
private

Member Function Documentation

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

Definition at line 23 of file shiftField_lex_imp.cpp.

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

Definition at line 65 of file shiftField_lex_imp.cpp.

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

Definition at line 550 of file shiftField_lex_imp.cpp.

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

Definition at line 163 of file shiftField_lex_imp.cpp.

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

Definition at line 289 of file shiftField_lex_imp.cpp.

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

Definition at line 425 of file shiftField_lex_imp.cpp.

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

Definition at line 44 of file shiftField_lex_imp.cpp.

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

Definition at line 84 of file shiftField_lex_imp.cpp.

ShiftField_lex& ShiftField_lex::operator= ( const ShiftField_lex )
private
void ShiftField_lex::up_t ( Field v,
const Field w,
const int  bc 
)
private

Definition at line 492 of file shiftField_lex_imp.cpp.

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

Definition at line 103 of file shiftField_lex_imp.cpp.

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

Definition at line 221 of file shiftField_lex_imp.cpp.

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

Definition at line 357 of file shiftField_lex_imp.cpp.

Member Data Documentation

Index_lex ShiftField_lex::idx
private

Definition at line 38 of file shiftField_lex.h.

int ShiftField_lex::Nt
private

Definition at line 37 of file shiftField_lex.h.

int ShiftField_lex::Nx
private

Definition at line 37 of file shiftField_lex.h.

int ShiftField_lex::Ny
private

Definition at line 37 of file shiftField_lex.h.

int ShiftField_lex::Nz
private

Definition at line 37 of file shiftField_lex.h.


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