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

Unpreconditioned Pauli-Villars Continued Fraction 5D. More...

#include <unprec_ovlap_contfrac5d_pv_linop_array_w.h>

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

 UnprecOvlapContFrac5DPVLinOpArray (const UnprecWilsonTypeFermAct< T, P, Q > &S_aux, Handle< FermState< T, P, Q > > state, const Real &_m_q, int _N5, const Real &_scale_fac, const multi1d< Real > &_alpha, const multi1d< Real > &_beta, int _NEig, const multi1d< Real > &_EigValFunc, const multi1d< LatticeFermion > &_EigVec, const bool _isLastZeroP)
 Full constructor. More...
 
int size () const
 Length of DW flavor index/space. More...
 
 ~UnprecOvlapContFrac5DPVLinOpArray ()
 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 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
 

Private Attributes

Handle< DiffLinearOperator< T, P, Q > > M
 
Handle< FermBC< T, P, Q > > fbc
 
const Real m_q
 
const int N5
 
const Real scale_fac
 
const multi1d< Real > alpha
 
const multi1d< Real > beta
 
const int NEig
 
const multi1d< LatticeFermion > EigVec
 
const multi1d< Real > EigValFunc
 
const bool isLastZeroP
 

Detailed Description

Unpreconditioned Pauli-Villars Continued Fraction 5D.

Paulli-Villars cont. frac.

Definition at line 22 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Member Typedef Documentation

◆ P

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

Definition at line 28 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

◆ Q

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

Definition at line 29 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

◆ T

Definition at line 27 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Constructor & Destructor Documentation

◆ UnprecOvlapContFrac5DPVLinOpArray()

Chroma::UnprecOvlapContFrac5DPVLinOpArray::UnprecOvlapContFrac5DPVLinOpArray ( const UnprecWilsonTypeFermAct< T, P, Q > &  S_aux,
Handle< FermState< T, P, Q > >  state,
const Real &  _m_q,
int  _N5,
const Real &  _scale_fac,
const multi1d< Real > &  _alpha,
const multi1d< Real > &  _beta,
int  _NEig,
const multi1d< Real > &  _EigValFunc,
const multi1d< LatticeFermion > &  _EigVec,
const bool  _isLastZeroP 
)
inline

Full constructor.

Definition at line 32 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

References isLastZeroP.

◆ ~UnprecOvlapContFrac5DPVLinOpArray()

Chroma::UnprecOvlapContFrac5DPVLinOpArray::~UnprecOvlapContFrac5DPVLinOpArray ( )
inline

Destructor is automatic.

Definition at line 55 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Member Function Documentation

◆ deriv()

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

◆ getFermBC()

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

Return the fermion BC object for this linear operator.

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

Definition at line 58 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

References fbc.

Referenced by deriv(), and operator()().

◆ operator()()

void Chroma::UnprecOvlapContFrac5DPVLinOpArray::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 20 of file unprec_ovlap_contfrac5d_pv_linop_array_w.cc.

References alpha, beta, Chroma::chi(), Chroma::END_CODE(), Chroma::G5, getFermBC(), n, N5, NEig, Chroma::PLUS, Chroma::psi, scale_fac, Chroma::START_CODE(), and tmp2.

◆ size()

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

Length of DW flavor index/space.

Implements Chroma::LinearOperatorArray< T >.

Definition at line 52 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

References N5.

◆ subset()

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

Only defined on the entire lattice.

Implements Chroma::LinearOperatorArray< T >.

Definition at line 61 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Member Data Documentation

◆ alpha

const multi1d<Real> Chroma::UnprecOvlapContFrac5DPVLinOpArray::alpha
private

Definition at line 79 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Referenced by operator()().

◆ beta

const multi1d<Real> Chroma::UnprecOvlapContFrac5DPVLinOpArray::beta
private

Definition at line 80 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Referenced by deriv(), and operator()().

◆ EigValFunc

const multi1d<Real> Chroma::UnprecOvlapContFrac5DPVLinOpArray::EigValFunc
private

Definition at line 83 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

◆ EigVec

const multi1d<LatticeFermion> Chroma::UnprecOvlapContFrac5DPVLinOpArray::EigVec
private

Definition at line 82 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

◆ fbc

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

Definition at line 75 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Referenced by getFermBC().

◆ isLastZeroP

const bool Chroma::UnprecOvlapContFrac5DPVLinOpArray::isLastZeroP
private

◆ M

Handle< DiffLinearOperator<T,P,Q> > Chroma::UnprecOvlapContFrac5DPVLinOpArray::M
private

Definition at line 74 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Referenced by deriv().

◆ m_q

const Real Chroma::UnprecOvlapContFrac5DPVLinOpArray::m_q
private

Definition at line 76 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

◆ N5

const int Chroma::UnprecOvlapContFrac5DPVLinOpArray::N5
private

Definition at line 77 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Referenced by deriv(), operator()(), and size().

◆ NEig

const int Chroma::UnprecOvlapContFrac5DPVLinOpArray::NEig
private

Definition at line 81 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Referenced by deriv(), and operator()().

◆ scale_fac

const Real Chroma::UnprecOvlapContFrac5DPVLinOpArray::scale_fac
private

Definition at line 78 of file unprec_ovlap_contfrac5d_pv_linop_array_w.h.

Referenced by deriv(), and operator()().


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