Bridge++
Ver. 2.0.2
|
#include <afopr_Clover_dd.h>
Public Types | |
typedef AFIELD::real_t | real_t |
Public Member Functions | |
AFopr_Clover_dd (const Parameters ¶ms) | |
constructor. More... | |
~AFopr_Clover_dd () | |
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, std::vector< int > block_size) |
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... | |
Field * | get_conf (void) |
returns the pointer to gauge configuration. 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 | project_chiral (AFIELD &, const AFIELD &, int ch) |
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... | |
void | mult_sap (AFIELD &, const AFIELD &, const int ieo) |
SAP operator. More... | |
void | mult_dd (AFIELD &, const AFIELD &) |
Mult only inside domain. More... | |
void | mult_dup (AFIELD &, const AFIELD &, const int mu) |
Upward hopping part of mult. More... | |
void | mult_ddn (AFIELD &, const AFIELD &, const int mu) |
Downward hopping part of mult. More... | |
void | mult_block_hop (AFIELD &v, const AFIELD &w, const int mu) |
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_sap () |
returns floating operation counts of mult_sap. 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_dd< AFIELD > | |
virtual | ~AFopr_dd () |
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_dd" |
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... | |
std::vector< int > | m_block_size |
block size More... | |
int | m_Ieo |
even-odd label of origin in units of block More... | |
Field * | m_conf |
original gauge config. More... | |
AFIELD | m_U |
copied gauge config. with boundary conditions. More... | |
AFIELD | m_Ublock |
copied gauge config. with block condition. 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] |
lattice sizes (Nxv in x-direction) More... | |
int | m_block_sizev [4] |
block size in units of SIMD vector More... | |
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_block_config (AFIELD &) |
inpose the block condition to link variable. 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 *, int) |
void | mult_xm (real_t *, real_t *, int) |
void | mult_yp (real_t *, real_t *, int) |
void | mult_ym (real_t *, real_t *, int) |
void | mult_zp (real_t *, real_t *, int) |
void | mult_zm (real_t *, real_t *, int) |
void | mult_tp (real_t *, real_t *, int) |
void | mult_tm (real_t *, real_t *, int) |
void | mult_gm5 (real_t *, real_t *) |
void | clear (real_t *) |
void | scal_local (real_t *, 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 domain-decomposed clover fermion operator (lexical index) in the QXS branch. [25 Dec 2022 H.Matsufuru]
Definition at line 45 of file afopr_Clover_dd.h.
|
protected |
Definition at line 88 of file afopr_Clover_dd.h.
|
protected |
Definition at line 89 of file afopr_Clover_dd.h.
typedef AFIELD::real_t AFopr_Clover_dd< AFIELD >::real_t |
Definition at line 48 of file afopr_Clover_dd.h.
|
inline |
constructor.
Definition at line 95 of file afopr_Clover_dd.h.
|
inline |
destructor.
Definition at line 99 of file afopr_Clover_dd.h.
|
private |
Definition at line 1184 of file afopr_Clover_dd-tmpl.h.
const std::string AFopr_Clover_dd< AField< double, QXS > >::class_name |
Definition at line 44 of file afopr_Clover_dd_double.cpp.
const std::string AFopr_Clover_dd< AField< float, QXS > >::class_name |
Definition at line 46 of file afopr_Clover_dd_float.cpp.
|
private |
Definition at line 1202 of file afopr_Clover_dd-tmpl.h.
|
virtual |
convert of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 592 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 723 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 743 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 732 of file afopr_Clover_dd-tmpl.h.
|
inlinevirtual |
returns external size parameter.
Implements AFopr< AFIELD >.
Definition at line 159 of file afopr_Clover_dd.h.
|
inlinevirtual |
returns inner size parameter.
Implements AFopr< AFIELD >.
Definition at line 153 of file afopr_Clover_dd.h.
|
inlinevirtual |
returns local volume size parameter.
Implements AFopr< AFIELD >.
Definition at line 156 of file afopr_Clover_dd.h.
|
inlinevirtual |
returns floating operation counts.
Reimplemented from AFopr< AFIELD >.
Definition at line 162 of file afopr_Clover_dd.h.
|
virtual |
returns floating operation counts for given mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 1765 of file afopr_Clover_dd-tmpl.h.
|
virtual |
returns floating operation counts of mult_sap.
Implements AFopr_dd< AFIELD >.
Definition at line 1808 of file afopr_Clover_dd-tmpl.h.
|
inline |
returns the pointer to gauge configuration.
Definition at line 125 of file afopr_Clover_dd.h.
|
virtual |
returns mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 673 of file afopr_Clover_dd-tmpl.h.
|
virtual |
get parameters via a Parameter object
Reimplemented from AFopr< AFIELD >.
Definition at line 291 of file afopr_Clover_dd-tmpl.h.
|
private |
|
private |
Definition at line 1175 of file afopr_Clover_dd-tmpl.h.
|
private |
initial setup.
Definition at line 17 of file afopr_Clover_dd-tmpl.h.
|
virtual |
multiplies fermion operator to a given field.
Reimplemented from AFopr< AFIELD >.
Definition at line 681 of file afopr_Clover_dd-tmpl.h.
|
inline |
Definition at line 149 of file afopr_Clover_dd.h.
|
private |
set_csw now assumes Dirac repr.
Definition at line 862 of file afopr_Clover_dd-tmpl.h.
|
private |
standard D mult.
Definition at line 906 of file afopr_Clover_dd-tmpl.h.
|
private |
D mult using mult_xp, etc.
Definition at line 1038 of file afopr_Clover_dd-tmpl.h.
|
virtual |
hermitian conjugate of mult.
Reimplemented from AFopr< AFIELD >.
Definition at line 703 of file afopr_Clover_dd-tmpl.h.
|
virtual |
Mult only inside domain.
Implements AFopr_dd< AFIELD >.
Definition at line 1008 of file afopr_Clover_dd-tmpl.h.
|
virtual |
Downward hopping part of mult.
Implements AFopr_dd< AFIELD >.
Definition at line 1100 of file afopr_Clover_dd-tmpl.h.
|
virtual |
downward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 637 of file afopr_Clover_dd-tmpl.h.
|
virtual |
Upward hopping part of mult.
Implements AFopr_dd< AFIELD >.
Definition at line 1064 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 829 of file afopr_Clover_dd-tmpl.h.
|
virtual |
multiplies gamma_5 matrix.
Reimplemented from AFopr< AFIELD >.
Definition at line 770 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 783 of file afopr_Clover_dd-tmpl.h.
|
virtual |
|
private |
Definition at line 1702 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 1637 of file afopr_Clover_dd-tmpl.h.
|
virtual |
upward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 614 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 1287 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 1218 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 1429 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 1358 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 1570 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 1504 of file afopr_Clover_dd-tmpl.h.
|
inlinevirtual |
QXS version requires convert of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 116 of file afopr_Clover_dd.h.
void AFopr_Clover_dd< AFIELD >::project_chiral | ( | AFIELD & | v, |
const AFIELD & | w, | ||
int | ch | ||
) |
Definition at line 753 of file afopr_Clover_dd-tmpl.h.
|
virtual |
reverse of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 603 of file afopr_Clover_dd-tmpl.h.
|
private |
Definition at line 813 of file afopr_Clover_dd-tmpl.h.
|
private |
inpose the block condition to link variable.
Definition at line 370 of file afopr_Clover_dd-tmpl.h.
|
virtual |
setting gauge configuration (common interface).
Implements AFopr< AFIELD >.
Definition at line 305 of file afopr_Clover_dd-tmpl.h.
|
private |
setting gauge configuration (implementation).
Definition at line 337 of file afopr_Clover_dd-tmpl.h.
|
private |
setting gauge configuration (setting omp parallel).
Definition at line 324 of file afopr_Clover_dd-tmpl.h.
|
private |
set_csw now assumes Dirac repr.
Definition at line 424 of file afopr_Clover_dd-tmpl.h.
|
private |
set_csw with rotation to chiral repr.
Definition at line 513 of file afopr_Clover_dd-tmpl.h.
|
virtual |
setting mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 660 of file afopr_Clover_dd-tmpl.h.
|
virtual |
setting parameters by a Parameter object.
Reimplemented from AFopr< AFIELD >.
Definition at line 178 of file afopr_Clover_dd-tmpl.h.
void AFopr_Clover_dd< AFIELD >::set_parameters | ( | real_t | CKs, |
real_t | csw, | ||
std::vector< int > | bc, | ||
std::vector< int > | block_size | ||
) |
setting parameters by values.
Definition at line 211 of file afopr_Clover_dd-tmpl.h.
|
private |
setup channels for communication.
Definition at line 134 of file afopr_Clover_dd-tmpl.h.
|
private |
final tidy-up.
Definition at line 168 of file afopr_Clover_dd-tmpl.h.
|
protected |
Definition at line 90 of file afopr_Clover_dd.h.
|
protected |
Definition at line 90 of file afopr_Clover_dd.h.
|
protected |
Definition at line 90 of file afopr_Clover_dd.h.
|
protected |
Definition at line 90 of file afopr_Clover_dd.h.
|
protected |
Definition at line 91 of file afopr_Clover_dd.h.
|
protected |
Definition at line 91 of file afopr_Clover_dd.h.
|
static |
Definition at line 49 of file afopr_Clover_dd.h.
|
protected |
Definition at line 84 of file afopr_Clover_dd.h.
|
protected |
Definition at line 85 of file afopr_Clover_dd.h.
|
protected |
Definition at line 87 of file afopr_Clover_dd.h.
|
protected |
block size
Definition at line 63 of file afopr_Clover_dd.h.
|
protected |
block size in units of SIMD vector
Definition at line 82 of file afopr_Clover_dd.h.
|
protected |
pointer to boundary condition
Definition at line 58 of file afopr_Clover_dd.h.
|
protected |
hopping parameter.
Definition at line 56 of file afopr_Clover_dd.h.
|
protected |
original gauge config.
Definition at line 67 of file afopr_Clover_dd.h.
|
protected |
colver coefficient
Definition at line 57 of file afopr_Clover_dd.h.
|
protected |
clover term (corelib)
Definition at line 73 of file afopr_Clover_dd.h.
|
protected |
even-odd label of origin in units of block
Definition at line 65 of file afopr_Clover_dd.h.
|
protected |
mult mode
Definition at line 71 of file afopr_Clover_dd.h.
|
protected |
Definition at line 52 of file afopr_Clover_dd.h.
|
protected |
Definition at line 52 of file afopr_Clover_dd.h.
|
protected |
Definition at line 52 of file afopr_Clover_dd.h.
|
protected |
Definition at line 52 of file afopr_Clover_dd.h.
|
protected |
lattice sizes (Nxv in x-direction)
Definition at line 81 of file afopr_Clover_dd.h.
|
protected |
Definition at line 53 of file afopr_Clover_dd.h.
|
protected |
Definition at line 54 of file afopr_Clover_dd.h.
|
protected |
Definition at line 53 of file afopr_Clover_dd.h.
|
protected |
Definition at line 52 of file afopr_Clover_dd.h.
|
protected |
Definition at line 53 of file afopr_Clover_dd.h.
|
protected |
Definition at line 54 of file afopr_Clover_dd.h.
|
protected |
Definition at line 53 of file afopr_Clover_dd.h.
|
protected |
Definition at line 54 of file afopr_Clover_dd.h.
|
protected |
Definition at line 53 of file afopr_Clover_dd.h.
|
protected |
gamma matrix representation
Definition at line 59 of file afopr_Clover_dd.h.
|
protected |
clover term
Definition at line 77 of file afopr_Clover_dd.h.
|
protected |
copied gauge config. with boundary conditions.
Definition at line 68 of file afopr_Clover_dd.h.
|
protected |
copied gauge config. with block condition.
Definition at line 69 of file afopr_Clover_dd.h.
|
protected |
Definition at line 75 of file afopr_Clover_dd.h.
|
protected |
verbose level
Definition at line 61 of file afopr_Clover_dd.h.
|
protected |
Definition at line 79 of file afopr_Clover_dd.h.
|
protected |
Definition at line 79 of file afopr_Clover_dd.h.