Go to the documentation of this file.
9 #ifndef ACCEL_AFOPR_DOMAINWALL_5DIN_INCLUDED
10 #define ACCEL_AFOPR_DOMAINWALL_5DIN_INCLUDED
41 template<
typename AFIELD>
54 std::vector<real_t>
m_b;
55 std::vector<real_t>
m_c;
70 std::vector<real_t>
m_e;
71 std::vector<real_t>
m_f;
110 const int Ns,
const std::vector<int> bc,
132 const std::vector<real_t> c);
214 static bool register_factory()
218 "Domainwall_5din", create_object_with_params);
std::vector< real_t > m_b
coefficient b (array)
std::vector< real_t > m_e
void mult_gm5_4d(AFIELD &, const AFIELD &)
std::string m_kernel_type
fermion kernel type
AFIELD m_v2
working 5d vectors.
void mult(AFIELD &v, const AFIELD &w)
multiplies fermion operator to a given field.
void Precdag(AFIELD &, const AFIELD &)
std::vector< Channel > chsend_up
real_t m_M0
domain-wall height
void get_parameters(Parameters ¶ms) const
gets parameters by a Parameter object: to be implemented in a subclass.
void mult_dag(AFIELD &v, const AFIELD &w)
hermitian conjugate of mult.
void H(AFIELD &, const AFIELD &)
int m_Ns
size of fifth-dimension
void Ddag(AFIELD &, const AFIELD &)
void mult_gm5R(AFIELD &, const AFIELD &)
void set_config_omp(Field *U)
void Hdag(AFIELD &, const AFIELD &)
ChannelSet class for a collection of channels.
std::vector< Channel > chrecv_dn
void mult_chproj_4d(AFIELD &, const AFIELD &, const int ipm)
std::string get_mode() const
returns the current mult mode.
std::vector< Channel > chrecv_up
int field_nin()
returns the on-site degree of freedom of the fermion field.
void D(AFIELD &, const AFIELD &)
void D_prec(AFIELD &, const AFIELD &)
void convert(AFIELD &, const Field &)
convert Field to AField for this class.
int field_nex()
returns the external degree of freedom of the fermion field.
int do_comm[4]
communication switch (4=Ndim): (0: n, 1: y)
std::vector< int > m_Nbdsize
std::vector< int > m_boundary
boundary conditions
void Ddag_prec(AFIELD &, const AFIELD &)
Domain-wall fermion operator.
void set_precond_parameters()
set parameters for preconditioning.
std::vector< real_t > m_f
~AFopr_Domainwall_5din()
destructor.
void set_coefficients(const std::vector< real_t > b, const std::vector< real_t > c)
set coefficients if they depend in s.
bool needs_convert()
this class needs convert of fermion field.
void mult_gm5(AFIELD &, const AFIELD &)
multiplies gamma_5 matrix.
std::vector< real_t > m_dp
void Prec(AFIELD &, const AFIELD &)
void mult_R(AFIELD &, const AFIELD &)
std::vector< real_t > m_dm
std::vector< real_t > m_c
coefficient c (array)
real_t m_alpha
parameter alpha
void DdagD(AFIELD &, const AFIELD &)
void DdagD_prec(AFIELD &, const AFIELD &)
void reverse(Field &, const AFIELD &)
reverse AField to Field.
void tidyup()
final tidyup.
std::vector< real_t > m_dpinv
void set_mode(std::string mode)
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelev...
int field_nvol()
returns the volume of the fermion field.
void LU_inv(AFIELD &, const AFIELD &)
double flop_count()
this returns the number of floating point number operations.
void LUdag_inv(AFIELD &, const AFIELD &)
Bridge::VerboseLevel m_vl
verbose level
void init(const Parameters ¶ms)
initial setup.
void set_parameters(const Parameters ¶ms)
sets parameters by a Parameter object: to be implemented in a subclass.
void set_config_impl(Field *U)
Container of Field-type object.
static const std::string class_name
AFopr_Domainwall_5din(const Parameters ¶ms)
constructor.
void DDdag(AFIELD &, const AFIELD &)
int do_comm_any
communication switch (if any): (0: n, 1: y)
std::string m_impl
4d or 5d kernel implementation
std::vector< Channel > chsend_dn
std::string m_repr
Dirac matrix representation.
void set_config(Field *U)
sets the gauge configuration.