Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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

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 37 of file shiftField_lex.h.

Constructor & Destructor Documentation

ShiftField_lex::ShiftField_lex ( )
inline

Definition at line 43 of file shiftField_lex.h.

Member Function Documentation

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

Definition at line 19 of file shiftField_lex_imp.cpp.

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

Definition at line 61 of file shiftField_lex_imp.cpp.

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

Definition at line 560 of file shiftField_lex_imp.cpp.

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

Definition at line 161 of file shiftField_lex_imp.cpp.

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

Definition at line 291 of file shiftField_lex_imp.cpp.

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

Definition at line 431 of file shiftField_lex_imp.cpp.

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

Definition at line 40 of file shiftField_lex_imp.cpp.

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

Definition at line 80 of file shiftField_lex_imp.cpp.

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

Definition at line 500 of file shiftField_lex_imp.cpp.

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

Definition at line 99 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 361 of file shiftField_lex_imp.cpp.

Member Data Documentation

Index_lex ShiftField_lex::idx
private

Definition at line 40 of file shiftField_lex.h.

int ShiftField_lex::Nt
private

Definition at line 39 of file shiftField_lex.h.

int ShiftField_lex::Nx
private

Definition at line 39 of file shiftField_lex.h.

int ShiftField_lex::Ny
private

Definition at line 39 of file shiftField_lex.h.

int ShiftField_lex::Nz
private

Definition at line 39 of file shiftField_lex.h.


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