CHROMA
|
Exact 2 flavor RatioConvRat type monomial. More...
#include <two_flavor_ratio_conv_rat_monomial_w.h>
Public Member Functions | |
~TwoFlavorExactRatioConvRatWilsonTypeFermMonomial () | |
virtual destructor: More... | |
virtual Double | S (const AbsFieldState< P, Q > &s)=0 |
Compute the total action. 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 () |
Reset predictors. More... | |
virtual int | getX (Phi &X, const AbsFieldState< P, Q > &s) |
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 | |
virtual const Phi & | getPhi () const =0 |
Accessor for pseudofermion with Pf index i (read only) More... | |
virtual Phi & | getPhi ()=0 |
mutator for pseudofermion with Pf index i More... | |
virtual AbsChronologicalPredictor4D< Phi > & | getMDSolutionPredictor ()=0 |
Get the initial guess predictor. More... | |
virtual const WilsonTypeFermAct< Phi, P, Q > & | getFermAct () const |
Get at fermion action. More... | |
virtual const WilsonTypeFermAct< Phi, P, Q > & | getNumerFermAct () const =0 |
Get at fermion action. More... | |
virtual const WilsonTypeFermAct< Phi, P, Q > & | getDenomFermAct () const =0 |
Get at fermion action for preconditioner. More... | |
virtual const GroupXML_t & | getNumerInvParams () const =0 |
Get parameters for the inverter. More... | |
virtual const GroupXML_t & | getDenomActionInvParams () const =0 |
Get inverter params. More... | |
virtual const GroupXML_t & | getDenomForceInvParams () const =0 |
Get inverter params. More... | |
virtual const RemezCoeff_t & | getDenomFPFE () const =0 |
Return the partial fraction expansion for the force calc. More... | |
virtual const RemezCoeff_t & | getDenomSPFE () const =0 |
Return the partial fraction expansion for the action calc. More... | |
virtual const RemezCoeff_t & | getDenomSIPFE () const =0 |
Return the partial fraction expansion for the heat-bath. More... | |
Exact 2 flavor RatioConvRat type monomial.
Exact 2 flavor RatioConvRat type monomial.
Can supply default dsdq() pseudoferm refresh getX() algorithm
CAVEAT: I assume there is only 1 pseudofermion field in the following so called TwoFlavorExact monomial.
Definition at line 35 of file two_flavor_ratio_conv_rat_monomial_w.h.
|
inline |
virtual destructor:
Definition at line 39 of file two_flavor_ratio_conv_rat_monomial_w.h.
|
inlinevirtual |
Compute dsdq for the system...
Monomial of the form chi^dag*M_prec(M^dag*M)^{-1}M^{dag}_prec*chi
Implements Chroma::ExactWilsonTypeFermMonomial< P, Q, Phi >.
Definition at line 46 of file two_flavor_ratio_conv_rat_monomial_w.h.
References Chroma::FermionAction< T, P, Q >::createState(), Chroma::END_CODE(), F, Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getDenomFermAct(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getNumerFermAct(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getPhi(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getX(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::DiffFermAct4D< T, P, Q >::linOp(), Chroma::MINUS, Chroma::monitorForces(), Chroma::n_count, Chroma::PLUS, Chroma::pop(), Chroma::push(), Chroma::s(), Chroma::START_CODE(), Chroma::state, Chroma::write(), and Chroma::zero.
|
protectedpure virtual |
Get inverter params.
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
|
protectedpure virtual |
Get at fermion action for preconditioner.
Implemented in Chroma::TwoFlavorExactEvenOddPrecConstDetRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >, Chroma::TwoFlavorExactEvenOddPrecConstDetRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactEvenOddPrecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
Referenced by Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getX(), and Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::refreshInternalFields().
|
protectedpure virtual |
Get inverter params.
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
|
protectedpure virtual |
Return the partial fraction expansion for the force calc.
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
|
protectedpure virtual |
Return the partial fraction expansion for the heat-bath.
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
|
protectedpure virtual |
Return the partial fraction expansion for the action calc.
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
|
inlineprotectedvirtual |
Get at fermion action.
Implements Chroma::ExactWilsonTypeFermMonomial< P, Q, Phi >.
Definition at line 283 of file two_flavor_ratio_conv_rat_monomial_w.h.
References Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getNumerFermAct().
|
protectedpure virtual |
Get the initial guess predictor.
Implemented in Chroma::TwoFlavorExactEvenOddPrecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >, Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
Referenced by Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getX(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::refreshInternalFields(), and Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::resetPredictors().
|
protectedpure virtual |
Get at fermion action.
Implemented in Chroma::TwoFlavorExactEvenOddPrecConstDetRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >, Chroma::TwoFlavorExactEvenOddPrecConstDetRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactEvenOddPrecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
Referenced by Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getFermAct(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getX(), and Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::refreshInternalFields().
|
protectedpure virtual |
Get parameters for the inverter.
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
Referenced by Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getX(), and Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::refreshInternalFields().
|
protectedpure virtual |
Accessor for pseudofermion with Pf index i (read only)
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >, Chroma::TwoFlavorExactEvenOddPrecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
Referenced by Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getX(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::refreshInternalFields(), and Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::setInternalFields().
|
protectedpure virtual |
mutator for pseudofermion with Pf index i
Implemented in Chroma::UnprecTwoFlavorRatioConvRatWilsonTypeFermMonomial, Chroma::TwoFlavorExactEvenOddPrecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >, and Chroma::EvenOddPrecConstDetTwoFlavorRatioConvRatWilsonTypeFermMonomial.
|
inlinevirtual |
Definition at line 223 of file two_flavor_ratio_conv_rat_monomial_w.h.
References Chroma::FermionAction< T, P, Q >::createState(), Chroma::END_CODE(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getDenomFermAct(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getMDSolutionPredictor(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getNumerFermAct(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getNumerInvParams(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getPhi(), Chroma::WilsonTypeFermAct< T, P, Q >::invMdagM(), Chroma::DiffFermAct4D< T, P, Q >::linOp(), Chroma::WilsonTypeFermAct< T, P, Q >::lMdagM(), MdagM, Chroma::MINUS, Chroma::SystemSolverResults_t::n_count, Chroma::s(), Chroma::START_CODE(), and Chroma::state.
Referenced by Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::dsdq(), Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::S(), and Chroma::TwoFlavorExactEvenOddPrecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::S_odd_odd().
|
inlinevirtual |
Refresh pseudofermions.
Implements Chroma::ExactWilsonTypeFermMonomial< P, Q, Phi >.
Definition at line 120 of file two_flavor_ratio_conv_rat_monomial_w.h.
References Chroma::END_CODE(), Chroma::eta, Chroma::gaussian(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getDenomFermAct(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getMDSolutionPredictor(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getNumerFermAct(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getNumerInvParams(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getPhi(), Chroma::AbsFieldState< P, Q >::getQ(), Chroma::SingletonHolder< T, CreationPolicy, LifetimePolicy, ThreadingModel >::Instance(), Chroma::WilsonTypeFermAct< T, P, Q >::invMdagM(), Chroma::DiffFermAct4D< T, P, Q >::linOp(), Chroma::MINUS, Chroma::SystemSolverResults_t::n_count, Chroma::PLUS, Chroma::pop(), Chroma::push(), Chroma::S_f, Chroma::START_CODE(), Chroma::write(), and Chroma::zero.
|
inlinevirtual |
Reset predictors.
Reimplemented from Chroma::ExactWilsonTypeFermMonomial< P, Q, Phi >.
Definition at line 216 of file two_flavor_ratio_conv_rat_monomial_w.h.
References Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getMDSolutionPredictor().
|
pure virtual |
Compute the total action.
Implements Chroma::ExactWilsonTypeFermMonomial< P, Q, Phi >.
Implemented in Chroma::TwoFlavorExactEvenOddPrecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >, and Chroma::TwoFlavorExactUnprecRatioConvRatWilsonTypeFermMonomial< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix >, LatticeFermion >.
|
inlinevirtual |
Copy pseudofermions if any.
Implements Chroma::ExactWilsonTypeFermMonomial< P, Q, Phi >.
Definition at line 196 of file two_flavor_ratio_conv_rat_monomial_w.h.
References Chroma::END_CODE(), Chroma::TwoFlavorExactRatioConvRatWilsonTypeFermMonomial< P, Q, Phi >::getPhi(), m, and Chroma::START_CODE().