CHROMA
|
Stout field state. More...
#include <stout_fermstate_w.h>
Public Member Functions | |
StoutFermState (Handle< FermBC< T, P, Q > > fbc_, const StoutFermStateParams &p_, const Q &u_) | |
Constructor only from a parameter structure. More... | |
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... | |
virtual | ~StoutFermState () |
Destructor is automagic. More... | |
const Q & | getLinks () const |
Return FAT Linke. More... | |
const Q & | getThinLinks () const |
void | fatForceToThin (const P &F_fat, P &F_thin) const |
virtual void | deriv (P &F) const |
Public Member Functions inherited from Chroma::FermState< T, P, Q > | |
virtual | ~FermState () |
Virtual destructor to help with cleanup;. More... | |
Public Member Functions inherited from Chroma::ConnectState< P, Q > | |
virtual | ~ConnectState () |
Virtual destructor to help with cleanup;. More... | |
Private Member Functions | |
StoutFermState () | |
void | create (Handle< FermBC< T, P, Q > > fbc_, const StoutFermStateParams &p_, const Q &u_) |
Private Attributes | |
Handle< FermBC< T, P, Q > > | fbc |
multi1d< Q > | smeared_links |
Q | fat_links_with_bc |
StoutFermStateParams | params |
Stout field state.
Holds a stout smeared state
Definition at line 34 of file stout_fermstate_w.h.
|
inline |
Constructor only from a parameter structure.
Definition at line 40 of file stout_fermstate_w.h.
References Chroma::StoutFermState< T, P, Q >::create(), Chroma::END_CODE(), and Chroma::START_CODE().
|
inlinevirtual |
Destructor is automagic.
Definition at line 56 of file stout_fermstate_w.h.
|
inlineprivate |
Definition at line 133 of file stout_fermstate_w.h.
|
inlineprivate |
Definition at line 137 of file stout_fermstate_w.h.
References Chroma::END_CODE(), Chroma::StoutFermState< T, P, Q >::fat_links_with_bc, Chroma::StoutFermState< T, P, Q >::fbc, Chroma::i, mu, Chroma::StoutFermStateParams::n_smear, Nd, Chroma::StoutFermState< T, P, Q >::params, Chroma::StoutFermStateParams::rho, Chroma::StoutFermStateParams::smear_in_this_dirP, Chroma::Stouting::smear_links(), Chroma::StoutFermState< T, P, Q >::smeared_links, and Chroma::START_CODE().
Referenced by Chroma::StoutFermState< T, P, Q >::StoutFermState().
|
inlinevirtual |
A virtual function to get the derivative of the state. This is useful for things like fat link states, where the derivative of the state with respect to the thin links is complicated. The default implementation just multiplies the accumulated force by the (thin) links, which works because and the pi momenta get factored out this function modifies the force term
Reimplemented from Chroma::ConnectState< P, Q >.
Reimplemented in Chroma::SLICFermState< T, P, Q >.
Definition at line 110 of file stout_fermstate_w.h.
References Chroma::END_CODE(), F, Chroma::StoutFermState< T, P, Q >::fatForceToThin(), mu, Nd, Chroma::StoutFermState< T, P, Q >::smeared_links, and Chroma::START_CODE().
|
inline |
Definition at line 74 of file stout_fermstate_w.h.
References Chroma::Stouting::deriv_recurse(), Chroma::END_CODE(), Chroma::StoutFermState< T, P, Q >::fbc, Chroma::StoutFermStateParams::n_smear, Nd, Chroma::StoutFermState< T, P, Q >::params, Chroma::StoutFermStateParams::rho, Chroma::StoutFermStateParams::smear_in_this_dirP, Chroma::StoutFermState< T, P, Q >::smeared_links, and Chroma::START_CODE().
Referenced by Chroma::StoutFermState< T, P, Q >::deriv(), Chroma::EvenOddPrecSLICLinOp::derivEvenEvenLinOp(), Chroma::EvenOddPrecSLRCLinOp::derivEvenOddLinOp(), Chroma::EvenOddPrecSLICLinOp::derivLogDetEvenEvenLinOp(), Chroma::EvenOddPrecSLRCLinOp::derivOddEvenLinOp(), and Chroma::EvenOddPrecSLICLinOp::derivOddOddLinOp().
|
inlinevirtual |
Return the ferm BC object for this state.
Implements Chroma::FermState< T, P, Q >.
Definition at line 50 of file stout_fermstate_w.h.
References Chroma::StoutFermState< T, P, Q >::fbc.
|
inlinevirtual |
Return the ferm BC object for this state.
Implements Chroma::FermState< T, P, Q >.
Definition at line 53 of file stout_fermstate_w.h.
References Chroma::StoutFermState< T, P, Q >::fbc.
|
inlinevirtual |
Return FAT Linke.
Implements Chroma::ConnectState< P, Q >.
Definition at line 59 of file stout_fermstate_w.h.
References Chroma::StoutFermState< T, P, Q >::fat_links_with_bc.
|
inline |
Definition at line 65 of file stout_fermstate_w.h.
References Chroma::StoutFermState< T, P, Q >::smeared_links.
Referenced by Chroma::EvenOddPrecSLRCLinOp::create(), and Chroma::SLICFermState< T, P, Q >::deriv().
|
private |
Definition at line 188 of file stout_fermstate_w.h.
Referenced by Chroma::StoutFermState< T, P, Q >::create(), and Chroma::StoutFermState< T, P, Q >::getLinks().
|
private |
Definition at line 183 of file stout_fermstate_w.h.
Referenced by Chroma::StoutFermState< T, P, Q >::create(), Chroma::StoutFermState< T, P, Q >::fatForceToThin(), Chroma::StoutFermState< T, P, Q >::getBC(), and Chroma::StoutFermState< T, P, Q >::getFermBC().
|
private |
Definition at line 191 of file stout_fermstate_w.h.
Referenced by Chroma::StoutFermState< T, P, Q >::create(), and Chroma::StoutFermState< T, P, Q >::fatForceToThin().
|
private |
Definition at line 187 of file stout_fermstate_w.h.
Referenced by Chroma::StoutFermState< T, P, Q >::create(), Chroma::StoutFermState< T, P, Q >::deriv(), Chroma::StoutFermState< T, P, Q >::fatForceToThin(), and Chroma::StoutFermState< T, P, Q >::getThinLinks().