CHROMA
|
Concrete class for all fermionic actions with twisted boundary conditions. More...
#include <twisted_fermbc_w.h>
Public Member Functions | |
TwistedFermBC (const multi1d< int > &boundary_, const multi1d< Real > &phases_by_pi_, const multi1d< int > &phases_dir_) | |
Only full constructor. More... | |
TwistedFermBC (const TwistedFermBC &a) | |
Copy constructor. More... | |
~TwistedFermBC () | |
Destructor is automatic. More... | |
TwistedFermBC & | operator= (const TwistedFermBC &a) |
Assignment. More... | |
void | modify (multi1d< LatticeColorMatrix > &u) const |
Modify U fields in place. More... | |
void | modifyF (T &psi) const |
Modify fermion fields in place. More... | |
void | modifyF (T &psi, const Subset &s) const |
Modify fermion fields in place under a subset. More... | |
void | modifyF (multi1d< T > &psi) const |
Modify fermion fields in place. More... | |
void | modifyF (multi1d< T > &psi, const Subset &s) const |
Modify fermion fields in place under a subset. More... | |
void | zero (multi1d< LatticeColorMatrix > &ds_u) const |
Zero some gauge-like field 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::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > | |
virtual | ~FermBC () |
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 | |
TwistedFermBC () | |
void | check_arrays (const multi1d< Real > phases_by_pi, const multi1d< int > phases_dir) |
Private Attributes | |
multi1d< Real > | phases_by_pi |
multi1d< int > | phases_dir |
multi1d< int > | boundary |
Handle< SimpleFermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > | simple_bc_handle |
Concrete class for all fermionic actions with twisted boundary conditions.
Twisted BC
Definition at line 46 of file twisted_fermbc_w.h.
|
inline |
Only full constructor.
boundary_phases | multiply links on edge of lattice by boundary |
NOTE: there is no real reason this is of type int, could be more general like Complex
Definition at line 60 of file twisted_fermbc_w.h.
References Chroma::TwistedFermBC< T >::check_arrays().
|
inline |
Copy constructor.
Definition at line 73 of file twisted_fermbc_w.h.
References Chroma::a, and Chroma::TwistedFermBC< T >::check_arrays().
|
inline |
Destructor is automatic.
Definition at line 82 of file twisted_fermbc_w.h.
|
inlineprivate |
Definition at line 147 of file twisted_fermbc_w.h.
|
inlineprivate |
Definition at line 149 of file twisted_fermbc_w.h.
References Chroma::END_CODE(), Chroma::i, Nd, Chroma::TwistedFermBC< T >::phases_by_pi, Chroma::TwistedFermBC< T >::phases_dir, and Chroma::START_CODE().
Referenced by Chroma::TwistedFermBC< T >::operator=(), and Chroma::TwistedFermBC< T >::TwistedFermBC().
|
inlinevirtual |
Modify U fields in place.
Implements Chroma::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 96 of file twisted_fermbc_w.h.
References Chroma::END_CODE(), Chroma::i, Nd, Chroma::TwistedFermBC< T >::phases_by_pi, Chroma::TwistedFermBC< T >::phases_dir, Chroma::START_CODE(), Chroma::twopi, and Chroma::u.
|
inlinevirtual |
Modify fermion fields in place.
NOP
Implements Chroma::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 131 of file twisted_fermbc_w.h.
|
inlinevirtual |
Modify fermion fields in place under a subset.
NOP
Implements Chroma::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 135 of file twisted_fermbc_w.h.
|
inlinevirtual |
Modify fermion fields in place.
NOP
Implements Chroma::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 123 of file twisted_fermbc_w.h.
|
inlinevirtual |
Modify fermion fields in place under a subset.
NOP
Implements Chroma::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 127 of file twisted_fermbc_w.h.
|
inlinevirtual |
Says if there are non-trivial BC links.
Implements Chroma::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 142 of file twisted_fermbc_w.h.
|
inline |
Assignment.
Definition at line 85 of file twisted_fermbc_w.h.
References Chroma::a, Chroma::TwistedFermBC< T >::check_arrays(), Chroma::TwistedFermBC< T >::phases_by_pi, Chroma::TwistedFermBC< T >::phases_dir, and Chroma::TwistedFermBC< T >::simple_bc_handle.
|
inlinevirtual |
Zero some gauge-like field in place on the masked links.
NOP
Implements Chroma::FermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > >.
Definition at line 139 of file twisted_fermbc_w.h.
|
private |
Definition at line 176 of file twisted_fermbc_w.h.
|
private |
Definition at line 174 of file twisted_fermbc_w.h.
Referenced by Chroma::TwistedFermBC< T >::check_arrays(), Chroma::TwistedFermBC< T >::modify(), and Chroma::TwistedFermBC< T >::operator=().
|
private |
Definition at line 175 of file twisted_fermbc_w.h.
Referenced by Chroma::TwistedFermBC< T >::check_arrays(), Chroma::TwistedFermBC< T >::modify(), and Chroma::TwistedFermBC< T >::operator=().
|
private |
Definition at line 180 of file twisted_fermbc_w.h.
Referenced by Chroma::TwistedFermBC< T >::operator=().