6 #ifndef __background_fermbc_w_h__
7 #define __background_fermbc_w_h__
32 namespace WilsonTypeBackgroundFermBCEnv
47 multi1d<LatticeColorMatrix>,
48 multi1d<LatticeColorMatrix> >
62 const multi1d<int>& boundary_) :
66 multi1d<LatticeColorMatrix>,
67 multi1d<LatticeColorMatrix> >(boundary_))
91 void modify(multi1d<LatticeColorMatrix>&
u)
const
96 (*simple_bc_handle).modify(
u);
118 QDPIO::cout<<
"BACKGROUND BC NOT IMPLEMENTED"<<std::endl ;
125 QDPIO::cout<<
"BACKGROUND BC NOT IMPLEMENTED"<<std::endl ;
131 void zero(multi1d<LatticeColorMatrix>& ds_u)
const {}
147 multi1d<LatticeColorMatrix>,
Concrete class for all fermionic actions with twisted boundary conditions.
BackgroundFermBC(int gamma_, Complex lambda_, const multi1d< int > &boundary_)
Only full constructor.
BackgroundFermBC(const BackgroundFermBC &a)
Copy constructor.
bool nontrivialP() const
Says if there are non-trivial BC links.
void modifyF(multi1d< T > &psi, const Subset &s) const
Modify fermion fields in place under a subset.
BackgroundFermBC & operator=(const BackgroundFermBC &a)
Assignment.
void zero(multi1d< LatticeColorMatrix > &ds_u) const
Zero some gauge-like field in place on the masked links.
void modifyF(T &psi) const
Modify fermion fields in place.
void modify(multi1d< LatticeColorMatrix > &u) const
Modify U fields in place.
Handle< SimpleFermBC< T, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > > simple_bc_handle
void modifyF(T &psi, const Subset &s) const
Modify fermion fields in place under a subset.
void modifyF(multi1d< T > &psi) const
Modify fermion fields in place.
~BackgroundFermBC()
Destructor is automatic.
Base class for all fermion action boundary conditions.
Class for counted reference semantics.
Concrete class for all gauge actions with simple boundary conditions.
Fermion action boundary conditions.
void read(XMLReader &xml, const std::string &path, AsqtadFermActParams ¶m)
Read parameters.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
Class for counted reference semantics.
const std::string name
Name to be used.
bool registerAll()
Register all the factories.
Asqtad Staggered-Dirac operator.
static multi1d< LatticeColorMatrix > u
LinOpSysSolverMGProtoClover::T T
static QDP_ColorVector * in
multi1d< LatticeFermion > s(Ncb)
Params struct for twisted params.