15 XMLReader paramtop(xml, path);
23 QDPIO::cerr <<
"TwistedFermBCParams: Invalid size for boundary. Should be " <<
Nd <<
" but is " <<
boundary.size() << std::endl;
28 QDPIO::cerr <<
"TwistedFermBCParams: Invalid size for phases_by_pi. Should be " <<
Nd-1 <<
" but is " <<
phases_by_pi.size() << std::endl;
33 QDPIO::cerr <<
"TwistedFermBCParams: Invalid size for phases_dir. Should be " <<
Nd-1 <<
" but is " <<
phases_dir.size() << std::endl;
37 for(
int i=0;
i <
Nd-1;
i++) {
39 QDPIO::cerr <<
"Invalid value in phases_dir, direction " <<
i <<
" should be between 0 and " <<
Nd-1 <<
" but is " <<
phases_dir[
i] << std::endl;
69 namespace WilsonTypeTwistedFermBCEnv
73 multi1d<LatticeColorMatrix>,
Base class for all fermion action boundary conditions.
Concrete class for all fermionic actions with twisted boundary conditions.
Fermion Boundary Condition factories.
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.
FermBC< LatticeFermion, multi1d< LatticeColorMatrix >, multi1d< LatticeColorMatrix > > * createFermBC(XMLReader &xml_in, const std::string &path)
Callback function.
bool registerAll()
Register all the factories.
const std::string name
Name to be used.
Asqtad Staggered-Dirac operator.
push(xml_out,"Condensates")
Params struct for twisted params.
multi1d< int > phases_dir
multi1d< Real > phases_by_pi