Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

wfm_trick.C File Reference

Routine used internally in the DiracOpWilson class. More...

#include <config.h>
#include <util/data_types.h>
#include <util/vector.h>
#include <util/wilson.h>
#include <util/error.h>
#include <sys/bgl/bgl_sys.h>
#include <comms/scu.h>

Go to the source code of this file.

Namespaces

namespace  cps

Defines

#define CHI(r, c, s)   *(chi_p +(r+2*(c+3*s)))
#define AB0(r, c, s)   *(ab0 + ab0_ptr_b +(r+2*(c+3*s)))
#define AB1(r, c, s)   *(ab1 + ab1_ptr_b +(r+2*(c+3*s)))
#define AB2(r, c, s)   *(ab2 + ab2_ptr_b +(r+2*(c+3*s)))
#define AB3(r, c, s)   *(ab3 + ab3_ptr_b +(r+2*(c+3*s)))
#define STR(s)   #s
#define QuadLoad(v, f)   asm volatile( "lfpdx " STR(f) ",0,%0" :: "r" (v) : "fr" STR(f) )
#define BGL_QUAD_ALIGNSIZE   16

Functions

void wfm_trick (IFloat *chi, IFloat *ab0, IFloat *ab1, IFloat *ab2, IFloat *ab3, IFloat sign, Wilson *wilson_p, int cb)


Detailed Description

Routine used internally in the DiracOpWilson class.

Definition in file wfm_trick.C.


Define Documentation

#define AB0 r,
c,
 )     *(ab0 + ab0_ptr_b +(r+2*(c+3*s)))
 

Definition at line 40 of file wfm_trick.C.

#define AB1 r,
c,
 )     *(ab1 + ab1_ptr_b +(r+2*(c+3*s)))
 

Definition at line 41 of file wfm_trick.C.

#define AB2 r,
c,
 )     *(ab2 + ab2_ptr_b +(r+2*(c+3*s)))
 

Definition at line 42 of file wfm_trick.C.

#define AB3 r,
c,
 )     *(ab3 + ab3_ptr_b +(r+2*(c+3*s)))
 

Definition at line 43 of file wfm_trick.C.

#define BGL_QUAD_ALIGNSIZE   16
 

Definition at line 47 of file wfm_trick.C.

#define CHI r,
c,
 )     *(chi_p +(r+2*(c+3*s)))
 

Definition at line 39 of file wfm_trick.C.

#define QuadLoad v,
 )     asm volatile( "lfpdx " STR(f) ",0,%0" :: "r" (v) : "fr" STR(f) )
 

Definition at line 46 of file wfm_trick.C.

#define STR  )     #s
 

Definition at line 45 of file wfm_trick.C.


Function Documentation

void cps::wfm_trick IFloat chi,
IFloat ab0,
IFloat ab1,
IFloat ab2,
IFloat ab3,
IFloat  sign,
Wilson *  wilson_p,
int  cb
 

Definition at line 55 of file wfm_trick.C.

References cps::__attribute__(), cps::BGL_QUAD_ALIGNSIZE, cps::IFloat, cps::Wilson::offset, cps::Wilson::ptr, QuadLoad, cps::wilson_dslash_trick(), and cps::Wilson::yztmax.

Referenced by cps::wilson_dslash().


Generated on Sat Oct 10 14:11:47 2009 for Columbia Physics System by  doxygen 1.3.9.1