CHROMA
Public Member Functions | Protected Member Functions | Private Attributes | List of all members

WilsonCoarseFine gauge action. More...

#include <wilson_coarse_fine_gaugeact.h>

Inheritance diagram for Chroma::WilsonCoarseFineGaugeAct:
Chroma::LinearGaugeAction Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >

Public Member Functions

 WilsonCoarseFineGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const WilsonCoarseFineGaugeActParams &p)
 Read beta from a param struct. More...
 
const Set & getSet () const
 Return the set on which the gauge action is defined. More...
 
void staple (LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
 Compute staple. More...
 
void deriv (multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
 Compute dS/dU. More...
 
Double S (const Handle< GaugeState< P, Q > > &state) const
 Compute the actions. More...
 
 ~WilsonCoarseFineGaugeAct ()
 Destructor is automatic. More...
 
const CreateGaugeState< P, Q > & getCreateState () const
 Produce a gauge create state object. More...
 
- Public Member Functions inherited from Chroma::LinearGaugeAction
virtual ~LinearGaugeAction ()
 Virtual destructor to help with cleanup;. More...
 
- Public Member Functions inherited from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >
virtual ~GaugeAction ()
 Virtual destructor to help with cleanup;. More...
 
virtual GaugeState< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createState (const multi1d< LatticeColorMatrix > &q) const
 Given links, create the state. More...
 
virtual const GaugeBC< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > & getGaugeBC () const
 Return the gauge BC object for this action. More...
 

Protected Member Functions

void init (Handle< CreateGaugeState< P, Q > > cgs)
 Private initializer. More...
 
 WilsonCoarseFineGaugeAct ()
 Partial constructor. More...
 
void operator= (const WilsonCoarseFineGaugeAct &a)
 Hide assignment. More...
 

Private Attributes

Handle< PlaqGaugeActplaq
 
WilsonCoarseFineGaugeActParams param
 

Additional Inherited Members

- Public Types inherited from Chroma::LinearGaugeAction
typedef multi1d< LatticeColorMatrix > P
 
typedef multi1d< LatticeColorMatrix > Q
 

Detailed Description

WilsonCoarseFine gauge action.

Wilson gauge action on a 2+2 lattice. Follows the conventions of hep-lat/0303005 (TrinLat)

Definition at line 53 of file wilson_coarse_fine_gaugeact.h.

Constructor & Destructor Documentation

◆ WilsonCoarseFineGaugeAct() [1/2]

Chroma::WilsonCoarseFineGaugeAct::WilsonCoarseFineGaugeAct ( Handle< CreateGaugeState< P, Q > >  cgs_,
const WilsonCoarseFineGaugeActParams p 
)

Read beta from a param struct.

Definition at line 84 of file wilson_coarse_fine_gaugeact.cc.

References init().

◆ ~WilsonCoarseFineGaugeAct()

Chroma::WilsonCoarseFineGaugeAct::~WilsonCoarseFineGaugeAct ( )
inline

Destructor is automatic.

Definition at line 87 of file wilson_coarse_fine_gaugeact.h.

◆ WilsonCoarseFineGaugeAct() [2/2]

Chroma::WilsonCoarseFineGaugeAct::WilsonCoarseFineGaugeAct ( )
inlineprotected

Partial constructor.

Definition at line 97 of file wilson_coarse_fine_gaugeact.h.

Member Function Documentation

◆ deriv()

void Chroma::WilsonCoarseFineGaugeAct::deriv ( multi1d< LatticeColorMatrix > &  result,
const Handle< GaugeState< P, Q > > &  state 
) const
inlinevirtual

◆ getCreateState()

const CreateGaugeState<P,Q>& Chroma::WilsonCoarseFineGaugeAct::getCreateState ( ) const
inlinevirtual

Produce a gauge create state object.

Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.

Definition at line 90 of file wilson_coarse_fine_gaugeact.h.

References plaq.

◆ getSet()

const Set& Chroma::WilsonCoarseFineGaugeAct::getSet ( void  ) const
inlinevirtual

Return the set on which the gauge action is defined.

Defined on the even-off (red/black) set

Implements Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.

Definition at line 62 of file wilson_coarse_fine_gaugeact.h.

◆ init()

void Chroma::WilsonCoarseFineGaugeAct::init ( Handle< CreateGaugeState< P, Q > >  cgs)
protected

◆ operator=()

void Chroma::WilsonCoarseFineGaugeAct::operator= ( const WilsonCoarseFineGaugeAct a)
inlineprotected

Hide assignment.

Definition at line 99 of file wilson_coarse_fine_gaugeact.h.

◆ S()

Double Chroma::WilsonCoarseFineGaugeAct::S ( const Handle< GaugeState< P, Q > > &  state) const
inlinevirtual

◆ staple()

void Chroma::WilsonCoarseFineGaugeAct::staple ( LatticeColorMatrix &  result,
const Handle< GaugeState< P, Q > > &  state,
int  mu,
int  cb 
) const
inlinevirtual

Compute staple.

Default version. Derived class should override this if needed.

Implements Chroma::LinearGaugeAction.

Definition at line 66 of file wilson_coarse_fine_gaugeact.h.

References Chroma::cb, mu, plaq, and Chroma::state.

Member Data Documentation

◆ param

WilsonCoarseFineGaugeActParams Chroma::WilsonCoarseFineGaugeAct::param
private

parameters

Definition at line 103 of file wilson_coarse_fine_gaugeact.h.

Referenced by init().

◆ plaq

Handle<PlaqGaugeAct> Chroma::WilsonCoarseFineGaugeAct::plaq
private

Hold a plaquette gaugeact

Definition at line 102 of file wilson_coarse_fine_gaugeact.h.

Referenced by deriv(), getCreateState(), init(), S(), and staple().


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