CHROMA
|
Support class for fermion actions and linear operators. More...
#include <state.h>
Public Member Functions | |
virtual | ~ConnectState () |
Virtual destructor to help with cleanup;. More... | |
virtual const Q & | getLinks () const =0 |
Return the coordinates (link fields) needed in constructing linear operators. More... | |
virtual void | deriv (P &F) const |
virtual const BoundCond< P, Q > & | getBC () const =0 |
Return the amorphous BC object for this state. More... | |
Support class for fermion actions and linear operators.
Holds things like color link fields and other info needed for linear operators.
|
inlinevirtual |
|
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 in Chroma::StoutGaugeState< P, Q >, Chroma::SLICFermState< T, P, Q >, Chroma::StoutFermState< T, P, Q >, and Chroma::HexFermState< T, P, Q >.
Definition at line 46 of file state.h.
References F, Chroma::ConnectState< P, Q >::getLinks(), mu, and Nd.
|
pure virtual |
Return the amorphous BC object for this state.
The user will supply the BC in a derived class
Implemented in Chroma::FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, Chroma::FermState< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >, Chroma::FermState< T, P, Q >, Chroma::GaugeState< P, Q >, Chroma::AsqtadConnectStateBase, Chroma::StoutGaugeState< P, Q >, Chroma::SimpleGaugeState< P, Q >, Chroma::PeriodicGaugeState< P, Q >, Chroma::StoutFermState< T, P, Q >, Chroma::SimpleFermState< T, P, Q >, Chroma::PeriodicFermState< T, P, Q >, Chroma::OverlapConnectState, Chroma::HexFermState< T, P, Q >, Chroma::ExtFieldFermState< T, P, Q >, Chroma::EigenConnectState, and Chroma::AsqtadConnectState.
|
pure virtual |
Return the coordinates (link fields) needed in constructing linear operators.
Implemented in Chroma::StoutGaugeState< P, Q >, Chroma::SimpleGaugeState< P, Q >, Chroma::PeriodicGaugeState< P, Q >, Chroma::StoutFermState< T, P, Q >, Chroma::SimpleFermState< T, P, Q >, Chroma::PeriodicFermState< T, P, Q >, Chroma::OverlapConnectState, Chroma::HexFermState< T, P, Q >, Chroma::ExtFieldFermState< T, P, Q >, Chroma::EigenConnectState, and Chroma::AsqtadConnectState.
Referenced by Chroma::ConnectState< P, Q >::deriv().