Go to the documentation of this file.
14 #ifndef AFOPR_WILSON_CHEMICAL_INCLUDED
15 #define AFOPR_WILSON_CHEMICAL_INCLUDED
34 template<
typename AFIELD>
82 void set_mode(
const std::string mode);
110 {
return m_fopr_w->needs_convert(); }
128 void init(
const std::string repr);
137 const std::vector<int> bc);
144 static AFopr<AFIELD> *create_object_with_repr(
const std::string& repr)
151 static bool register_factory()
157 create_object_with_repr);
159 create_object_with_params);
void Dspc(AFIELD &, const AFIELD &)
std::string get_mode() const
returns the current mult mode.
int field_nin()
returns the on-site degree of freedom of the fermion field.
void mult_dag(AFIELD &v, const AFIELD &w)
hermitian conjugate of mult.
void D(AFIELD &, const AFIELD &)
void set_parameters_impl(const real_t kappa, const real_t mu, const std::vector< int > bc)
sets parameters given as values: private for composite operator.
void mult_gm5(AFIELD &, const AFIELD &)
multiplies gamma_5 matrix.
bool m_is_initial_step
to avoid redundant setup
Wilson fermion operator with chemical potential.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
int field_nex()
returns the external degree of freedom of the fermion field.
Bridge::VerboseLevel m_vl
virtual void reverse(Field &v, const AFIELD &w)
reverses to a Field object from other format if necessary.
void DdagD(AFIELD &, const AFIELD &)
void H(AFIELD &, const AFIELD &)
AFIELD m_v2
working field.
double flop_count()
this returns the number of floating point operations.
static const std::string class_name
DEPRECATED AFopr_Wilson_Chemical(const std::string repr)
void set_mode(const std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
virtual bool needs_convert()
returns true if additional field conversion is needed.
real_t m_mu
isospin chemical potential
void set_config(Field *U)
sets the gauge configuration.
void Hdag(AFIELD &, const AFIELD &)
std::vector< int > m_boundary
AFopr< AFIELD > * m_fopr_w
DEPRECATED AFopr_Wilson_Chemical()
std::string m_kernel_type
kernel type
void mult_dn(const int mu, AFIELD &v, const AFIELD &w)
downward nearest neighbor hopping term.
int field_nvol()
returns the volume of the fermion field.
AFopr_Wilson_Chemical(const Parameters ¶ms)
void Ddag(AFIELD &, const AFIELD &)
void mult_gm5p(const int mu, AFIELD &v, const AFIELD &w)
void mult_up(const int mu, AFIELD &v, const AFIELD &w)
upward nearest neighbor hopping term.
void init(const std::string repr)
Container of Field-type object.
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void Dminmu(AFIELD &, const AFIELD &)
real_t m_kappa
hopping parameter
virtual void convert(AFIELD &v, const Field &w)
converts a Field object into other format if necessary.
void mult(AFIELD &v, const AFIELD &w)
multiplies fermion operator to a given field.