Go to the documentation of this file.
10 #ifndef FOPR_STAGGERED_INCLUDED
11 #define FOPR_STAGGERED_INCLUDED
146 static bool register_factory()
149 init &= Fopr::Factory_noarg::Register(
"Staggered", create_object);
150 init &= Fopr::Factory_params::Register(
"Staggered",
151 create_object_with_params);
Staggered fermion operator.
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void mult_xm(Field &, const Field &)
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void init()
initial setup.
void H(Field &, const Field &)
std::string m_mode
mult mode
void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
std::string get_mode() const
void mult_dag(Field &, const Field &)
hermitian conjugate of mult.
void mult_xp(Field &, const Field &)
double * vcp1_xp
communication buffer
void mult_zm(Field &, const Field &)
void set_config_impl(Field *U)
void mult(Field &, const Field &)
multiplies fermion operator to a given field.
void mult_tp(Field &, const Field &)
Field m_stg_phase
staggered phase
double flop_count()
returns the number of floating point operations.
~Fopr_Staggered()
destructor.
void set_config_omp(Field *U)
void DdagD(Field &, const Field &)
void set_config(Field *U)
sets the gauge configuration.
DEPRECATED Fopr_Staggered()
void mult_zp(Field &, const Field &)
void set_staggered_phase()
void normalize_fprop(Field &v)
normalize propagator if necessary (default: do nothing)
void Ddag(Field &, const Field &)
void normalize_fopr_(Field &v)
void mult_gm5(Field &, const Field &)
multiplies gamma_5 matrix.
Field_G m_U
gauge field multiplied by staggered phase.
Field m_parity
site parity field
void D(Field &, const Field &)
std::vector< int > m_boundary
boundary conditions.
void tidyup()
final clean-up.
void scal(Field &x, const double a)
scal(x, a): x = a * x
int field_nex()
returns the external degree of freedom of the fermion field.
void mult_ym(Field &, const Field &)
void mult_staggered_phase(Field &, int mu)
Bridge::VerboseLevel m_vl
verbose level
Container of Field-type object.
static const std::string class_name
Fopr_Staggered(const Parameters ¶ms)
constructor.
int field_nvol()
returns the volume of the fermion field.
void mult_tm(Field &, const Field &)
int field_nin()
returns the on-site degree of freedom of the fermion field.
void mult_yp(Field &, const Field &)