CHROMA
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members

General Wilson-Dirac dslash. More...

#include <lwldslash_array_sse_w.h>

Inheritance diagram for Chroma::SSEWilsonDslashArray:
Chroma::WilsonDslashBaseArray Chroma::DslashLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::DiffLinearOperatorArray< T, P, Q > Chroma::LinearOperatorArray< T >

Public Types

typedef LatticeFermion T
 
typedef multi1d< LatticeColorMatrix > P
 
typedef multi1d< LatticeColorMatrix > Q
 
- Public Types inherited from Chroma::WilsonDslashBaseArray
typedef LatticeFermion T
 
typedef multi1d< LatticeColorMatrix > P
 
typedef multi1d< LatticeColorMatrix > Q
 

Public Member Functions

 SSEWilsonDslashArray ()
 Empty constructor. Must use create later. More...
 
 SSEWilsonDslashArray (Handle< FermState< T, P, Q > > state, int N5_)
 Full constructor. More...
 
 SSEWilsonDslashArray (Handle< FermState< T, P, Q > > state, int N5_, const AnisoParam_t &aniso_)
 Full constructor. More...
 
void create (Handle< FermState< T, P, Q > > state, int N5_)
 Creation routine. More...
 
void create (Handle< FermState< T, P, Q > > state, int N5_, const AnisoParam_t &aniso_)
 Creation routine. More...
 
void create (Handle< FermState< T, P, Q > > state, int N5_, const multi1d< Real > &coeffs_)
 Creation routine. More...
 
int size () const
 Expected length of array index. More...
 
 ~SSEWilsonDslashArray ()
 No real need for cleanup here. More...
 
void apply (multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign, int cb) const
 General Wilson-Dirac dslash. More...
 
void apply (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign, int cb) const
 General Wilson-Dirac dslash. More...
 
const FermBC< T, P, Q > & getFermBC () const
 Return the fermion BC object for this linear operator. More...
 
- Public Member Functions inherited from Chroma::WilsonDslashBaseArray
virtual ~WilsonDslashBaseArray ()
 No real need for cleanup here. More...
 
const Subset & subset () const
 Subset is all here. More...
 
virtual void deriv (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const
 Take deriv of D. More...
 
virtual void deriv (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign, int cb) const
 Take deriv of D. More...
 
virtual void deriv (multi1d< LatticeColorMatrix > &ds_u, const LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign, int cb) const
 Take deriv of D. More...
 
unsigned long nFlops () const
 Return flops performed by the operator() More...
 
- Public Member Functions inherited from Chroma::DslashLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >
virtual ~DslashLinearOperatorArray ()
 Virtual destructor to help in cleanup. More...
 
virtual void operator() (multi1d< LatticeFermion > &d, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const
 Apply operator on both checkerboards (entire lattice) More...
 
- Public Member Functions inherited from Chroma::DiffLinearOperatorArray< T, P, Q >
virtual ~DiffLinearOperatorArray ()
 Virtual destructor to help with cleanup;. More...
 
virtual void deriv (P &ds_u, const multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign, const Real &epsilon) const
 Apply the derivative of the operator onto a source std::vector to some precision. More...
 
- Public Member Functions inherited from Chroma::LinearOperatorArray< T >
virtual ~LinearOperatorArray ()
 Virtual destructor to help with cleanup;. More...
 
virtual void operator() (multi1d< T > &chi, const multi1d< T > &psi, enum PlusMinus isign, Real epsilon) const
 Apply the operator onto a source std::vector to some precision. More...
 

Protected Member Functions

void init ()
 Init internals. More...
 
const multi1d< Real > & getCoeffs () const
 Get the anisotropy parameters. More...
 

Private Attributes

multi1d< Real > coeffs
 
multi1d< PrimitiveSU3Matrixpacked_gauge
 
int N5
 
Handle< FermBC< T, P, Q > > fbc
 

Detailed Description

General Wilson-Dirac dslash.

DSLASH

This routine is specific to Wilson fermions!

Description:

This routine applies the operator D' to Psi, putting the result in Chi.

      Nd-1
      ---
      \

chi(x) := > U (x) (1 - isign gamma ) psi(x+mu)

/ mu mu

mu=0

  Nd-1
  ---
  \    +
 +    >  U  (x-mu) (1 + isign gamma  ) psi(x-mu)
  /    mu                    mu
  ---
  mu=0

Definition at line 48 of file lwldslash_array_sse_w.h.

Member Typedef Documentation

◆ P

typedef multi1d<LatticeColorMatrix> Chroma::SSEWilsonDslashArray::P

Definition at line 53 of file lwldslash_array_sse_w.h.

◆ Q

typedef multi1d<LatticeColorMatrix> Chroma::SSEWilsonDslashArray::Q

Definition at line 54 of file lwldslash_array_sse_w.h.

◆ T

typedef LatticeFermion Chroma::SSEWilsonDslashArray::T

Definition at line 52 of file lwldslash_array_sse_w.h.

Constructor & Destructor Documentation

◆ SSEWilsonDslashArray() [1/3]

Chroma::SSEWilsonDslashArray::SSEWilsonDslashArray ( )

Empty constructor. Must use create later.

Definition at line 34 of file lwldslash_array_sse_w.cc.

References init().

◆ SSEWilsonDslashArray() [2/3]

Chroma::SSEWilsonDslashArray::SSEWilsonDslashArray ( Handle< FermState< T, P, Q > >  state,
int  N5_ 
)

Full constructor.

Definition at line 50 of file lwldslash_array_sse_w.cc.

References create(), init(), and Chroma::state.

◆ SSEWilsonDslashArray() [3/3]

Chroma::SSEWilsonDslashArray::SSEWilsonDslashArray ( Handle< FermState< T, P, Q > >  state,
int  N5_,
const AnisoParam_t aniso_ 
)

Full constructor.

Definition at line 40 of file lwldslash_array_sse_w.cc.

References create(), init(), and Chroma::state.

◆ ~SSEWilsonDslashArray()

Chroma::SSEWilsonDslashArray::~SSEWilsonDslashArray ( )

No real need for cleanup here.

Definition at line 126 of file lwldslash_array_sse_w.cc.

References Chroma::END_CODE(), and Chroma::START_CODE().

Member Function Documentation

◆ create() [1/3]

void Chroma::SSEWilsonDslashArray::create ( Handle< FermState< T, P, Q > >  state,
int  N5_ 
)

Creation routine.

Definition at line 59 of file lwldslash_array_sse_w.cc.

References Nd, and Chroma::state.

Referenced by create(), and SSEWilsonDslashArray().

◆ create() [2/3]

void Chroma::SSEWilsonDslashArray::create ( Handle< FermState< T, P, Q > >  state,
int  N5_,
const AnisoParam_t aniso_ 
)

Creation routine.

Creation routine with anisotropy.

Definition at line 69 of file lwldslash_array_sse_w.cc.

References create(), Chroma::END_CODE(), Chroma::makeFermCoeffs(), Chroma::START_CODE(), and Chroma::state.

◆ create() [3/3]

void Chroma::SSEWilsonDslashArray::create ( Handle< FermState< T, P, Q > >  state,
int  N5_,
const multi1d< Real > &  coeffs_ 
)

Creation routine.

Definition at line 80 of file lwldslash_array_sse_w.cc.

References coeffs, Chroma::END_CODE(), fbc, mu, N5, Nd, packed_gauge, Chroma::START_CODE(), Chroma::state, and Chroma::u.

◆ getCoeffs()

const multi1d<Real>& Chroma::SSEWilsonDslashArray::getCoeffs ( ) const
inlineprotectedvirtual

Get the anisotropy parameters.

Implements Chroma::WilsonDslashBaseArray.

Definition at line 124 of file lwldslash_array_sse_w.h.

◆ getFermBC()

const FermBC<T,P,Q>& Chroma::SSEWilsonDslashArray::getFermBC ( ) const
inlinevirtual

Return the fermion BC object for this linear operator.

Implements Chroma::WilsonDslashBaseArray.

Definition at line 117 of file lwldslash_array_sse_w.h.

Referenced by apply().

◆ init()

void Chroma::SSEWilsonDslashArray::init ( )
protected

Init internals.

Initialization routine.

Definition at line 14 of file lwldslash_array_sse_w.cc.

References Chroma::END_CODE(), and Chroma::START_CODE().

Referenced by SSEWilsonDslashArray().

◆ size()

int Chroma::SSEWilsonDslashArray::size ( void  ) const
inlinevirtual

Member Data Documentation

◆ coeffs

multi1d<Real> Chroma::SSEWilsonDslashArray::coeffs
private

Nd array of coefficients of terms in the action

Definition at line 127 of file lwldslash_array_sse_w.h.

Referenced by create().

◆ fbc

Handle< FermBC<T,P,Q> > Chroma::SSEWilsonDslashArray::fbc
private

Definition at line 130 of file lwldslash_array_sse_w.h.

Referenced by create().

◆ N5

int Chroma::SSEWilsonDslashArray::N5
private

Definition at line 129 of file lwldslash_array_sse_w.h.

Referenced by apply(), and create().

◆ packed_gauge

multi1d<PrimitiveSU3Matrix> Chroma::SSEWilsonDslashArray::packed_gauge
private

Definition at line 128 of file lwldslash_array_sse_w.h.

Referenced by apply(), and create().


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