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

sproj_tr.C File Reference

gamma matrix projection and spin trace routines. More...

#include <config.h>
#include <util/sproj_tr.h>

Go to the source code of this file.

Namespaces

namespace  cps

Defines

#define __builtin_prefetch(A)
#define SPROJ_START()
#define SPROJ_COMP()
#define SPROJ_END()

Enumerations

enum  { MATRIX_SIZE = 18 }

Functions

 for (blk=0;blk< num_blk;blk++)

Variables

register IFloat f00r = 0.f00i=0.f01r=0.f01i=0.f02r=0.f02i=0.
register IFloat f10r = 0.f10i=0.f11r=0.f11i=0.f12r=0.f12i=0.
register IFloat f20r = 0.f20i=0.f21r=0.f21i=0.f22r=0.f22i=0.
IFloat v1_0
IFloat v1_1
IFloat v1_2
IFloat v1_3
IFloat v1_4
IFloat v1_5
IFloat w1_0
IFloat w1_1
IFloat w1_2
IFloat w1_3
IFloat w1_4
IFloat w1_5
IFloatvnext = v+24 + v_stride
IFloatwnext = w+24 + w_stride
 tf = f
 return


Detailed Description

gamma matrix projection and spin trace routines.

Used by derivatives of the FwilsonTypes class.

Id
sproj_tr.C,v 1.1 2004/11/20 00:06:48 chulwoo Exp

Definition in file sproj_tr.C.


Define Documentation

#define __builtin_prefetch  ) 
 

Definition at line 49 of file sproj_tr.C.

 
#define SPROJ_COMP  ) 
 

Value:

f00r += v1_0*w1_0+v1_1*w1_1;\
        f00i += v1_1*w1_0-v1_0*w1_1;\
        f01r += v1_0*w1_2+v1_1*w1_3;\
        f01i += v1_1*w1_2-v1_0*w1_3;\
        f02r += v1_0*w1_4+v1_1*w1_5;\
        f02i += v1_1*w1_4-v1_0*w1_5;\
          __builtin_prefetch(vnext); vnext +=4;\
          __builtin_prefetch(wnext); wnext +=4;\
        f10r += v1_2*w1_0+v1_3*w1_1;\
        f10i += v1_3*w1_0-v1_2*w1_1;\
        f11r += v1_2*w1_2+v1_3*w1_3;\
        f11i += v1_3*w1_2-v1_2*w1_3;\
        f12r += v1_2*w1_4+v1_3*w1_5;\
        f12i += v1_3*w1_4-v1_2*w1_5;\
          __builtin_prefetch(vnext); vnext +=4;\
          __builtin_prefetch(wnext); wnext +=4;\
        f20r += v1_4*w1_0+v1_5*w1_1;\
        f20i += v1_5*w1_0-v1_4*w1_1;\
        f21r += v1_4*w1_2+v1_5*w1_3;\
        f21i += v1_5*w1_2-v1_4*w1_3;\
        f22r += v1_4*w1_4+v1_5*w1_5;\
        f22i += v1_5*w1_4-v1_4*w1_5;\
          __builtin_prefetch(vnext); vnext +=4;\
          __builtin_prefetch(wnext); wnext +=4;

 
#define SPROJ_END  ) 
 

 
#define SPROJ_START  ) 
 

Value:

int row, col, blk ; \
  IFloat *tf, *tv, *tw ; \

Definition at line 55 of file sproj_tr.C.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
MATRIX_SIZE 

Definition at line 54 of file sproj_tr.C.


Function Documentation

for  ) 
 

Definition at line 65 of file sproj_tr.C.

References cps::vnext, and cps::wnext.

Referenced by cps::AlgHmcRHMC::generateApprox().


Variable Documentation

register IFloat cps::f00r = 0.f00i=0.f01r=0.f01i=0.f02r=0.f02i=0.
 

Definition at line 58 of file sproj_tr.C.

register IFloat cps::f10r = 0.f10i=0.f11r=0.f11i=0.f12r=0.f12i=0.
 

Definition at line 59 of file sproj_tr.C.

register IFloat cps::f20r = 0.f20i=0.f21r=0.f21i=0.f22r=0.f22i=0.
 

Definition at line 60 of file sproj_tr.C.

cps::return
 

Definition at line 111 of file sproj_tr.C.

* cps::tf = f
 

Definition at line 110 of file sproj_tr.C.

Referenced by cps::SigmaprojTrTX(), cps::SigmaprojTrTY(), cps::SigmaprojTrTZ(), cps::SigmaprojTrXT(), cps::SigmaprojTrXY(), cps::SigmaprojTrXZ(), cps::SigmaprojTrYT(), cps::SigmaprojTrYX(), cps::SigmaprojTrYZ(), cps::SigmaprojTrZT(), cps::SigmaprojTrZX(), cps::SigmaprojTrZY(), cps::sprojTrTm(), cps::sprojTrTp(), cps::sprojTrXm(), cps::sprojTrXp(), cps::sprojTrYm(), cps::sprojTrYp(), cps::sprojTrZm(), and cps::sprojTrZp().

IFloat cps::v1_0
 

Definition at line 61 of file sproj_tr.C.

IFloat cps::v1_1
 

Definition at line 61 of file sproj_tr.C.

IFloat cps::v1_2
 

Definition at line 61 of file sproj_tr.C.

IFloat cps::v1_3
 

Definition at line 61 of file sproj_tr.C.

IFloat cps::v1_4
 

Definition at line 61 of file sproj_tr.C.

IFloat cps::v1_5
 

Definition at line 61 of file sproj_tr.C.

IFloat* cps::vnext = v+24 + v_stride
 

Definition at line 63 of file sproj_tr.C.

Referenced by cps::for().

IFloat cps::w1_0
 

Definition at line 62 of file sproj_tr.C.

IFloat cps::w1_1
 

Definition at line 62 of file sproj_tr.C.

IFloat cps::w1_2
 

Definition at line 62 of file sproj_tr.C.

IFloat cps::w1_3
 

Definition at line 62 of file sproj_tr.C.

IFloat cps::w1_4
 

Definition at line 62 of file sproj_tr.C.

IFloat cps::w1_5
 

Definition at line 62 of file sproj_tr.C.

IFloat* cps::wnext = w+24 + w_stride
 

Definition at line 64 of file sproj_tr.C.

Referenced by cps::for().


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