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

cps::WilsonMatrix Class Reference

#include <wilson_matrix.h>

List of all members.

Public Member Functions

 WilsonMatrix ()
 WilsonMatrix (const WilsonMatrix &rhs)
 WilsonMatrix (const wilson_matrix &rhs)
 WilsonMatrix (const Float &rhs)
 WilsonMatrix (const Rcomplex &rhs)
 WilsonMatrix (int sink_spin, int sink_color, const wilson_vector &)
 WilsonMatrix (int sink_spin, int sink_color, int source_spin, int source_color, const Rcomplex &)
void Element (int sink_spin, int sink_color, int source_spin, int source_color, const Rcomplex &z)
Complexoperator() (int s1, int c1, int s2, int c2)
Complex operator() (int s1, int c1, int s2, int c2) const
void hconj ()
 hermitean conjugate the WilsonMatrix
WilsonMatrixgl (int dir)
 mult the prop by gamma_dir on the left
WilsonMatrixgr (int dir)
 mult the prop by gamma_dir on the left
WilsonMatrixsigmaR (int mu, int nu)
 right mult by sigma_mu_nu
WilsonMatrix conj_cp ()
 make a copy of the hermitean conjugate
wilson_vectorsol (int source_spin, int source_color)
 get a sol. vector
void load_vec (int sink_spin, int sink_color, const wilson_vector &)
void load_row (int source_spin, int source_color, const wilson_vector &)
Rcomplex Trace ()
const wilson_matrixwmat () const
WilsonMatrixLeftTimesEqual (const WilsonMatrix &rhs)
WilsonMatrixPParProjectSink ()
 Projects positive parity on the sink.
WilsonMatrixNParProjectSink ()
WilsonMatrixPParProjectSource ()
 Projects positive parity on the source.
WilsonMatrixSinkChiralToDirac ()
 sink chiral to dirac rotation
WilsonMatrixoperator= (const WilsonMatrix &rhs)
WilsonMatrixoperator= (const wilson_matrix &rhs)
WilsonMatrixoperator= (const Float &rhs)
WilsonMatrixoperator+= (const WilsonMatrix &rhs)
WilsonMatrixoperator-= (const WilsonMatrix &rhs)
WilsonMatrixoperator *= (const WilsonMatrix &rhs)
WilsonMatrixoperator *= (const Float &rhs)
WilsonMatrixoperator *= (const Rcomplex &rhs)
WilsonMatrixUMultSource (Matrix &U, WilsonMatrix &W)
WilsonMatrixUdagMultSource (Matrix &U, WilsonMatrix &W)
WilsonMatrixAddMult (const Rcomplex &fact, const WilsonMatrix &x)
WilsonMatrixccl (int dir)
WilsonMatrixccr (int dir)
WilsonMatrixdiq (const WilsonMatrix &rhs)
WilsonMatrixjoint (const WilsonMatrix &rhs)

Friends

Rcomplex Trace (const WilsonMatrix &p1, const WilsonMatrix &p2)
 Spin and Color trace of a 2 WilsonMatrices.


Detailed Description

The WilsonMatrix class is used to build quark propagators.

The gamma matrices used are in the Chiral basis:

\[ \gamma_0 = \gamma_x = \left(\begin{tabular}{rrrr} 0 & 0 & 0 & i \\ 0 & 0 & i & 0 \\ 0 & -i & 0 & 0 \\ -i & 0 & 0 & 0 \end{tabular}\right),\;\;\;\; \gamma_1 = \gamma_y = \left(\begin{tabular}{rrrr} 0 & 0 & 0 & -1 \\ 0 & 0 & 1 & 0 \\ 0 & 1 & 0 & 0 \\ -1 & 0 & 0 & 0 \end{tabular}\right) \]

\[ \gamma_2 = \gamma_z = \left(\begin{tabular}{rrrr} 0 & 0 & i & 0 \\ 0 & 0 & 0 & -i \\ -i & 0 & 0 & 0 \\ 0 & i & 0 & 0 \end{tabular}\right), \;\;\;\; \gamma_3 = \gamma_t = \left(\begin{tabular}{rrrr} 0 & 0 & 1 & 0 \\ 0 & 0 & 0 & 1 \\ 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \end{tabular}\right) \]

\[ \gamma_5 = \left(\begin{tabular}{rrrr} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 & -1 & 0 \\ 0 & 0 & 0 & -1 \end{tabular}\right) \]

Definition at line 240 of file wilson_matrix.h.


Constructor & Destructor Documentation

cps::WilsonMatrix::WilsonMatrix  ) 
 

Definition at line 28 of file WilsonMatrix.C.

cps::WilsonMatrix::WilsonMatrix const WilsonMatrix rhs  ) 
 

Definition at line 34 of file WilsonMatrix.C.

References p.

cps::WilsonMatrix::WilsonMatrix const wilson_matrix rhs  ) 
 

Definition at line 31 of file WilsonMatrix.C.

cps::WilsonMatrix::WilsonMatrix const Float rhs  ) 
 

Definition at line 61 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, cps::Rcomplex::imag(), and cps::Rcomplex::real().

cps::WilsonMatrix::WilsonMatrix const Rcomplex rhs  ) 
 

Definition at line 71 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, and cps::wilson_matrix::d.

cps::WilsonMatrix::WilsonMatrix int  sink_spin,
int  sink_color,
const wilson_vector
 

Definition at line 55 of file WilsonMatrix.C.

References cps::color_wilson_vector::c, cps::wilson_matrix::d, and cps::wilson_vector.

cps::WilsonMatrix::WilsonMatrix int  sink_spin,
int  sink_color,
int  source_spin,
int  source_color,
const Rcomplex
 

Definition at line 38 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, and cps::wilson_matrix::d.


Member Function Documentation

WilsonMatrix & cps::WilsonMatrix::AddMult const Rcomplex fact,
const WilsonMatrix x
 

Logically equivalent to += fact * x , but does not require a temporary WilsonMtarix

Definition at line 337 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, and p.

WilsonMatrix & cps::WilsonMatrix::ccl int  dir  ) 
 

Definition at line 806 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, TIMESMINUSONE, and TIMESPLUSONE.

Referenced by cps::QPropWSeqProtUSrc::SetSource(), and cps::QPropWSeqProtDSrc::SetSource().

WilsonMatrix & cps::WilsonMatrix::ccr int  dir  ) 
 

Definition at line 856 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, TIMESMINUSONE, and TIMESPLUSONE.

Referenced by cps::QPropWSeqProtUSrc::SetSource(), and cps::QPropWSeqProtDSrc::SetSource().

WilsonMatrix cps::WilsonMatrix::conj_cp  ) 
 

make a copy of the hermitean conjugate

Definition at line 131 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::conj(), cps::WilsonVector::d, cps::wilson_matrix::d, and p.

WilsonMatrix & cps::WilsonMatrix::diq const WilsonMatrix rhs  ) 
 

Definition at line 910 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, cps::Verbose::Func(), cps::k, cps::VRB, and wmat().

void cps::WilsonMatrix::Element int  sink_spin,
int  sink_color,
int  source_spin,
int  source_color,
const Rcomplex z
 

Definition at line 47 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, and cps::wilson_matrix::d.

WilsonMatrix & cps::WilsonMatrix::gl int  dir  ) 
 

mult the prop by gamma_dir on the left

Left Multiplication by Dirac gamma's

 Chiral basis
 gamma(XUP)    gamma(YUP)    gamma(ZUP)    gamma(TUP)    gamma(FIVE)
 0  0  0  i    0  0  0 -1    0  0  i  0    0  0  1  0    1  0  0  0
 0  0  i  0    0  0  1  0    0  0  0 -i    0  0  0  1    0  1  0  0
 0 -i  0  0    0  1  0  0   -i  0  0  0    1  0  0  0    0  0 -1  0
-i  0  0  0   -1  0  0  0    0  i  0  0    0  1  0  0    0  0  0 -1

Definition at line 522 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, TIMESMINUSI, TIMESMINUSONE, TIMESPLUSI, and TIMESPLUSONE.

Referenced by cps::Meson::calcMeson(), cps::Nuc3ptCons::InsertOp(), NParProjectSink(), PParProjectSink(), and cps::QPropWSeqMesSrc::SetSource().

WilsonMatrix & cps::WilsonMatrix::gr int  dir  ) 
 

mult the prop by gamma_dir on the left

Right Multiplication by Dirac gamma's

 Chiral basis
 gamma(XUP)    gamma(YUP)    gamma(ZUP)    gamma(TUP)    gamma(FIVE)
 0  0  0  i    0  0  0 -1    0  0  i  0    0  0  1  0    1  0  0  0
 0  0  i  0    0  0  1  0    0  0  0 -i    0  0  0  1    0  1  0  0
 0 -i  0  0    0  1  0  0   -i  0  0  0    1  0  0  0    0  0 -1  0
-i  0  0  0   -1  0  0  0    0  i  0  0    0  1  0  0    0  0  0 -1

Definition at line 609 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, TIMESMINUSI, TIMESMINUSONE, TIMESPLUSI, and TIMESPLUSONE.

Referenced by cps::Meson::calcMeson(), cps::Nuc3ptStru::InsertOp(), and PParProjectSource().

void cps::WilsonMatrix::hconj  ) 
 

hermitean conjugate the WilsonMatrix

Hermitian conjugate of the propagator

\[ P_{s_1,c_1;s_2,c_2} = P^*_{s_2,c_2;s_1,c_1}\]

Definition at line 116 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::conj(), cps::WilsonVector::d, and cps::wilson_matrix::d.

Referenced by cps::Meson::calcMeson(), and cps::Meson::calcMidPointPion().

WilsonMatrix & cps::WilsonMatrix::joint const WilsonMatrix rhs  ) 
 

Definition at line 978 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, and wmat().

WilsonMatrix & cps::WilsonMatrix::LeftTimesEqual const WilsonMatrix rhs  ) 
 

Definition at line 263 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, and p.

void cps::WilsonMatrix::load_row int  source_spin,
int  source_color,
const wilson_vector
 

Definition at line 88 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, and cps::wilson_vector.

Referenced by cps::QPropW::GaussSmearSinkProp(), cps::QPropW::LoadRow(), cps::QPropW::RestoreQPropLs_ftom(), and cps::QPropW::SaveQPropLs().

void cps::WilsonMatrix::load_vec int  sink_spin,
int  sink_color,
const wilson_vector
 

Definition at line 84 of file WilsonMatrix.C.

References cps::color_wilson_vector::c, cps::wilson_matrix::d, and cps::wilson_vector.

Referenced by cps::QPropWGFLfuncSrc::QPropWGFLfuncSrc(), and cps::QPropW::RestoreOrgProp().

WilsonMatrix & cps::WilsonMatrix::NParProjectSink  ) 
 

Definition at line 1227 of file WilsonMatrix.C.

References cps::Float, and gl().

WilsonMatrix & cps::WilsonMatrix::operator *= const Rcomplex rhs  ) 
 

Definition at line 305 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, and cps::wilson_matrix::d.

WilsonMatrix & cps::WilsonMatrix::operator *= const Float rhs  ) 
 

Definition at line 289 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, and cps::wilson_matrix::d.

WilsonMatrix & cps::WilsonMatrix::operator *= const WilsonMatrix rhs  ) 
 

Definition at line 235 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, and p.

Complex cps::WilsonMatrix::operator() int  s1,
int  c1,
int  s2,
int  c2
const [inline]
 

Return the complex number references by s1 - sink_spin c1 - sink_colour s2 - source_spin c2 - source_colour ( const version )

Definition at line 279 of file wilson_matrix.h.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::Complex, cps::WilsonVector::d, cps::wilson_matrix::d, and cps::p().

Complex& cps::WilsonMatrix::operator() int  s1,
int  c1,
int  s2,
int  c2
[inline]
 

Return the complex number references by s1 - sink_spin c1 - sink_colour s2 - source_spin c2 - source_colour

Definition at line 268 of file wilson_matrix.h.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::Complex, cps::WilsonVector::d, cps::wilson_matrix::d, and cps::p().

WilsonMatrix & cps::WilsonMatrix::operator+= const WilsonMatrix rhs  ) 
 

Definition at line 176 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, and p.

WilsonMatrix & cps::WilsonMatrix::operator-= const WilsonMatrix rhs  ) 
 

Definition at line 194 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, and p.

WilsonMatrix & cps::WilsonMatrix::operator= const Float rhs  ) 
 

Definition at line 321 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, cps::Rcomplex::imag(), and cps::Rcomplex::real().

WilsonMatrix & cps::WilsonMatrix::operator= const wilson_matrix rhs  ) 
 

Definition at line 154 of file WilsonMatrix.C.

WilsonMatrix & cps::WilsonMatrix::operator= const WilsonMatrix rhs  ) 
 

Definition at line 147 of file WilsonMatrix.C.

References p.

WilsonMatrix & cps::WilsonMatrix::PParProjectSink  ) 
 

Projects positive parity on the sink.

Definition at line 1213 of file WilsonMatrix.C.

References cps::Float, and gl().

Referenced by cps::Nuc2pt::calcMomNucleon(), cps::Nuc2pt::calcNucleon(), cps::Nuc2pt::calcWallMomNucleon(), cps::QPropWSeqProtUSrc::SetSource(), and cps::QPropWSeqProtDSrc::SetSource().

WilsonMatrix & cps::WilsonMatrix::PParProjectSource  ) 
 

Projects positive parity on the source.

Definition at line 1249 of file WilsonMatrix.C.

References cps::Float, and gr().

Referenced by cps::QPropW::NonRelProp().

WilsonMatrix & cps::WilsonMatrix::sigmaR int  mu,
int  nu
 

right mult by sigma_mu_nu

Definition at line 1280 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, cps::ERR, cps::Error::General(), cps::k, TIMESMINUSI, TIMESMINUSONE, TIMESPLUSI, and TIMESPLUSONE.

WilsonMatrix & cps::WilsonMatrix::SinkChiralToDirac  ) 
 

sink chiral to dirac rotation

Multiplies the sink indices with the rotation matrix that takes you from the Chiral to the Dirac basis.

\[ V^{s,c}_{s',c'} = \sum_{d} W^{s,c}_{d,c'} V^\dagger_{d,s'} \]

Definition at line 1270 of file WilsonMatrix.C.

References cps::color_wilson_vector::c, cps::WilsonVector::ChiralToDirac(), and cps::wilson_matrix::d.

Referenced by cps::QPropW::RestoreOrgProp(), cps::QPropW::RestoreQPropLs(), and cps::QPropW::Run().

wilson_vector & cps::WilsonMatrix::sol int  source_spin,
int  source_color
 

get a sol. vector

Definition at line 107 of file WilsonMatrix.C.

References cps::color_wilson_vector::c, cps::wilson_matrix::d, and cps::wilson_vector.

Referenced by cps::QPropW::RestoreOrgProp().

Rcomplex cps::WilsonMatrix::Trace  ) 
 

Definition at line 161 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, and cps::wilson_matrix::d.

Referenced by cps::Nuc3ptStru::InsertOp().

WilsonMatrix & cps::WilsonMatrix::UdagMultSource Matrix U,
WilsonMatrix W
 

Multilies the WilsonMatrix source indices with the dagger of the gauge Matrix U

\[ V^{s,c}_{s',c'} = \sum_{c_1} W^{s,c}_{s',c_1} U^{\dagger}_{c_1,c'} \]

Definition at line 1189 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, cps::IFloat, p, cps::Matrix::Trans(), U, and cps::uDagDotXEqual().

Referenced by cps::Nuc3ptCons::InsertOp().

WilsonMatrix & cps::WilsonMatrix::UMultSource Matrix U,
WilsonMatrix W
 

Multilies the WilsonMatrix source indices with the gauge Matrix U

\[ V^{s,c}_{s',c'} = \sum_{c_1} W^{s,c}_{s',c_1} U_{c_1,c'} \]

Definition at line 1163 of file WilsonMatrix.C.

References cps::su3_vector::c, cps::color_wilson_vector::c, cps::WilsonVector::d, cps::wilson_matrix::d, cps::IFloat, p, cps::Matrix::Trans(), U, and cps::uDotXEqual().

Referenced by cps::Nuc3ptCons::InsertOp(), and cps::Nuc3ptStru::InsertOp().

const wilson_matrix & cps::WilsonMatrix::wmat  )  const
 

Definition at line 101 of file WilsonMatrix.C.

Referenced by cps::ColorTrace(), cps::FermionVectorTp::CopyWilsonMatSink(), cps::Diquark::D_diquark(), diq(), joint(), cps::Nuc2pt::prop_nucleon(), cps::SpinTrace(), and cps::Diquark::U_diquark().


Friends And Related Function Documentation

Rcomplex Trace const WilsonMatrix p1,
const WilsonMatrix p2
[friend]
 

Spin and Color trace of a 2 WilsonMatrices.


The documentation for this class was generated from the following files:
Generated on Sat Oct 10 14:12:04 2009 for Columbia Physics System by  doxygen 1.3.9.1