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

Unpreconditioned domain-wall Dirac operator. More...

#include <unprec_dwf_linop_array_w.h>

Inheritance diagram for Chroma::UnprecDWLinOpArray:
Chroma::UnprecDWLikeLinOpBaseArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::UnprecLinearOperatorArray< 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 Member Functions

 UnprecDWLinOpArray (Handle< FermState< T, P, Q > > fs, const Real &WilsonMass_, const Real &m_q, int N5_, const AnisoParam_t &aniso_)
 Full constructor. More...
 
 ~UnprecDWLinOpArray ()
 Destructor is automatic. More...
 
int size () const
 Length of DW flavor index/space. More...
 
const Subset & subset () const
 Only defined on the entire lattice. More...
 
const FermBC< T, P, Q > & getFermBC () const
 Return the fermion BC object for this linear operator. More...
 
void operator() (multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const
 Apply the operator onto a source std::vector. More...
 
void Dminus (LatticeFermion &chi, const LatticeFermion &psi, enum PlusMinus isign, int s5) const
 Apply the Dminus operator on a lattice fermion. More...
 
void deriv (multi1d< LatticeColorMatrix > &ds_u, const multi1d< LatticeFermion > &chi, const multi1d< LatticeFermion > &psi, enum PlusMinus isign) const
 Derivative. More...
 
- Public Member Functions inherited from Chroma::UnprecLinearOperatorArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >
virtual ~UnprecLinearOperatorArray ()
 Virtual destructor to help with cleanup;. More...
 
const Subset & subset () const
 Only defined on the 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...
 
virtual unsigned long nFlops () const
 

Protected Member Functions

 UnprecDWLinOpArray ()
 Partial constructor. More...
 
void operator= (const UnprecDWLinOpArray &)
 Hide =. More...
 

Private Attributes

Real WilsonMass
 
Real m_q
 
Real a5
 
int N5
 
Real fact1
 
Real fact2
 
WilsonDslash D
 
Handle< FermBC< T, P, Q > > fbc
 

Detailed Description

Unpreconditioned domain-wall Dirac operator.

This routine is specific to Wilson fermions!

Definition at line 22 of file unprec_dwf_linop_array_w.h.

Member Typedef Documentation

◆ P

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

Definition at line 28 of file unprec_dwf_linop_array_w.h.

◆ Q

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

Definition at line 29 of file unprec_dwf_linop_array_w.h.

◆ T

typedef LatticeFermion Chroma::UnprecDWLinOpArray::T

Definition at line 27 of file unprec_dwf_linop_array_w.h.

Constructor & Destructor Documentation

◆ ~UnprecDWLinOpArray()

Chroma::UnprecDWLinOpArray::~UnprecDWLinOpArray ( )
inline

Destructor is automatic.

Definition at line 37 of file unprec_dwf_linop_array_w.h.

◆ UnprecDWLinOpArray()

Chroma::UnprecDWLinOpArray::UnprecDWLinOpArray ( )
inlineprotected

Partial constructor.

Definition at line 72 of file unprec_dwf_linop_array_w.h.

Member Function Documentation

◆ deriv()

void Chroma::UnprecDWLinOpArray::deriv ( multi1d< LatticeColorMatrix > &  ds_u,
const multi1d< LatticeFermion > &  chi,
const multi1d< LatticeFermion > &  psi,
enum PlusMinus  isign 
) const
virtual

Derivative.

Reimplemented from Chroma::DiffLinearOperatorArray< T, P, Q >.

Definition at line 105 of file unprec_dwf_linop_array_w.cc.

References a5, chi, END_CODE, Chroma::isign, mu, N5, Nd, psi, s, START_CODE, and Chroma::zero.

◆ Dminus()

void Chroma::UnprecDWLinOpArray::Dminus ( LatticeFermion &  chi,
const LatticeFermion &  psi,
enum PlusMinus  isign,
int  s5 
) const
inlinevirtual

◆ getFermBC()

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

Return the fermion BC object for this linear operator.

Implements Chroma::DiffLinearOperatorArray< T, P, Q >.

Definition at line 46 of file unprec_dwf_linop_array_w.h.

References fbc.

◆ operator=()

void Chroma::UnprecDWLinOpArray::operator= ( const UnprecDWLinOpArray )
inlineprotected

Hide =.

Definition at line 74 of file unprec_dwf_linop_array_w.h.

◆ size()

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

◆ subset()

const Subset& Chroma::UnprecDWLinOpArray::subset ( void  ) const
inlinevirtual

Only defined on the entire lattice.

Implements Chroma::LinearOperatorArray< T >.

Definition at line 43 of file unprec_dwf_linop_array_w.h.

Member Data Documentation

◆ a5

Real Chroma::UnprecDWLinOpArray::a5
private

Definition at line 79 of file unprec_dwf_linop_array_w.h.

◆ D

WilsonDslash Chroma::UnprecDWLinOpArray::D
private

Definition at line 85 of file unprec_dwf_linop_array_w.h.

◆ fact1

Real Chroma::UnprecDWLinOpArray::fact1
private

Definition at line 82 of file unprec_dwf_linop_array_w.h.

◆ fact2

Real Chroma::UnprecDWLinOpArray::fact2
private

Definition at line 83 of file unprec_dwf_linop_array_w.h.

◆ fbc

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

Definition at line 86 of file unprec_dwf_linop_array_w.h.

Referenced by getFermBC().

◆ m_q

Real Chroma::UnprecDWLinOpArray::m_q
private

Definition at line 78 of file unprec_dwf_linop_array_w.h.

◆ N5

int Chroma::UnprecDWLinOpArray::N5
private

Definition at line 80 of file unprec_dwf_linop_array_w.h.

Referenced by size().

◆ WilsonMass

Real Chroma::UnprecDWLinOpArray::WilsonMass
private

Definition at line 77 of file unprec_dwf_linop_array_w.h.


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