CHROMA
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
Chroma::SchrDirichletGaugeBC Class Reference

Concrete class for Schroedinger BC - use for nonpertubative tuning. More...

#include <schr_dirich_gaugebc.h>

Inheritance diagram for Chroma::SchrDirichletGaugeBC:
Chroma::SchrSFGaugeBC Chroma::SchrGaugeBC Chroma::GaugeBC< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > Chroma::BoundCond< P, Q >

Public Member Functions

 SchrDirichletGaugeBC (const SchrGaugeBCParams &p)
 Only full constructor. More...
 
 ~SchrDirichletGaugeBC ()
 Destructor is automatic. More...
 
int getDir () const
 Decay direction. More...
 
const multi1d< LatticeBoolean > & lSFmask () const
 Mask which lattice sites have fixed gauge links. More...
 
const multi1d< LatticeColorMatrix > & SFBndFld () const
 Fixed gauge links on only the lSFmask() sites. More...
 
- Public Member Functions inherited from Chroma::SchrSFGaugeBC
virtual ~SchrSFGaugeBC ()
 Virtual destructor. More...
 
- Public Member Functions inherited from Chroma::SchrGaugeBC
virtual ~SchrGaugeBC ()
 Virtual destructor. More...
 
void modify (multi1d< LatticeColorMatrix > &u) const
 Modify U fields in place. More...
 
void zero (multi1d< LatticeColorMatrix > &ds_u) const
 Zero the some gauge-like field in place on the masked links. More...
 
bool nontrivialP () const
 Says if there are fixed links within the lattice. More...
 
- Public Member Functions inherited from Chroma::GaugeBC< multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >
virtual ~GaugeBC ()
 Virtual destructor to help with cleanup;. More...
 
- Public Member Functions inherited from Chroma::BoundCond< P, Q >
virtual ~BoundCond ()
 Virtual destructor to help with cleanup;. More...
 

Protected Member Functions

int getMaxExtent () const
 Maximum plaquette size. This is what knows about 1x1 plaq or 1x2 rect. More...
 
const Real & SchrPhiMult () const
 Multiplier on phases. More...
 
const Phases_tgetPhases () const
 Get the angles on the boundaries. More...
 
void initPhases ()
 Initialize the phases. More...
 
- Protected Member Functions inherited from Chroma::SchrSFGaugeBC
virtual void initBnd (multi1d< LatticeColorMatrix > &SFBndFld, multi1d< LatticeBoolean > &lSFmask) const
 Construct the mask and boundary fields. More...
 

Private Member Functions

 SchrDirichletGaugeBC ()
 
void operator= (const SchrDirichletGaugeBC &)
 

Private Attributes

SchrGaugeBCParams param
 
Phases_t phases
 
multi1d< LatticeBoolean > mask
 
multi1d< LatticeColorMatrix > fld
 

Detailed Description

Concrete class for Schroedinger BC - use for nonpertubative tuning.

Schroedinger BC for gauge actions

Definition at line 28 of file schr_dirich_gaugebc.h.

Constructor & Destructor Documentation

◆ SchrDirichletGaugeBC() [1/2]

Chroma::SchrDirichletGaugeBC::SchrDirichletGaugeBC ( const SchrGaugeBCParams p)

Only full constructor.

Definition at line 40 of file schr_dirich_gaugebc.cc.

References fld, Chroma::SchrSFGaugeBC::initBnd(), initPhases(), and mask.

◆ ~SchrDirichletGaugeBC()

Chroma::SchrDirichletGaugeBC::~SchrDirichletGaugeBC ( )
inline

Destructor is automatic.

Definition at line 35 of file schr_dirich_gaugebc.h.

◆ SchrDirichletGaugeBC() [2/2]

Chroma::SchrDirichletGaugeBC::SchrDirichletGaugeBC ( )
inlineprivate

Definition at line 62 of file schr_dirich_gaugebc.h.

Member Function Documentation

◆ getDir()

int Chroma::SchrDirichletGaugeBC::getDir ( ) const
inlinevirtual

Decay direction.

Implements Chroma::SchrSFGaugeBC.

Definition at line 38 of file schr_dirich_gaugebc.h.

References Chroma::SchrGaugeBCParams::decay_dir, and param.

◆ getMaxExtent()

int Chroma::SchrDirichletGaugeBC::getMaxExtent ( ) const
inlineprotectedvirtual

Maximum plaquette size. This is what knows about 1x1 plaq or 1x2 rect.

Returns
1 for 1x1 plaq or 2 for 1x2 rect in decay_dir

Implements Chroma::SchrSFGaugeBC.

Definition at line 49 of file schr_dirich_gaugebc.h.

References Chroma::SchrGaugeBCParams::loop_extent, and param.

◆ getPhases()

const Phases_t& Chroma::SchrDirichletGaugeBC::getPhases ( ) const
inlineprotectedvirtual

Get the angles on the boundaries.

Implements Chroma::SchrSFGaugeBC.

Definition at line 55 of file schr_dirich_gaugebc.h.

References phases.

◆ initPhases()

void Chroma::SchrDirichletGaugeBC::initPhases ( )
protected

◆ lSFmask()

const multi1d<LatticeBoolean>& Chroma::SchrDirichletGaugeBC::lSFmask ( ) const
inlinevirtual

Mask which lattice sites have fixed gauge links.

Implements Chroma::SchrGaugeBC.

Definition at line 41 of file schr_dirich_gaugebc.h.

References mask.

Referenced by Chroma::SchrDirichletFermBC::SchrDirichletFermBC().

◆ operator=()

void Chroma::SchrDirichletGaugeBC::operator= ( const SchrDirichletGaugeBC )
inlineprivate

Definition at line 63 of file schr_dirich_gaugebc.h.

◆ SchrPhiMult()

const Real& Chroma::SchrDirichletGaugeBC::SchrPhiMult ( ) const
inlineprotectedvirtual

Multiplier on phases.

Implements Chroma::SchrSFGaugeBC.

Definition at line 52 of file schr_dirich_gaugebc.h.

References param, and Chroma::SchrGaugeBCParams::SchrPhiMult.

◆ SFBndFld()

const multi1d<LatticeColorMatrix>& Chroma::SchrDirichletGaugeBC::SFBndFld ( ) const
inlinevirtual

Fixed gauge links on only the lSFmask() sites.

Implements Chroma::SchrGaugeBC.

Definition at line 44 of file schr_dirich_gaugebc.h.

References fld.

Referenced by Chroma::SchrDirichletFermBC::SchrDirichletFermBC().

Member Data Documentation

◆ fld

multi1d<LatticeColorMatrix> Chroma::SchrDirichletGaugeBC::fld
private

Definition at line 69 of file schr_dirich_gaugebc.h.

Referenced by SchrDirichletGaugeBC(), and SFBndFld().

◆ mask

multi1d<LatticeBoolean> Chroma::SchrDirichletGaugeBC::mask
private

Definition at line 68 of file schr_dirich_gaugebc.h.

Referenced by lSFmask(), and SchrDirichletGaugeBC().

◆ param

SchrGaugeBCParams Chroma::SchrDirichletGaugeBC::param
private

Definition at line 66 of file schr_dirich_gaugebc.h.

Referenced by getDir(), getMaxExtent(), and SchrPhiMult().

◆ phases

Phases_t Chroma::SchrDirichletGaugeBC::phases
private

Definition at line 67 of file schr_dirich_gaugebc.h.

Referenced by getPhases(), and initPhases().


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