Bridge++
Ver. 2.0.2
|
#include <afopr_Clover.h>
Public Types | |
typedef AFIELD::real_t | real_t |
Public Member Functions | |
AFopr_Clover (const Parameters ¶ms) | |
constructor. More... | |
~AFopr_Clover () | |
destructor. More... | |
void | set_parameters (const Parameters ¶ms) |
setting parameters by a Parameter object. More... | |
void | set_parameters (real_t CKs, real_t csw, std::vector< int > bc) |
setting parameters by values. More... | |
void | get_parameters (Parameters ¶ms) const |
get parameters via a Parameter object More... | |
void | set_config (Field *u) |
setting gauge configuration (common interface). More... | |
bool | needs_convert () |
QXS version requires convert of spinor field. More... | |
void | convert (AFIELD &v, const Field &w) |
convert of spinor field. More... | |
void | reverse (Field &v, const AFIELD &w) |
reverse of spinor field. More... | |
void | set_mode (std::string mode) |
setting mult mode. More... | |
std::string | get_mode () const |
returns mult mode. More... | |
void | mult (AFIELD &, const AFIELD &) |
multiplies fermion operator to a given field. More... | |
void | mult_dag (AFIELD &, const AFIELD &) |
hermitian conjugate of mult. More... | |
void | mult_gm5 (AFIELD &, const AFIELD &) |
multiplies gamma_5 matrix. More... | |
void | mult_up (int mu, AFIELD &, const AFIELD &) |
upward nearest neighbor hopping term. More... | |
void | mult_dn (int mu, AFIELD &, const AFIELD &) |
downward nearest neighbor hopping term. More... | |
int | field_nin () |
returns inner size parameter. More... | |
int | field_nvol () |
returns local volume size parameter. More... | |
int | field_nex () |
returns external size parameter. More... | |
double | flop_count () |
returns floating operation counts. More... | |
double | flop_count (const std::string mode) |
returns floating operation counts for given mode. More... | |
const std::string | class_name |
const std::string | class_name |
Public Member Functions inherited from AFopr< AFIELD > | |
AFopr () | |
virtual | ~AFopr () |
virtual void | mult (AFIELD &, const AFIELD &, const std::string mode) |
executes mult with specified mode (unchanging internal mode). More... | |
virtual void | mult_dag (AFIELD &, const AFIELD &, const std::string mode) |
executes mult_dag with specified mode (unchanging internal mode). More... | |
virtual void | normalize_fprop (AFIELD &) |
normalize propagator if necessary (default: do nothing) More... | |
virtual void | normalize_fopr (AFIELD &) |
normalize propagator if necessary (default: do nothing) More... | |
Static Public Attributes | |
static const std::string | class_name = "AFopr_Clover" |
Protected Types | |
using | allocator_t = typename AFIELD::template aligned_allocator< char > |
using | Channel = Channel_impl< allocator_t > |
Protected Attributes | |
int | m_Nc |
int | m_Nd |
int | m_Nvc |
int | m_Ndf |
int | m_Ndim |
int | m_Nx |
int | m_Ny |
int | m_Nz |
int | m_Nt |
int | m_Nst |
int | m_Nxv |
int | m_Nyv |
int | m_Nstv |
real_t | m_CKs |
hopping parameter More... | |
real_t | m_csw |
colver coefficient More... | |
std::vector< int > | m_boundary |
pointer to boundary condition More... | |
std::string | m_repr |
gamma matrix representation More... | |
Bridge::VerboseLevel | m_vl |
verbose level More... | |
Field * | m_conf |
original gauge config. More... | |
AFIELD | m_U |
copied gauge config. with boundary conditions. More... | |
std::string | m_mode |
mult mode More... | |
Fopr_CloverTerm * | m_fopr_csw |
clover term (corelib) More... | |
AFIELD | m_v2 |
AFIELD | m_T |
clover term More... | |
Field_F | m_w1 |
Field_F | m_w2 |
int | m_Nsize [4] |
int | do_comm [4] |
int | do_comm_any |
std::vector< int > | m_bdsize |
std::vector< Channel > | chsend_up |
std::vector< Channel > | chrecv_up |
std::vector< Channel > | chsend_dn |
std::vector< Channel > | chrecv_dn |
ChannelSet | chset_send |
ChannelSet | chset_recv |
Private Member Functions | |
void | init (const Parameters ¶ms) |
initial setup. More... | |
void | tidyup () |
final tidy-up. More... | |
void | setup_channels () |
setup channels for communication. More... | |
void | set_config_omp (Field *u) |
setting gauge configuration (setting omp parallel). More... | |
void | set_config_impl (Field *u) |
setting gauge configuration (implementation). More... | |
void | set_csw () |
set_csw now assumes Dirac repr. More... | |
void | set_csw_chrot () |
set_csw with rotation to chiral repr. More... | |
void | mult_csw (real_t *, real_t *) |
set_csw now assumes Dirac repr. More... | |
void | DdagD (AFIELD &, const AFIELD &) |
void | Ddag (AFIELD &, const AFIELD &) |
void | H (AFIELD &, const AFIELD &) |
void | D (AFIELD &, const AFIELD &) |
void | mult_gm4 (AFIELD &, const AFIELD &) |
void | mult_D (AFIELD &, const AFIELD &) |
standard D mult. More... | |
void | mult_D_alt (AFIELD &, const AFIELD &) |
D mult using mult_xp, etc. More... | |
void | mult_xp (real_t *, real_t *) |
void | mult_xm (real_t *, real_t *) |
void | mult_yp (real_t *, real_t *) |
void | mult_ym (real_t *, real_t *) |
void | mult_zp (real_t *, real_t *) |
void | mult_zm (real_t *, real_t *) |
void | mult_tp (real_t *, real_t *) |
void | mult_tm (real_t *, real_t *) |
void | mult_gm5 (real_t *, real_t *) |
void | clear (real_t *) |
void | aypx (real_t, real_t *, real_t *) |
void | gm5_aypx (real_t, real_t *, real_t *) |
Additional Inherited Members | |
Static Protected Attributes inherited from AFopr< AFIELD > | |
static const std::string | class_name |
Implementation of the clover fermion operator (lexical index) in the QXS branch. [24 Dec 2022 H.Matsufuru]
Definition at line 41 of file afopr_Clover.h.
|
protected |
Definition at line 78 of file afopr_Clover.h.
|
protected |
Definition at line 79 of file afopr_Clover.h.
typedef AFIELD::real_t AFopr_Clover< AFIELD >::real_t |
Definition at line 44 of file afopr_Clover.h.
|
inline |
constructor.
Definition at line 85 of file afopr_Clover.h.
|
inline |
destructor.
Definition at line 89 of file afopr_Clover.h.
|
private |
Definition at line 851 of file afopr_Clover-tmpl.h.
const std::string AFopr_Clover< AField< double, QXS > >::class_name |
Definition at line 44 of file afopr_Clover_double.cpp.
const std::string AFopr_Clover< AField< float, QXS > >::class_name |
Definition at line 44 of file afopr_Clover_float.cpp.
|
private |
Definition at line 869 of file afopr_Clover-tmpl.h.
|
virtual |
convert of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 480 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 607 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 627 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 616 of file afopr_Clover-tmpl.h.
|
inlinevirtual |
returns external size parameter.
Implements AFopr< AFIELD >.
Definition at line 132 of file afopr_Clover.h.
|
inlinevirtual |
returns inner size parameter.
Implements AFopr< AFIELD >.
Definition at line 126 of file afopr_Clover.h.
|
inlinevirtual |
returns local volume size parameter.
Implements AFopr< AFIELD >.
Definition at line 129 of file afopr_Clover.h.
|
inlinevirtual |
returns floating operation counts.
Reimplemented from AFopr< AFIELD >.
Definition at line 135 of file afopr_Clover.h.
|
virtual |
returns floating operation counts for given mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 1424 of file afopr_Clover-tmpl.h.
|
virtual |
returns mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 561 of file afopr_Clover-tmpl.h.
|
virtual |
get parameters via a Parameter object
Reimplemented from AFopr< AFIELD >.
Definition at line 241 of file afopr_Clover-tmpl.h.
|
private |
|
private |
Definition at line 842 of file afopr_Clover-tmpl.h.
|
private |
initial setup.
Definition at line 17 of file afopr_Clover-tmpl.h.
|
virtual |
multiplies fermion operator to a given field.
Reimplemented from AFopr< AFIELD >.
Definition at line 569 of file afopr_Clover-tmpl.h.
|
private |
set_csw now assumes Dirac repr.
Definition at line 703 of file afopr_Clover-tmpl.h.
|
private |
standard D mult.
Definition at line 748 of file afopr_Clover-tmpl.h.
|
private |
D mult using mult_xp, etc.
Definition at line 816 of file afopr_Clover-tmpl.h.
|
virtual |
hermitian conjugate of mult.
Reimplemented from AFopr< AFIELD >.
Definition at line 588 of file afopr_Clover-tmpl.h.
|
virtual |
downward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 525 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 670 of file afopr_Clover-tmpl.h.
|
virtual |
multiplies gamma_5 matrix.
Reimplemented from AFopr< AFIELD >.
Definition at line 637 of file afopr_Clover-tmpl.h.
|
private |
|
private |
Definition at line 1362 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 1298 of file afopr_Clover-tmpl.h.
|
virtual |
upward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 502 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 953 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 885 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 1093 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 1023 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 1232 of file afopr_Clover-tmpl.h.
|
private |
Definition at line 1167 of file afopr_Clover-tmpl.h.
|
inlinevirtual |
QXS version requires convert of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 104 of file afopr_Clover.h.
|
virtual |
reverse of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 491 of file afopr_Clover-tmpl.h.
|
virtual |
setting gauge configuration (common interface).
Implements AFopr< AFIELD >.
Definition at line 254 of file afopr_Clover-tmpl.h.
|
private |
setting gauge configuration (implementation).
Definition at line 286 of file afopr_Clover-tmpl.h.
|
private |
setting gauge configuration (setting omp parallel).
Definition at line 273 of file afopr_Clover-tmpl.h.
|
private |
set_csw now assumes Dirac repr.
Definition at line 312 of file afopr_Clover-tmpl.h.
|
private |
set_csw with rotation to chiral repr.
Definition at line 401 of file afopr_Clover-tmpl.h.
|
virtual |
setting mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 548 of file afopr_Clover-tmpl.h.
|
virtual |
setting parameters by a Parameter object.
Reimplemented from AFopr< AFIELD >.
Definition at line 181 of file afopr_Clover-tmpl.h.
void AFopr_Clover< AFIELD >::set_parameters | ( | real_t | CKs, |
real_t | csw, | ||
std::vector< int > | bc | ||
) |
setting parameters by values.
Definition at line 208 of file afopr_Clover-tmpl.h.
|
private |
setup channels for communication.
Definition at line 137 of file afopr_Clover-tmpl.h.
|
private |
final tidy-up.
Definition at line 171 of file afopr_Clover-tmpl.h.
|
protected |
Definition at line 80 of file afopr_Clover.h.
|
protected |
Definition at line 80 of file afopr_Clover.h.
|
protected |
Definition at line 80 of file afopr_Clover.h.
|
protected |
Definition at line 80 of file afopr_Clover.h.
|
protected |
Definition at line 81 of file afopr_Clover.h.
|
protected |
Definition at line 81 of file afopr_Clover.h.
|
static |
Definition at line 45 of file afopr_Clover.h.
|
protected |
Definition at line 74 of file afopr_Clover.h.
|
protected |
Definition at line 75 of file afopr_Clover.h.
|
protected |
Definition at line 77 of file afopr_Clover.h.
|
protected |
pointer to boundary condition
Definition at line 54 of file afopr_Clover.h.
|
protected |
hopping parameter
Definition at line 52 of file afopr_Clover.h.
|
protected |
original gauge config.
Definition at line 59 of file afopr_Clover.h.
|
protected |
colver coefficient
Definition at line 53 of file afopr_Clover.h.
|
protected |
clover term (corelib)
Definition at line 64 of file afopr_Clover.h.
|
protected |
mult mode
Definition at line 62 of file afopr_Clover.h.
|
protected |
Definition at line 48 of file afopr_Clover.h.
|
protected |
Definition at line 48 of file afopr_Clover.h.
|
protected |
Definition at line 48 of file afopr_Clover.h.
|
protected |
Definition at line 48 of file afopr_Clover.h.
|
protected |
Definition at line 72 of file afopr_Clover.h.
|
protected |
Definition at line 49 of file afopr_Clover.h.
|
protected |
Definition at line 50 of file afopr_Clover.h.
|
protected |
Definition at line 49 of file afopr_Clover.h.
|
protected |
Definition at line 48 of file afopr_Clover.h.
|
protected |
Definition at line 49 of file afopr_Clover.h.
|
protected |
Definition at line 50 of file afopr_Clover.h.
|
protected |
Definition at line 49 of file afopr_Clover.h.
|
protected |
Definition at line 50 of file afopr_Clover.h.
|
protected |
Definition at line 49 of file afopr_Clover.h.
|
protected |
gamma matrix representation
Definition at line 55 of file afopr_Clover.h.
|
protected |
clover term
Definition at line 68 of file afopr_Clover.h.
|
protected |
copied gauge config. with boundary conditions.
Definition at line 60 of file afopr_Clover.h.
|
protected |
Definition at line 66 of file afopr_Clover.h.
|
protected |
verbose level
Definition at line 57 of file afopr_Clover.h.
|
protected |
Definition at line 70 of file afopr_Clover.h.
|
protected |
Definition at line 70 of file afopr_Clover.h.