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

Unpreconditioned Overlap-DWF (Borici) linear operator. More...

#include <unprec_ovdwf_linop_array_w.h>

Inheritance diagram for Chroma::UnprecOvDWLinOpArray:
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

 UnprecOvDWLinOpArray (Handle< FermState< T, P, Q > > fs, const Real &WilsonMass_, const Real &m_q, int N5_)
 Full constructor. More...
 
void create (Handle< FermState< T, P, Q > > fs, const Real &WilsonMass_, const Real &m_q_, int N5_)
 Creation routine. More...
 
int size () const
 Length of DW flavor index/space. More...
 
 ~UnprecOvDWLinOpArray ()
 Destructor is automatic. More...
 
const FermBC< T, P, Q > & getFermBC () const
 Return the fermion BC object for this linear operator. More...
 
const Subset & subset () const
 Only defined on the entire lattice. 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. See my notes ;-) 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
 Apply the derivative of the operator onto a source std::vector. 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

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

Private Attributes

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

Detailed Description

Unpreconditioned Overlap-DWF (Borici) linear operator.

This routine is specific to Wilson fermions!

Definition at line 22 of file unprec_ovdwf_linop_array_w.h.

Member Typedef Documentation

◆ P

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

Definition at line 28 of file unprec_ovdwf_linop_array_w.h.

◆ Q

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

Definition at line 29 of file unprec_ovdwf_linop_array_w.h.

◆ T

typedef LatticeFermion Chroma::UnprecOvDWLinOpArray::T

Definition at line 27 of file unprec_ovdwf_linop_array_w.h.

Constructor & Destructor Documentation

◆ UnprecOvDWLinOpArray() [1/2]

Chroma::UnprecOvDWLinOpArray::UnprecOvDWLinOpArray ( Handle< FermState< T, P, Q > >  fs,
const Real &  WilsonMass_,
const Real &  m_q,
int  N5_ 
)
inline

Full constructor.

Definition at line 32 of file unprec_ovdwf_linop_array_w.h.

References create(), and m_q.

◆ ~UnprecOvDWLinOpArray()

Chroma::UnprecOvDWLinOpArray::~UnprecOvDWLinOpArray ( )
inline

Destructor is automatic.

Definition at line 44 of file unprec_ovdwf_linop_array_w.h.

◆ UnprecOvDWLinOpArray() [2/2]

Chroma::UnprecOvDWLinOpArray::UnprecOvDWLinOpArray ( )
inlineprotected

Partial constructor.

Definition at line 64 of file unprec_ovdwf_linop_array_w.h.

Member Function Documentation

◆ Dminus()

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

Apply the Dminus operator on a lattice fermion. See my notes ;-)

Implements Chroma::UnprecDWLikeLinOpBaseArray< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.

Definition at line 126 of file unprec_ovdwf_linop_array_w.cc.

References chi, Chroma::isign, Nd, and psi.

◆ getFermBC()

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

Return the fermion BC object for this linear operator.

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

Definition at line 47 of file unprec_ovdwf_linop_array_w.h.

References fbc.

◆ operator()()

void Chroma::UnprecOvDWLinOpArray::operator() ( multi1d< LatticeFermion > &  chi,
const multi1d< LatticeFermion > &  psi,
enum PlusMinus  isign 
) const
virtual

Apply the operator onto a source std::vector.

The operator acts on the entire lattice

Parameters
psiPseudofermion field (Read)
isignFlag ( PLUS | MINUS ) (Read)

Implements Chroma::LinearOperatorArray< T >.

Definition at line 41 of file unprec_ovdwf_linop_array_w.cc.

References a5, chi, END_CODE, Chroma::isign, n, N5, Nd, Chroma::PLUS, psi, START_CODE, tmp, and tmp2.

◆ operator=()

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

Hide =.

Definition at line 66 of file unprec_ovdwf_linop_array_w.h.

◆ size()

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

◆ subset()

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

Only defined on the entire lattice.

Implements Chroma::LinearOperatorArray< T >.

Definition at line 50 of file unprec_ovdwf_linop_array_w.h.

Member Data Documentation

◆ a5

Real Chroma::UnprecOvDWLinOpArray::a5
private

Definition at line 71 of file unprec_ovdwf_linop_array_w.h.

◆ D

WilsonDslash Chroma::UnprecOvDWLinOpArray::D
private

Definition at line 73 of file unprec_ovdwf_linop_array_w.h.

◆ fbc

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

Definition at line 74 of file unprec_ovdwf_linop_array_w.h.

Referenced by getFermBC().

◆ m_q

Real Chroma::UnprecOvDWLinOpArray::m_q
private

Definition at line 70 of file unprec_ovdwf_linop_array_w.h.

Referenced by UnprecOvDWLinOpArray().

◆ N5

int Chroma::UnprecOvDWLinOpArray::N5
private

Definition at line 72 of file unprec_ovdwf_linop_array_w.h.

Referenced by size().

◆ WilsonMass

Real Chroma::UnprecOvDWLinOpArray::WilsonMass
private

Definition at line 69 of file unprec_ovdwf_linop_array_w.h.


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