CHROMA
|
Concrete class for gauge actions with simple boundary conditions. More...
#include <simple_gaugebc.h>
Public Member Functions | |
SimpleGaugeBC (const multi1d< Complex > &boundary_) | |
Only full constructor. More... | |
SimpleGaugeBC (const SimpleGaugeBCParams &p) | |
From param struct. More... | |
~SimpleGaugeBC () | |
Destructor is automatic. More... | |
void | modify (Q &u) const |
Modify U fields in place. More... | |
void | zero (P &u) const |
Zero the U fields in place on the masked links. More... | |
bool | nontrivialP () const |
Says if there are non-trivial BC links. More... | |
Public Member Functions inherited from Chroma::GaugeBC< P, Q > | |
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... | |
Private Member Functions | |
SimpleGaugeBC () | |
void | operator= (const SimpleGaugeBC< P, Q > &a) |
Hide assignment. More... | |
Private Attributes | |
multi1d< Complex > | boundary |
Concrete class for gauge actions with simple boundary conditions.
Simple BC, where boundary array is multiplied on the links on the edge of the lattice
Definition at line 43 of file simple_gaugebc.h.
|
inline |
Only full constructor.
boundary | multiply links on edge of lattice by boundary |
NOTE: the type of boundary can be generalized
Definition at line 53 of file simple_gaugebc.h.
|
inline |
From param struct.
Definition at line 56 of file simple_gaugebc.h.
|
inline |
Destructor is automatic.
Definition at line 59 of file simple_gaugebc.h.
|
inlineprivate |
Definition at line 85 of file simple_gaugebc.h.
|
inlinevirtual |
Modify U fields in place.
Implements Chroma::GaugeBC< P, Q >.
Definition at line 62 of file simple_gaugebc.h.
References Chroma::SimpleGaugeBC< P, Q >::boundary, m, Nd, and Chroma::u.
|
inlinevirtual |
Says if there are non-trivial BC links.
This is a simple implementation - always do the work. Could be improved by checking boundary
Implements Chroma::GaugeBC< P, Q >.
Definition at line 81 of file simple_gaugebc.h.
|
inlineprivate |
Hide assignment.
Definition at line 88 of file simple_gaugebc.h.
|
inlinevirtual |
Zero the U fields in place on the masked links.
Implements Chroma::GaugeBC< P, Q >.
Definition at line 74 of file simple_gaugebc.h.
|
private |
Definition at line 91 of file simple_gaugebc.h.
Referenced by Chroma::SimpleGaugeBC< P, Q >::modify().