Chroma::LWTreeGaugeAct Class Reference
[Gauge actions]

LWTree gauge action. More...

#include <lw_tree_gaugeact.h>

Inheritance diagram for Chroma::LWTreeGaugeAct:

Chroma::LinearGaugeAction Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > List of all members.

Public Types

typedef multi1d< LatticeColorMatrix > P
typedef multi1d< LatticeColorMatrix > Q

Public Member Functions

 LWTreeGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const LWTreeGaugeActParams &p)
 Read beta from a param struct.
bool anisoP () const
 Is anisotropy used?
const Real anisoFactor () const
 Anisotropy factor.
int tDir () const
 Anisotropic direction.
const Set & getSet () const
 Return the set on which the gauge action is defined.
void staple (LatticeColorMatrix &result, const Handle< GaugeState< P, Q > > &state, int mu, int cb) const
 Compute staple.
void deriv (multi1d< LatticeColorMatrix > &result, const Handle< GaugeState< P, Q > > &state) const
 Compute dS/dU.
Double S (const Handle< GaugeState< P, Q > > &state) const
 Compute the actions.
const CreateGaugeState< P,
Q > & 
getCreateState () const
 Produce a gauge create state object.
 ~LWTreeGaugeAct ()
 Destructor is automatic.
const Real getBeta (void) const

Protected Member Functions

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

Private Attributes

Handle< PlaqGaugeActplaq
Handle< RectGaugeActrect
LWTreeGaugeActParams param

Detailed Description

LWTree gauge action.

The standard LWTree gauge action

Definition at line 49 of file lw_tree_gaugeact.h.


Member Typedef Documentation

typedef multi1d<LatticeColorMatrix> Chroma::LWTreeGaugeAct::P

Reimplemented from Chroma::LinearGaugeAction.

Definition at line 53 of file lw_tree_gaugeact.h.

typedef multi1d<LatticeColorMatrix> Chroma::LWTreeGaugeAct::Q

Reimplemented from Chroma::LinearGaugeAction.

Definition at line 54 of file lw_tree_gaugeact.h.


Constructor & Destructor Documentation

Chroma::LWTreeGaugeAct::LWTreeGaugeAct ( Handle< CreateGaugeState< P, Q > >  cgs_,
const LWTreeGaugeActParams p 
) [inline]

Read beta from a param struct.

Definition at line 57 of file lw_tree_gaugeact.h.

References init().

Chroma::LWTreeGaugeAct::~LWTreeGaugeAct (  )  [inline]

Destructor is automatic.

Definition at line 108 of file lw_tree_gaugeact.h.


Member Function Documentation

const Real Chroma::LWTreeGaugeAct::anisoFactor (  )  const [inline]

Anisotropy factor.

Definition at line 65 of file lw_tree_gaugeact.h.

bool Chroma::LWTreeGaugeAct::anisoP (  )  const [inline]

Is anisotropy used?

Definition at line 62 of file lw_tree_gaugeact.h.

void Chroma::LWTreeGaugeAct::deriv ( multi1d< LatticeColorMatrix > &  result,
const Handle< GaugeState< P, Q > > &  state 
) const [inline, virtual]

Compute dS/dU.

Reimplemented from Chroma::GaugeAction< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.

Definition at line 88 of file lw_tree_gaugeact.h.

References plaq, rect, and Chroma::state.

const Real Chroma::LWTreeGaugeAct::getBeta ( void   )  const [inline]

Definition at line 111 of file lw_tree_gaugeact.h.

References Chroma::LWTreeGaugeActParams::beta, and param.

const CreateGaugeState<P,Q>& Chroma::LWTreeGaugeAct::getCreateState (  )  const [inline, virtual]

Produce a gauge create state object.

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

Definition at line 105 of file lw_tree_gaugeact.h.

References plaq.

const Set& Chroma::LWTreeGaugeAct::getSet ( void   )  const [inline, virtual]

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 72 of file lw_tree_gaugeact.h.

void Chroma::LWTreeGaugeAct::init ( Handle< CreateGaugeState< P, Q > >  cgs  )  [protected]

Private initializer.

Definition at line 68 of file lw_tree_gaugeact.cc.

References Chroma::LWTreeGaugeActParams::aniso, Chroma::LWTreeGaugeActParams::beta, END_CODE, param, plaq, rect, START_CODE, and Chroma::LWTreeGaugeActParams::u0.

Referenced by LWTreeGaugeAct().

void Chroma::LWTreeGaugeAct::operator= ( const LWTreeGaugeAct a  )  [inline, protected]

Hide assignment.

Definition at line 118 of file lw_tree_gaugeact.h.

Double Chroma::LWTreeGaugeAct::S ( const Handle< GaugeState< P, Q > > &  state  )  const [inline, virtual]

Compute the actions.

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

Definition at line 99 of file lw_tree_gaugeact.h.

References plaq, rect, and Chroma::state.

void Chroma::LWTreeGaugeAct::staple ( LatticeColorMatrix &  result,
const Handle< GaugeState< P, Q > > &  state,
int  mu,
int  cb 
) const [inline, virtual]

Compute staple.

Default version. Derived class should override this if needed.

Implements Chroma::LinearGaugeAction.

Definition at line 76 of file lw_tree_gaugeact.h.

References plaq, rect, and Chroma::state.

int Chroma::LWTreeGaugeAct::tDir (  )  const [inline]

Anisotropic direction.

Definition at line 68 of file lw_tree_gaugeact.h.

References Chroma::LWTreeGaugeActParams::aniso, param, and Chroma::AnisoParam_t::t_dir.


Member Data Documentation

LWTreeGaugeActParams Chroma::LWTreeGaugeAct::param [private]

The coupling Beta

Definition at line 123 of file lw_tree_gaugeact.h.

Referenced by getBeta(), init(), and tDir().

Handle<PlaqGaugeAct> Chroma::LWTreeGaugeAct::plaq [private]

Hold a plaquette gaugeact

Definition at line 121 of file lw_tree_gaugeact.h.

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

Handle<RectGaugeAct> Chroma::LWTreeGaugeAct::rect [private]

Hold a rectangle gaugeact

Definition at line 122 of file lw_tree_gaugeact.h.

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


The documentation for this class was generated from the following files:
Generated on Sat Mar 13 04:40:23 2010 for CHROMA by  doxygen 1.4.7