Go to the documentation of this file.
10 #ifndef ACCEL_AFOPR_CLOVERTERM_H
11 #define ACCEL_AFOPR_CLOVERTERM_H
28 template<
typename AFIELD>
class ASolver;
30 template<
typename AFIELD>
107 const std::string mode);
185 static bool register_factory()
188 "CloverTerm", create_object_with_params);
195 #endif // ACCEL_AFOPR_CLOVERTERM_H
void setup_channels()
setup channels for communication.
AFIELD m_v2
working spinor fields.
void multadd_csw_dirac(real_t *v2, real_t *v1, int site)
multiply diagonal term at each site (Dirac repr).
enum AFopr_CloverTerm::Gamma_repr m_repr
gamma matrix representation
void set_csw_chiral(Field &u)
setting clover term (Chiral repr).
void solve_csw_inv_chiral()
Field * get_conf(void)
returns the pointer to gauge configuration.
void multadd_csw(AFIELD &, const AFIELD &)
void get_csw_inv(AFIELD &T)
getting the inverse of clover term.
void set_parameters(const Parameters ¶ms)
setting parameters by a Parameter object.
void tidyup()
final tidy-up.
void mult(AFIELD &, const AFIELD &)
multiplies fermion operator to a given field.
void set_config_omp(Field *u)
~AFopr_CloverTerm()
destructor.
Bridge::VerboseLevel m_vl
verbose level
void set_mode(std::string mode)
setting mult mode.
void solve_csw_inv_dirac()
AStaple_lex< AFIELD > * m_staple
real_t m_CKs
hopping parameter.
real_t m_cSW
clover coefficient.
void H(AFIELD &, const AFIELD &)
AFIELD m_Tinv
clover term (+1) and its inverse.
int field_nin()
returns inner size parameter.
void set_fieldstrength(AFIELD &Fst, AFIELD &u, int, int)
setting field strength.
std::vector< int > m_boundary
pointer to boundary condition
void set_csw(Field &u)
setting clover term.
AFIELD m_F2
working gauge fields.
double flop_count()
returns floating operation counts.
void set_csw_dirac(Field &u)
setting clover term (Dirac repr).
void set_config(Field *u)
setting gauge configuration.
void mult_gm5(AFIELD &, const AFIELD &)
multiplies gamma_5 matrix.
std::string m_mode
mult mode
void multadd_csw_chiral(real_t *v2, real_t *v1, int site)
multiply diagonal term at each site (Chiral repr).
void get_csw(AFIELD &T)
getting clover term.
void set_boundary_config(AFIELD &U, const int mu)
setting fermion boundary condition to gauge field.
Field * m_conf
original gauge config.
static const std::string class_name
int field_nex()
returns external size parameter.
void mult_csw(AFIELD &, const AFIELD &)
AFIELD m_U
copied gauge config. with boundary conditions.
void mult_dag(AFIELD &, const AFIELD &)
hermitian conjugate of mult.
void solve_csw_inv()
solve the inverse of clover term.
AFIELD m_ut2
working gauge fields.
void set_config_impl(Field *u)
AFopr_CloverTerm(const Parameters ¶ms)
constructor.
std::string get_mode() const
returns mult mode.
ASolver< AFIELD > * m_solver
Container of Field-type object.
void init(const Parameters ¶ms)
initial setup.
void D(AFIELD &, const AFIELD &)
int field_nvol()
returns local volume size parameter.
void mult_csw_inv(AFIELD &, const AFIELD &)