CHROMA
|
Stout version of GaugeState. More...
#include <stout_gaugestate.h>
Public Member Functions | |
StoutGaugeState (Handle< GaugeBC< P, Q > > gbc_, const StoutFermStateParams &p_, const Q &q_) | |
Full constructor. More... | |
const GaugeBC< P, Q > & | getBC () const |
Return the gauge BC object for this state. More... | |
virtual | ~StoutGaugeState () |
Destructor. More... | |
const Q & | getLinks () const |
Return the link fields needed in constructing linear operators. More... | |
const Q & | getThinLinks () const |
void | fatForceToThin (const P &F_fat, P &F_thin) const |
void | deriv (P &F) const |
void | create (Handle< GaugeBC< P, Q > > gbc_, const StoutFermStateParams &p_, const Q &u_) |
Public Member Functions inherited from Chroma::GaugeState< P, Q > | |
virtual | ~GaugeState () |
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 | |
StoutGaugeState () | |
void | operator= (const StoutGaugeState &) |
Private Attributes | |
Handle< GaugeBC< P, Q > > | gbc |
multi1d< Q > | smeared_links |
StoutFermStateParams | params |
Stout version of GaugeState.
Only needs to hold a gauge field and gauge bc
Definition at line 34 of file stout_gaugestate.h.
|
inline |
Full constructor.
Definition at line 38 of file stout_gaugestate.h.
References Chroma::StoutGaugeState< P, Q >::create(), Chroma::END_CODE(), and Chroma::START_CODE().
|
inlinevirtual |
Destructor.
Definition at line 51 of file stout_gaugestate.h.
|
inlineprivate |
Definition at line 160 of file stout_gaugestate.h.
|
inline |
Definition at line 118 of file stout_gaugestate.h.
References Chroma::END_CODE(), Chroma::StoutGaugeState< P, Q >::gbc, Chroma::i, mu, Chroma::StoutFermStateParams::n_smear, Nd, Chroma::StoutGaugeState< P, Q >::params, Chroma::StoutFermStateParams::rho, Chroma::StoutFermStateParams::smear_in_this_dirP, Chroma::Stouting::smear_links(), Chroma::StoutGaugeState< P, Q >::smeared_links, and Chroma::START_CODE().
Referenced by Chroma::StoutGaugeState< P, Q >::StoutGaugeState().
|
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 >.
Definition at line 97 of file stout_gaugestate.h.
References Chroma::END_CODE(), F, Chroma::StoutGaugeState< P, Q >::fatForceToThin(), mu, Nd, Chroma::StoutGaugeState< P, Q >::smeared_links, and Chroma::START_CODE().
|
inline |
Definition at line 66 of file stout_gaugestate.h.
References Chroma::Stouting::deriv_recurse(), Chroma::END_CODE(), Chroma::StoutFermStateParams::n_smear, Nd, Chroma::StoutGaugeState< P, Q >::params, Chroma::StoutFermStateParams::rho, Chroma::StoutFermStateParams::smear_in_this_dirP, Chroma::StoutGaugeState< P, Q >::smeared_links, and Chroma::START_CODE().
Referenced by Chroma::StoutGaugeState< P, Q >::deriv().
|
inlinevirtual |
Return the gauge BC object for this state.
Implements Chroma::GaugeState< P, Q >.
Definition at line 48 of file stout_gaugestate.h.
References Chroma::StoutGaugeState< P, Q >::gbc.
|
inlinevirtual |
Return the link fields needed in constructing linear operators.
Implements Chroma::ConnectState< P, Q >.
Definition at line 54 of file stout_gaugestate.h.
References Chroma::StoutFermStateParams::n_smear, Chroma::StoutGaugeState< P, Q >::params, and Chroma::StoutGaugeState< P, Q >::smeared_links.
|
inline |
Definition at line 58 of file stout_gaugestate.h.
References Chroma::StoutGaugeState< P, Q >::smeared_links.
|
inlineprivate |
Definition at line 161 of file stout_gaugestate.h.
|
private |
Definition at line 164 of file stout_gaugestate.h.
Referenced by Chroma::StoutGaugeState< P, Q >::create(), and Chroma::StoutGaugeState< P, Q >::getBC().
|
private |
Definition at line 166 of file stout_gaugestate.h.
Referenced by Chroma::StoutGaugeState< P, Q >::create(), Chroma::StoutGaugeState< P, Q >::fatForceToThin(), and Chroma::StoutGaugeState< P, Q >::getLinks().
|
private |