CHROMA
|
Wrapper class for 2-flavor even-odd prec ferm monomials. More...
#include <seoprec_constdet_two_flavor_monomial_w.h>
Public Types | |
typedef LatticeFermion | T |
typedef multi1d< LatticeColorMatrix > | P |
typedef multi1d< LatticeColorMatrix > | Q |
Public Member Functions | |
SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial (const TwoFlavorWilsonTypeFermMonomialParams ¶m_) | |
SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial (const SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial &m) | |
Double | S_even_even (const AbsFieldState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &s) |
Even even contribution (eg ln det Clover) More... | |
Double | S_odd_odd (const AbsFieldState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > &s) |
Compute the odd odd contribution (eg. More... | |
Public Member Functions inherited from Chroma::TwoFlavorExactEOPrecConstDetWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT > | |
virtual | ~TwoFlavorExactEOPrecConstDetWilsonTypeFermMonomialT () |
virtual destructor: More... | |
Public Member Functions inherited from Chroma::TwoFlavorExactEOPrecWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT > | |
virtual | ~TwoFlavorExactEOPrecWilsonTypeFermMonomialT () |
virtual destructor: More... | |
Double | S (const AbsFieldState< P, Q > &s) |
Compute the total action. More... | |
Public Member Functions inherited from Chroma::TwoFlavorExactWilsonTypeFermMonomial< P, Q, Phi > | |
~TwoFlavorExactWilsonTypeFermMonomial () | |
virtual destructor: More... | |
virtual void | dsdq (P &F, const AbsFieldState< P, Q > &s) |
Compute dsdq for the system... More... | |
virtual void | refreshInternalFields (const AbsFieldState< P, Q > &field_state) |
Refresh pseudofermions. More... | |
virtual void | setInternalFields (const Monomial< P, Q > &m) |
Copy pseudofermions if any. More... | |
virtual void | resetPredictors (void) |
Reset predictors. More... | |
Public Member Functions inherited from Chroma::ExactWilsonTypeFermMonomial< P, Q, Phi > | |
~ExactWilsonTypeFermMonomial () | |
virtual destructor: More... | |
Public Member Functions inherited from Chroma::ExactFermMonomial4D< P, Q, Phi > | |
~ExactFermMonomial4D () | |
virtual destructor: More... | |
Public Member Functions inherited from Chroma::ExactFermMonomial< P, Q, Phi > | |
~ExactFermMonomial () | |
virtual destructor: More... | |
Public Member Functions inherited from Chroma::ExactMonomial< P, Q > | |
virtual | ~ExactMonomial () |
virtual destructor: More... | |
Public Member Functions inherited from Chroma::Monomial< P, Q > | |
virtual | ~Monomial () |
virtual destructor: More... | |
Protected Member Functions | |
T & | getPhi (void) |
mutator for pseudofermion with Pf index i More... | |
const T & | getPhi (void) const |
Accessor for pseudofermion with Pf index i (read only) More... | |
const SymEvenOddPrecWilsonTypeFermAct< T, P, Q > & | getFermAct (void) const |
Get at fermion action For now the prototype is the same as before – wait until we refactor these before making them EvenOddPrecConstDetWilsonType... More... | |
const GroupXML_t & | getInvParams (void) const |
Get parameters for the inverter. More... | |
AbsChronologicalPredictor4D< T > & | getMDSolutionPredictor (void) |
Get the initial guess predictor. More... | |
Private Member Functions | |
SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial () | |
void | operator= (const SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial &) |
Private Attributes | |
T | phi |
Handle< const SymEvenOddPrecWilsonTypeFermAct< T, P, Q > > | fermact |
GroupXML_t | inv_param |
Handle< AbsChronologicalPredictor4D< T > > | chrono_predictor |
Wrapper class for 2-flavor even-odd prec ferm monomials.
Monomial is expected to be the same for these fermacts
Definition at line 28 of file seoprec_constdet_two_flavor_monomial_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial::P |
Definition at line 37 of file seoprec_constdet_two_flavor_monomial_w.h.
typedef multi1d<LatticeColorMatrix> Chroma::SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial::Q |
Definition at line 38 of file seoprec_constdet_two_flavor_monomial_w.h.
typedef LatticeFermion Chroma::SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial::T |
Definition at line 36 of file seoprec_constdet_two_flavor_monomial_w.h.
Chroma::SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial::SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial | ( | const TwoFlavorWilsonTypeFermMonomialParams & | param_ | ) |
Definition at line 56 of file seoprec_constdet_two_flavor_monomial_w.cc.
References chrono_predictor, Chroma::END_CODE(), fermact, Chroma::TwoFlavorWilsonTypeFermMonomialParams::fermact, Chroma::GroupXML_t::id, Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), inv_param, Chroma::TwoFlavorWilsonTypeFermMonomialParams::inv_param, Chroma::GroupXML_t::path, Chroma::TwoFlavorWilsonTypeFermMonomialParams::predictor, Chroma::START_CODE(), Chroma::tmp, and Chroma::GroupXML_t::xml.
|
inline |
Definition at line 44 of file seoprec_constdet_two_flavor_monomial_w.h.
|
private |
|
inlineprotectedvirtual |
Get at fermion action For now the prototype is the same as before – wait until we refactor these before making them EvenOddPrecConstDetWilsonType...
Implements Chroma::TwoFlavorExactEOPrecConstDetWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >.
Definition at line 110 of file seoprec_constdet_two_flavor_monomial_w.h.
References fermact.
Referenced by S_odd_odd().
|
inlineprotectedvirtual |
Get parameters for the inverter.
Implements Chroma::TwoFlavorExactEOPrecWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >.
Definition at line 115 of file seoprec_constdet_two_flavor_monomial_w.h.
References inv_param.
Referenced by S_odd_odd().
|
inlineprotectedvirtual |
Get the initial guess predictor.
Implements Chroma::TwoFlavorExactEOPrecWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >.
Definition at line 119 of file seoprec_constdet_two_flavor_monomial_w.h.
References chrono_predictor.
Referenced by S_odd_odd().
|
inlineprotectedvirtual |
mutator for pseudofermion with Pf index i
Implements Chroma::TwoFlavorExactEOPrecWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >.
Definition at line 102 of file seoprec_constdet_two_flavor_monomial_w.h.
References phi.
Referenced by S_odd_odd().
|
inlineprotectedvirtual |
Accessor for pseudofermion with Pf index i (read only)
Implements Chroma::TwoFlavorExactEOPrecWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >.
Definition at line 106 of file seoprec_constdet_two_flavor_monomial_w.h.
References phi.
|
private |
|
inlinevirtual |
Even even contribution (eg ln det Clover)
Reimplemented from Chroma::TwoFlavorExactEOPrecConstDetWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >.
Definition at line 48 of file seoprec_constdet_two_flavor_monomial_w.h.
|
inlinevirtual |
Compute the odd odd contribution (eg.
Reimplemented from Chroma::TwoFlavorExactEOPrecWilsonTypeFermMonomialT< P, Q, Phi, EOFermActT, EOLinOpT >.
Definition at line 55 of file seoprec_constdet_two_flavor_monomial_w.h.
References Chroma::FermionAction< T, P, Q >::createState(), Chroma::END_CODE(), getFermAct(), getInvParams(), getMDSolutionPredictor(), getPhi(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::WilsonTypeFermAct< T, P, Q >::invMdagM(), Chroma::SymEvenOddPrecWilsonTypeFermAct< T, P, Q >::linOp(), Chroma::SystemSolverResults_t::n_count, Chroma::pop(), Chroma::push(), Chroma::InlineDefaultGaugeField::reset(), Chroma::s(), Chroma::START_CODE(), Chroma::state, sum, Chroma::write(), and Chroma::zero.
|
private |
Definition at line 139 of file seoprec_constdet_two_flavor_monomial_w.h.
Referenced by getMDSolutionPredictor(), and SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial().
|
private |
Definition at line 134 of file seoprec_constdet_two_flavor_monomial_w.h.
Referenced by getFermAct(), and SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial().
|
private |
Definition at line 137 of file seoprec_constdet_two_flavor_monomial_w.h.
Referenced by getInvParams(), and SymEvenOddPrecConstDetTwoFlavorWilsonTypeFermMonomial().
|
private |
Definition at line 131 of file seoprec_constdet_two_flavor_monomial_w.h.
Referenced by getPhi().