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

Concrete class for Schroedinger BC - zero out gauge boundaries. More...

#include <schr_sf_zero_gaugebc.h>

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

Public Member Functions

 SchrSFZeroGaugeBC (const SchrGaugeBCParams &p)
 Only full constructor. More...
 
 ~SchrSFZeroGaugeBC ()
 Destructor is automatic. More...
 
int getDir () const
 Decay direction. 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...
 
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

 SchrSFZeroGaugeBC ()
 
void operator= (const SchrSFZeroGaugeBC &)
 

Private Attributes

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

Detailed Description

Concrete class for Schroedinger BC - zero out gauge boundaries.

Schroedinger BC for gauge actions

Definition at line 28 of file schr_sf_zero_gaugebc.h.

Constructor & Destructor Documentation

◆ SchrSFZeroGaugeBC() [1/2]

Chroma::SchrSFZeroGaugeBC::SchrSFZeroGaugeBC ( const SchrGaugeBCParams p)

Only full constructor.

Definition at line 40 of file schr_sf_zero_gaugebc.cc.

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

◆ ~SchrSFZeroGaugeBC()

Chroma::SchrSFZeroGaugeBC::~SchrSFZeroGaugeBC ( )
inline

Destructor is automatic.

Definition at line 35 of file schr_sf_zero_gaugebc.h.

◆ SchrSFZeroGaugeBC() [2/2]

Chroma::SchrSFZeroGaugeBC::SchrSFZeroGaugeBC ( )
inlineprivate

Definition at line 70 of file schr_sf_zero_gaugebc.h.

Member Function Documentation

◆ getDir()

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

Decay direction.

Implements Chroma::SchrSFGaugeBC.

Definition at line 38 of file schr_sf_zero_gaugebc.h.

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

◆ getMaxExtent()

int Chroma::SchrSFZeroGaugeBC::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 57 of file schr_sf_zero_gaugebc.h.

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

◆ getPhases()

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

Get the angles on the boundaries.

Implements Chroma::SchrSFGaugeBC.

Definition at line 63 of file schr_sf_zero_gaugebc.h.

References phases.

◆ initPhases()

void Chroma::SchrSFZeroGaugeBC::initPhases ( )
protected

Initialize the phases.

Definition at line 52 of file schr_sf_zero_gaugebc.cc.

References Chroma::SchrSFGaugeBC::Phases_t::lower, phases, Chroma::SchrSFGaugeBC::Phases_t::upper, and Chroma::zero.

Referenced by SchrSFZeroGaugeBC().

◆ lSFmask()

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

Mask which lattice sites have fixed gauge links.

Implements Chroma::SchrGaugeBC.

Definition at line 49 of file schr_sf_zero_gaugebc.h.

References mask.

Referenced by modify(), and zero().

◆ modify()

void Chroma::SchrSFZeroGaugeBC::modify ( multi1d< LatticeColorMatrix > &  u) const
virtual

Modify U fields in place.

Default version provided

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

Definition at line 63 of file schr_sf_zero_gaugebc.cc.

References copymask(), Chroma::END_CODE(), lSFmask(), mu, Chroma::START_CODE(), Chroma::u, z, and Chroma::zero.

◆ operator=()

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

Definition at line 71 of file schr_sf_zero_gaugebc.h.

◆ SchrPhiMult()

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

Multiplier on phases.

Implements Chroma::SchrSFGaugeBC.

Definition at line 60 of file schr_sf_zero_gaugebc.h.

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

◆ SFBndFld()

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

Fixed gauge links on only the lSFmask() sites.

Implements Chroma::SchrGaugeBC.

Definition at line 52 of file schr_sf_zero_gaugebc.h.

References fld.

◆ zero()

void Chroma::SchrSFZeroGaugeBC::zero ( multi1d< LatticeColorMatrix > &  ds_u) const
virtual

Zero the some gauge-like field in place on the masked links.

Default version provided

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

Definition at line 76 of file schr_sf_zero_gaugebc.cc.

References copymask(), Chroma::END_CODE(), lSFmask(), mu, Chroma::START_CODE(), z, and Chroma::zero.

Member Data Documentation

◆ fld

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

Definition at line 77 of file schr_sf_zero_gaugebc.h.

Referenced by SchrSFZeroGaugeBC(), and SFBndFld().

◆ mask

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

Definition at line 76 of file schr_sf_zero_gaugebc.h.

Referenced by lSFmask(), and SchrSFZeroGaugeBC().

◆ param

SchrGaugeBCParams Chroma::SchrSFZeroGaugeBC::param
private

Definition at line 74 of file schr_sf_zero_gaugebc.h.

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

◆ phases

Phases_t Chroma::SchrSFZeroGaugeBC::phases
private

Definition at line 75 of file schr_sf_zero_gaugebc.h.

Referenced by getPhases(), and initPhases().


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