16 #ifdef USE_PARAMETERS_FACTORY
29 Fopr *create_object_with_repr(
const std::string& repr)
35 bool init1 = Fopr::Factory_noarg::Register(
"Clover_Isochemical", create_object);
36 bool init2 = Fopr::Factory_string::Register(
"Clover_Isochemical", create_object_with_repr);
54 #ifdef USE_PARAMETERS_FACTORY
69 const std::string str_vlevel = params.
get_string(
"verbose_level");
74 double kappa, cSW, mu;
80 err += params.
fetch_double(
"isospin_chemical_potential", mu);
102 for (
int dir = 0; dir <
m_Ndim; ++dir) {
108 assert(bc.size() ==
m_Ndim);
115 for (
int dir = 0; dir <
m_Ndim; ++dir) {
169 assert(f.
nex() == 1);
182 assert(f.
nex() == 1);
195 assert(f.
nex() == 1);
205 assert(f.
nex() == 1);
215 assert(f.
nex() == 1);
224 const int mu,
const int nu)
void Register_int_vector(const string &, const std::vector< int > &)
void set_config(Field *U)
setting pointer to the gauge configuration.
void set_config(Field *U)
setting pointer to the gauge configuration.
const Field_G * m_U
gauge configuration (pointer)
void set_config(Field *U)
setting pointer to the gauge configuration.
void Register_string(const string &, const string &)
Fopr_CloverTerm * m_fopr_csw
Clover term operator.
void mult_sigmaF(Field &, const Field &)
void general(const char *format,...)
double m_cSW
clover coefficient
Container of Field-type object.
void set_parameters(const Parameters ¶ms)
double m_mu
isospin chemical potential
double flop_count()
this returns the number of floating point operations.
Parameters_Fopr_Clover_Isochemical()
void Ddag(Field &, const Field &)
Wilson-type fermion field.
void mult_gm5(Field &v, const Field &w)
double m_kappa
hopping parameter
Fopr_Wilson_Isochemical * m_fopr_w
Wilson fermion kernel.
void D(Field &, const Field &)
Bridge::VerboseLevel m_vl
void DdagD(Field &, const Field &)
static const std::string class_name
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
void reset(const int Nin, const int Nvol, const int Nex, const element_type cmpl=COMPLEX)
void Hdag(Field &, const Field &)
void set_parameters(const Parameters ¶ms)
std::vector< int > m_boundary
boundary conditions
void set_parameters(const Parameters ¶ms)
void Ddag(Field &, const Field &)
void axpy(Field &y, const double a, const Field &x)
axpy(y, a, x): y := a * x + y
void crucial(const char *format,...)
int m_NinF
internal parameters
void D(Field &, const Field &)
void H(Field &, const Field &)
void init(std::string repr)
static bool Register(const std::string &realm, const creator_callback &cb)
std::string m_repr
gamma matrix representation
void Register_double(const string &, const double)
Base class of fermion operator family.
int fetch_double(const string &key, double &val) const
string get_string(const string &key) const
static VerboseLevel set_verbose_level(const std::string &str)
void mult_isigma(Field_F &, const Field_F &, const int mu, const int nu)
int fetch_int_vector(const string &key, std::vector< int > &val) const