Chroma::RBCGaugeAct Class Reference
[Gauge actions]

RG gauge action. More...

#include <rbc_gaugeact.h>

Inheritance diagram for Chroma::RBCGaugeAct:

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

Public Member Functions

 RBCGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const Real &beta_, const Real &c1_)
 General CreateGaugeState<P,Q>.
 RBCGaugeAct (Handle< CreateGaugeState< P, Q > > cgs_, const RBCGaugeActParams &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.
 ~RBCGaugeAct ()
 Destructor is automatic.
const Real getBeta (void) const

Protected Member Functions

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

Private Attributes

Real beta
Real c1
Handle< PlaqGaugeActplaq
Handle< RectGaugeActrect

Detailed Description

RG gauge action.

A RG (plaquette + rectangle) gauge action following RBC conventions

S = -(beta/Nc)*[(1-8*c_1)*Plaq + c_1 * Rect]

Definition at line 50 of file rbc_gaugeact.h.


Constructor & Destructor Documentation

Chroma::RBCGaugeAct::RBCGaugeAct ( Handle< CreateGaugeState< P, Q > >  cgs_,
const Real &  beta_,
const Real &  c1_ 
) [inline]

General CreateGaugeState<P,Q>.

Definition at line 54 of file rbc_gaugeact.h.

References init().

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

Read beta from a param struct.

Definition at line 59 of file rbc_gaugeact.h.

References init().

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

Destructor is automatic.

Definition at line 110 of file rbc_gaugeact.h.

Chroma::RBCGaugeAct::RBCGaugeAct (  )  [inline, protected]

Partial constructor.

Definition at line 120 of file rbc_gaugeact.h.


Member Function Documentation

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

Anisotropy factor.

Definition at line 67 of file rbc_gaugeact.h.

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

Is anisotropy used?

Definition at line 64 of file rbc_gaugeact.h.

void Chroma::RBCGaugeAct::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 90 of file rbc_gaugeact.h.

References plaq, rect, and Chroma::state.

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

Definition at line 113 of file rbc_gaugeact.h.

References beta.

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

Produce a gauge create state object.

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

Definition at line 107 of file rbc_gaugeact.h.

References plaq.

const Set& Chroma::RBCGaugeAct::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 74 of file rbc_gaugeact.h.

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

Private initializer.

Definition at line 63 of file rbc_gaugeact.cc.

References beta, c1, END_CODE, plaq, rect, and START_CODE.

Referenced by RBCGaugeAct().

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

Hide assignment.

Definition at line 122 of file rbc_gaugeact.h.

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

Compute the actions.

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

Definition at line 101 of file rbc_gaugeact.h.

References plaq, rect, and Chroma::state.

void Chroma::RBCGaugeAct::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 78 of file rbc_gaugeact.h.

References plaq, rect, and Chroma::state.

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

Anisotropic direction.

Definition at line 70 of file rbc_gaugeact.h.


Member Data Documentation

Real Chroma::RBCGaugeAct::beta [private]

Definition at line 125 of file rbc_gaugeact.h.

Referenced by getBeta(), and init().

Real Chroma::RBCGaugeAct::c1 [private]

Definition at line 126 of file rbc_gaugeact.h.

Referenced by init().

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

Definition at line 127 of file rbc_gaugeact.h.

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

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

Definition at line 128 of file rbc_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