CHROMA
|
Overlap connection state. More...
#include <overlap_state.h>
Public Types | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
typedef Real | WordBase_t |
Public Member Functions | |
OverlapConnectState (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const WordBase_t &approxMin_, const WordBase_t &approxMax_) | |
Constructor with no eigenvalues. More... | |
OverlapConnectState (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const multi1d< WordBase_t > &val_, const multi1d< LatticeFermion > &vec_, const WordBase_t &val_max_, const WordBase_t &approxMin_, const WordBase_t &approxMax_) | |
Constructor with e-values and e-vectors. More... | |
OverlapConnectState (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_) | |
Create a ConnectState with just the gauge fields. More... | |
OverlapConnectState (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const Real &approxMin_) | |
Create a ConnectState with just the gauge fields, and a lower. More... | |
OverlapConnectState (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const multi1d< Real > &lambda_lo_, const multi1d< LatticeFermion > &evecs_lo_, const Real &lambda_hi_) | |
Create OverlapConnectState with eigenvalues/vectors. More... | |
OverlapConnectState (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > u_, XMLReader &state_info_xml, const std::string &state_info_path, const LinearOperator< LatticeFermion > &H) | |
Create a ConnectState out of XML. More... | |
OverlapConnectState (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const OverlapStateInfo &state_info, const LinearOperator< LatticeFermion > &H) | |
Create from OverlapStateInfo Structure. More... | |
OverlapConnectState (const OverlapConnectState &a) | |
Copy constructor. More... | |
~OverlapConnectState () | |
const FermBC< T, P, Q > & | getBC () const |
Return the ferm BC object for this state. More... | |
Handle< FermBC< T, P, Q > > | getFermBC () const |
Return the ferm BC object for this state. More... | |
const multi1d< LatticeColorMatrix > & | getLinks () const |
Return the link fields needed in constructing linear operators. More... | |
const multi1d< WordBase_t > & | getEigVal () const |
Return the eigenvalues. More... | |
const multi1d< LatticeFermion > & | getEigVec () const |
Return the eigenvectors. More... | |
const WordBase_t & | getEigValMax () const |
Return the max eigenvalues. More... | |
const WordBase_t & | getApproxMin () const |
const WordBase_t & | getApproxMax () const |
![]() | |
virtual | ~FermState () |
Virtual destructor to help with cleanup;. More... | |
![]() | |
virtual | ~ConnectState () |
Virtual destructor to help with cleanup;. More... | |
virtual void | deriv (P &F) const |
Protected Member Functions | |
void | init (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const WordBase_t &approxMin_, const WordBase_t &approxMax_) |
for now inherit the deriv operation More... | |
void | init (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const multi1d< WordBase_t > &val_, const multi1d< LatticeFermion > &vec_, const WordBase_t &val_max_, const WordBase_t &approxMin_, const WordBase_t &approxMax_) |
Constructor with e-values and e-vectors. More... | |
void | init (Handle< FermBC< T, P, Q > > fbc_, const multi1d< LatticeColorMatrix > &u_, const OverlapStateInfo &state_info, const LinearOperator< LatticeFermion > &H) |
Create from OverlapStateInfo Structure. More... | |
Private Member Functions | |
OverlapConnectState () | |
void | operator= (const OverlapConnectState &) |
Private Attributes | |
Handle< FermBC< T, P, Q > > | fbc |
multi1d< LatticeColorMatrix > | u |
multi1d< WordBase_t > | eigVal |
multi1d< LatticeFermion > | eigVec |
WordBase_t | eigValMax |
WordBase_t | approxMin |
WordBase_t | approxMax |
Overlap connection state.
Definition at line 23 of file overlap_state.h.
typedef multi1d<LatticeColorMatrix> Chroma::OverlapConnectState::P |
Definition at line 30 of file overlap_state.h.
typedef multi1d<LatticeColorMatrix> Chroma::OverlapConnectState::Q |
Definition at line 31 of file overlap_state.h.
typedef LatticeFermion Chroma::OverlapConnectState::T |
Definition at line 29 of file overlap_state.h.
typedef Real Chroma::OverlapConnectState::WordBase_t |
Definition at line 33 of file overlap_state.h.
Chroma::OverlapConnectState::OverlapConnectState | ( | Handle< FermBC< T, P, Q > > | fbc_, |
const multi1d< LatticeColorMatrix > & | u_, | ||
const WordBase_t & | approxMin_, | ||
const WordBase_t & | approxMax_ | ||
) |
Chroma::OverlapConnectState::OverlapConnectState | ( | Handle< FermBC< T, P, Q > > | fbc_, |
const multi1d< LatticeColorMatrix > & | u_, | ||
const multi1d< WordBase_t > & | val_, | ||
const multi1d< LatticeFermion > & | vec_, | ||
const WordBase_t & | val_max_, | ||
const WordBase_t & | approxMin_, | ||
const WordBase_t & | approxMax_ | ||
) |
Constructor with e-values and e-vectors.
Definition at line 28 of file overlap_state.cc.
References init().
Chroma::OverlapConnectState::OverlapConnectState | ( | Handle< FermBC< T, P, Q > > | fbc_, |
const multi1d< LatticeColorMatrix > & | u_ | ||
) |
Create a ConnectState with just the gauge fields.
Assumes that approximation bounds are those of the free field WilsonOp - ie. ApproxMin=0, ApproxMax=2Nd
Definition at line 108 of file overlap_state.cc.
Chroma::OverlapConnectState::OverlapConnectState | ( | Handle< FermBC< T, P, Q > > | fbc_, |
const multi1d< LatticeColorMatrix > & | u_, | ||
const Real & | approxMin_ | ||
) |
Create a ConnectState with just the gauge fields, and a lower.
Create a ConnectState with just the gauge fields, and a lower approximation bound
Assumes that maximum approximation bounds are those of the free field WilsonOp - ie. ApproxMax=2Nd
Definition at line 121 of file overlap_state.cc.
Chroma::OverlapConnectState::OverlapConnectState | ( | Handle< FermBC< T, P, Q > > | fbc_, |
const multi1d< LatticeColorMatrix > & | u_, | ||
const multi1d< Real > & | lambda_lo_, | ||
const multi1d< LatticeFermion > & | evecs_lo_, | ||
const Real & | lambda_hi_ | ||
) |
Create OverlapConnectState with eigenvalues/vectors.
Definition at line 132 of file overlap_state.cc.
Chroma::OverlapConnectState::OverlapConnectState | ( | Handle< FermBC< T, P, Q > > | fbc_, |
const multi1d< LatticeColorMatrix > | u_, | ||
XMLReader & | state_info_xml, | ||
const std::string & | state_info_path, | ||
const LinearOperator< LatticeFermion > & | H | ||
) |
Create a ConnectState out of XML.
Needs the auxiliary fermion action linear operator passed just in case it needs to check eigenvalues/vectors. The caller should be a fermact so it should be able to generate the linop easy enough
Definition at line 152 of file overlap_state.cc.
References init(), and Chroma::read().
Chroma::OverlapConnectState::OverlapConnectState | ( | Handle< FermBC< T, P, Q > > | fbc_, |
const multi1d< LatticeColorMatrix > & | u_, | ||
const OverlapStateInfo & | state_info, | ||
const LinearOperator< LatticeFermion > & | H | ||
) |
Create from OverlapStateInfo Structure.
Needs the auxiliary fermion action linear operator passed just in case it needs to check eigenvalues/vectors. The caller should be a fermact so it should be able to generate the linop easy enough
Definition at line 170 of file overlap_state.cc.
References init().
|
inline |
Copy constructor.
Definition at line 86 of file overlap_state.h.
|
inline |
Definition at line 92 of file overlap_state.h.
|
inlineprivate |
Definition at line 140 of file overlap_state.h.
|
inline |
Definition at line 113 of file overlap_state.h.
References approxMax.
|
inline |
Definition at line 112 of file overlap_state.h.
References approxMin.
Return the ferm BC object for this state.
Implements Chroma::FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 95 of file overlap_state.h.
References fbc.
|
inline |
|
inline |
|
inline |
Return the ferm BC object for this state.
Implements Chroma::FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 98 of file overlap_state.h.
References fbc.
|
inlinevirtual |
Return the link fields needed in constructing linear operators.
Implements Chroma::ConnectState< P, Q >.
Definition at line 101 of file overlap_state.h.
References u.
|
protected |
|
protected |
Create from OverlapStateInfo Structure.
Needs the auxiliary fermion action linear operator passed just in case it needs to check eigenvalues/vectors. The caller should be a fermact so it should be able to generate the linop easy enough
Definition at line 184 of file overlap_state.cc.
References Chroma::OverlapStateInfo::computeEigVec(), Chroma::EigenIO_t::eigen_file, Chroma::EigenIO_t::eigen_filefmt, Chroma::EVEC_TYPE_SCIDAC, Chroma::OverlapStateInfo::getApproxMax(), Chroma::OverlapStateInfo::getApproxMin(), Chroma::OverlapStateInfo::getEigenIO(), Chroma::OverlapStateInfo::getNWilsVec(), Chroma::i, init(), Chroma::OverlapStateInfo::loadEigVec(), Chroma::PLUS, r_norm, and Chroma::readEigen().
|
protected |
|
inlineprivate |
Definition at line 141 of file overlap_state.h.
|
private |
Definition at line 150 of file overlap_state.h.
Referenced by getApproxMax(), and init().
|
private |
Definition at line 149 of file overlap_state.h.
Referenced by getApproxMin(), and init().
|
private |
Definition at line 146 of file overlap_state.h.
Referenced by getEigVal(), and init().
|
private |
Definition at line 148 of file overlap_state.h.
Referenced by getEigValMax(), and init().
|
private |
Definition at line 147 of file overlap_state.h.
Referenced by getEigVec(), and init().
Definition at line 144 of file overlap_state.h.
Referenced by getBC(), getFermBC(), init(), and OverlapConnectState().
|
private |
Definition at line 145 of file overlap_state.h.
Referenced by getLinks(), and init().