CHROMA
Public Member Functions | List of all members
Chroma::ConnectState< P, Q > Class Template Referenceabstract

Support class for fermion actions and linear operators. More...

#include <state.h>

Inheritance diagram for Chroma::ConnectState< P, Q >:
Chroma::FermState< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::FermState< LatticeStaggeredFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::FermState< T, P, Q > Chroma::GaugeState< P, Q > Chroma::EigenConnectState Chroma::OverlapConnectState Chroma::AsqtadConnectStateBase Chroma::ExtFieldFermState< T, P, Q > Chroma::HexFermState< T, P, Q > Chroma::PeriodicFermState< T, P, Q > Chroma::SimpleFermState< T, P, Q > Chroma::StoutFermState< T, P, Q > Chroma::PeriodicGaugeState< P, Q > Chroma::SimpleGaugeState< P, Q > Chroma::StoutGaugeState< P, Q >

Public Member Functions

virtual ~ConnectState ()
 Virtual destructor to help with cleanup;. More...
 
virtual const QgetLinks () 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...
 

Detailed Description

template<typename P, typename Q>
class Chroma::ConnectState< P, Q >

Support class for fermion actions and linear operators.

Holds things like color link fields and other info needed for linear operators.

Definition at line 27 of file state.h.

Constructor & Destructor Documentation

◆ ~ConnectState()

template<typename P , typename Q >
virtual Chroma::ConnectState< P, Q >::~ConnectState ( )
inlinevirtual

Virtual destructor to help with cleanup;.

Definition at line 31 of file state.h.

Member Function Documentation

◆ deriv()

template<typename P , typename Q >
virtual void Chroma::ConnectState< P, Q >::deriv ( P F) const
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 $\dot{U} = \pi U$ 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.

◆ getBC()

template<typename P , typename Q >
virtual const BoundCond<P,Q>& Chroma::ConnectState< P, Q >::getBC ( ) const
pure virtual

◆ getLinks()

template<typename P , typename Q >
virtual const Q& Chroma::ConnectState< P, Q >::getLinks ( ) const
pure virtual

The documentation for this class was generated from the following file: