|
Bridge++
Ver.2.1.3
|
Wilson fermion operator for Accel branch. More...
#include <afopr_Wilson.h>
Public Types | |
| typedef AFIELD::real_t | real_t |
| typedef AFIELD::real_t | real_t |
Public Member Functions | |
| AFopr_Wilson (const Parameters ¶ms) | |
| constructor. More... | |
| ~AFopr_Wilson () | |
| destructor. More... | |
| void | set_parameters (const Parameters ¶ms) |
| setting parameters by a Parameter object. More... | |
| void | set_parameters (real_t CKs, std::vector< int > bc) |
| setting parameters by values. More... | |
| void | get_parameters (Parameters ¶ms) const |
| getting parameters as a Parameters object. More... | |
| void | set_config (Field *u) |
| setting gauge configuration. More... | |
| void | set_boundary_config (AFIELD &U, const int mu) |
| setting fermion boundary condition to gauge 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 (AFIELD &, const AFIELD &, const std::string mode) |
| executes mult with specified mode (unchanging internal mode). More... | |
| void | mult_dag (AFIELD &, const AFIELD &, const std::string mode) |
| executes mult_dag with specified mode (unchanging internal mode). More... | |
| void | mult_gm5 (AFIELD &, const AFIELD &) |
| multiplies gamma_5 matrix. More... | |
| virtual void | mult_up (int mu, AFIELD &, const AFIELD &) |
| upward nearest neighbor hopping term. More... | |
| virtual 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. More... | |
| AFopr_Wilson (const Parameters ¶ms) | |
| constructor. More... | |
| ~AFopr_Wilson () | |
| destructor. More... | |
| void | set_parameters (const Parameters ¶ms) |
| setting parameters by a Parameter object. More... | |
| void | set_parameters (real_t CKs, 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 | 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_Wilson<AFIELD>" |
Protected Types | |
| enum | Gamma_repr { DIRAC, CHIRAL } |
| using | Channel = Channel_impl< std::allocator< real_t > > |
| using | allocator_t = typename AFIELD::template aligned_allocator< char > |
| using | Channel = Channel_impl< allocator_t > |
Protected Attributes | |
| enum AFopr_Wilson::Gamma_repr | m_repr |
| gamma matrix representation More... | |
| int | m_Nc |
| int | m_Nd |
| int | m_Nst |
| int | m_Ndim |
| real_t | m_CKs |
| hopping parameter. More... | |
| std::vector< int > | m_boundary |
| pointer to boundary condition 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... | |
| AFIELD | m_v2 |
| working vector More... | |
| int | do_comm [4] |
| int | do_comm_any |
| std::vector< int > | m_Nbdsize |
| 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 |
| int | m_Nsize [4] |
| lattice size for kernel More... | |
| int | m_bc [4] |
| boundary condition for boundary part More... | |
| int | m_bc2 [4] |
| boundary condition for bulk part More... | |
| int | m_Nvc |
| int | m_Ndf |
| int | m_Nx |
| int | m_Ny |
| int | m_Nz |
| int | m_Nt |
| int | m_Nxv |
| int | m_Nyv |
| int | m_Nstv |
| std::string | m_repr |
| gamma matrix representation More... | |
| std::vector< int > | m_bdsize |
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) |
| void | set_config_impl (Field *u) |
| void | mult_DdagD (AFIELD &, const AFIELD &) |
| void | mult_Ddag (AFIELD &, const AFIELD &) |
| void | mult_H (AFIELD &, const AFIELD &) |
| void | mult_D (AFIELD &, const AFIELD &) |
| void | mult_DorH (AFIELD &, const AFIELD &, const int flag) |
| void | mult_H_alt (AFIELD &, const AFIELD &) |
| void | mult_D_alt (AFIELD &, const AFIELD &) |
| 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 | 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 | 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 | 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 |
Wilson fermion operator for Accel branch.
This class implements the standard Wilson fermion operator for the Accel branch. [14 Feb 2025 H.Matsufuru]
Implementation of the Wilson fermion operator (lexical index) in the QXS branch. [24 Dec 2022 H.Matsufuru]
Definition at line 33 of file afopr_Wilson.h.
|
protected |
Definition at line 70 of file afopr_Wilson.h.
|
protected |
Definition at line 59 of file afopr_Wilson.h.
|
protected |
Definition at line 71 of file afopr_Wilson.h.
| typedef AFIELD::real_t AFopr_Wilson< AFIELD >::real_t |
Definition at line 36 of file afopr_Wilson.h.
| typedef AFIELD::real_t AFopr_Wilson< AFIELD >::real_t |
Definition at line 43 of file afopr_Wilson.h.
|
protected |
| Enumerator | |
|---|---|
| DIRAC | |
| CHIRAL | |
Definition at line 40 of file afopr_Wilson.h.
|
inline |
constructor.
Definition at line 70 of file afopr_Wilson.h.
|
inline |
destructor.
Definition at line 74 of file afopr_Wilson.h.
|
inline |
constructor.
Definition at line 77 of file afopr_Wilson.h.
|
inline |
destructor.
Definition at line 81 of file afopr_Wilson.h.
|
private |
Definition at line 582 of file afopr_Wilson-tmpl.h.
| const std::string AFopr_Wilson< AField< double, QXS > >::class_name |
Definition at line 41 of file afopr_Wilson_double.cpp.
| const std::string AFopr_Wilson< AField< float, QXS > >::class_name |
Definition at line 41 of file afopr_Wilson_float.cpp.
|
private |
Definition at line 600 of file afopr_Wilson-tmpl.h.
|
virtual |
convert of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 281 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 408 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 427 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 416 of file afopr_Wilson-tmpl.h.
|
inlinevirtual |
returns external size parameter.
Implements AFopr< AFIELD >.
Definition at line 121 of file afopr_Wilson.h.
|
inlinevirtual |
returns external size parameter.
Implements AFopr< AFIELD >.
Definition at line 124 of file afopr_Wilson.h.
|
inlinevirtual |
returns inner size parameter.
Implements AFopr< AFIELD >.
Definition at line 115 of file afopr_Wilson.h.
|
inlinevirtual |
returns inner size parameter.
Implements AFopr< AFIELD >.
Definition at line 118 of file afopr_Wilson.h.
|
inlinevirtual |
returns local volume size parameter.
Implements AFopr< AFIELD >.
Definition at line 118 of file afopr_Wilson.h.
|
inlinevirtual |
returns local volume size parameter.
Implements AFopr< AFIELD >.
Definition at line 121 of file afopr_Wilson.h.
|
virtual |
returns floating operation counts.
Reimplemented from AFopr< AFIELD >.
Definition at line 1076 of file afopr_Wilson-tmpl.h.
|
inlinevirtual |
returns floating operation counts.
Reimplemented from AFopr< AFIELD >.
Definition at line 127 of file afopr_Wilson.h.
|
virtual |
returns floating operation counts.
Reimplemented from AFopr< AFIELD >.
Definition at line 1083 of file afopr_Wilson-tmpl.h.
|
virtual |
returns floating operation counts for given mode.
Reimplemented from AFopr< AFIELD >.
|
inline |
returns the pointer to gauge configuration.
Definition at line 92 of file afopr_Wilson.h.
|
inlinevirtual |
returns mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 98 of file afopr_Wilson.h.
|
virtual |
returns mult mode.
Reimplemented from AFopr< AFIELD >.
|
virtual |
getting parameters as a Parameters object.
Reimplemented from AFopr< AFIELD >.
Definition at line 321 of file afopr_Wilson-tmpl.h.
|
virtual |
get parameters via a Parameter object
Reimplemented from AFopr< AFIELD >.
|
private |
|
private |
Definition at line 573 of file afopr_Wilson-tmpl.h.
|
private |
initial setup.
Definition at line 30 of file afopr_Wilson-tmpl.h.
|
private |
initial setup.
|
virtual |
multiplies fermion operator to a given field.
Reimplemented from AFopr< AFIELD >.
Definition at line 349 of file afopr_Wilson-tmpl.h.
|
virtual |
multiplies fermion operator to a given field.
Reimplemented from AFopr< AFIELD >.
|
virtual |
executes mult with specified mode (unchanging internal mode).
Reimplemented from AFopr< AFIELD >.
Definition at line 390 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 454 of file afopr_Wilson-tmpl.h.
|
private |
standard D mult.
|
private |
Definition at line 585 of file afopr_Wilson-tmpl.h.
|
private |
D mult using mult_xp, etc.
|
virtual |
hermitian conjugate of mult.
Reimplemented from AFopr< AFIELD >.
Definition at line 370 of file afopr_Wilson-tmpl.h.
|
virtual |
hermitian conjugate of mult.
Reimplemented from AFopr< AFIELD >.
|
virtual |
executes mult_dag with specified mode (unchanging internal mode).
Reimplemented from AFopr< AFIELD >.
Definition at line 411 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 469 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 461 of file afopr_Wilson-tmpl.h.
|
virtual |
downward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 631 of file afopr_Wilson-tmpl.h.
|
virtual |
downward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
|
private |
Definition at line 492 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 454 of file afopr_Wilson-tmpl.h.
|
virtual |
multiplies gamma_5 matrix.
Reimplemented from AFopr< AFIELD >.
Definition at line 432 of file afopr_Wilson-tmpl.h.
|
virtual |
multiplies gamma_5 matrix.
Reimplemented from AFopr< AFIELD >.
|
private |
Definition at line 477 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 484 of file afopr_Wilson-tmpl.h.
|
private |
Definition at line 1014 of file afopr_Wilson-tmpl.h.
|
private |
|
private |
Definition at line 952 of file afopr_Wilson-tmpl.h.
|
private |
|
virtual |
upward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
Definition at line 608 of file afopr_Wilson-tmpl.h.
|
virtual |
upward nearest neighbor hopping term.
Reimplemented from AFopr< AFIELD >.
|
private |
Definition at line 704 of file afopr_Wilson-tmpl.h.
|
private |
|
private |
Definition at line 654 of file afopr_Wilson-tmpl.h.
|
private |
|
private |
Definition at line 803 of file afopr_Wilson-tmpl.h.
|
private |
|
private |
Definition at line 754 of file afopr_Wilson-tmpl.h.
|
private |
|
private |
Definition at line 903 of file afopr_Wilson-tmpl.h.
|
private |
|
private |
Definition at line 853 of file afopr_Wilson-tmpl.h.
|
private |
|
inlinevirtual |
QXS version requires convert of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 96 of file afopr_Wilson.h.
|
virtual |
reverse of spinor field.
Reimplemented from AFopr< AFIELD >.
Definition at line 292 of file afopr_Wilson-tmpl.h.
| void AFopr_Wilson< AFIELD >::set_boundary_config | ( | AFIELD & | U, |
| const int | mu | ||
| ) |
setting fermion boundary condition to gauge field.
|
virtual |
setting gauge configuration.
Implements AFopr< AFIELD >.
Definition at line 274 of file afopr_Wilson-tmpl.h.
|
virtual |
setting gauge configuration (common interface).
Implements AFopr< AFIELD >.
|
private |
Definition at line 305 of file afopr_Wilson-tmpl.h.
|
private |
setting gauge configuration (implementation).
|
private |
Definition at line 292 of file afopr_Wilson-tmpl.h.
|
private |
setting gauge configuration (setting omp parallel).
|
virtual |
setting mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 337 of file afopr_Wilson-tmpl.h.
|
virtual |
setting mult mode.
Reimplemented from AFopr< AFIELD >.
|
virtual |
setting parameters by a Parameter object.
Reimplemented from AFopr< AFIELD >.
Definition at line 184 of file afopr_Wilson-tmpl.h.
|
virtual |
setting parameters by a Parameter object.
Reimplemented from AFopr< AFIELD >.
| void AFopr_Wilson< AFIELD >::set_parameters | ( | real_t | CKs, |
| std::vector< int > | bc | ||
| ) |
setting parameters by values.
Definition at line 228 of file afopr_Wilson-tmpl.h.
| void AFopr_Wilson< AFIELD >::set_parameters | ( | real_t | CKs, |
| std::vector< int > | bc | ||
| ) |
setting parameters by values.
|
private |
setup channels for communication.
Definition at line 102 of file afopr_Wilson-tmpl.h.
|
private |
setup channels for communication.
|
private |
final tidy-up.
Definition at line 155 of file afopr_Wilson-tmpl.h.
|
private |
final tidy-up.
|
protected |
Definition at line 60 of file afopr_Wilson.h.
|
protected |
Definition at line 60 of file afopr_Wilson.h.
|
protected |
Definition at line 60 of file afopr_Wilson.h.
|
protected |
Definition at line 60 of file afopr_Wilson.h.
|
protected |
Definition at line 61 of file afopr_Wilson.h.
|
protected |
Definition at line 61 of file afopr_Wilson.h.
|
static |
Definition at line 37 of file afopr_Wilson.h.
|
protected |
Definition at line 55 of file afopr_Wilson.h.
|
protected |
Definition at line 56 of file afopr_Wilson.h.
|
protected |
boundary condition for boundary part
Definition at line 64 of file afopr_Wilson.h.
|
protected |
boundary condition for bulk part
Definition at line 65 of file afopr_Wilson.h.
|
protected |
Definition at line 69 of file afopr_Wilson.h.
|
protected |
pointer to boundary condition
Definition at line 45 of file afopr_Wilson.h.
|
protected |
hopping parameter.
Definition at line 44 of file afopr_Wilson.h.
|
protected |
original gauge config.
Definition at line 48 of file afopr_Wilson.h.
|
protected |
mult mode
Definition at line 51 of file afopr_Wilson.h.
|
protected |
Definition at line 58 of file afopr_Wilson.h.
|
protected |
Definition at line 42 of file afopr_Wilson.h.
|
protected |
Definition at line 42 of file afopr_Wilson.h.
|
protected |
Definition at line 47 of file afopr_Wilson.h.
|
protected |
Definition at line 42 of file afopr_Wilson.h.
|
protected |
lattice size for kernel
Definition at line 63 of file afopr_Wilson.h.
|
protected |
Definition at line 42 of file afopr_Wilson.h.
|
protected |
Definition at line 49 of file afopr_Wilson.h.
|
protected |
Definition at line 48 of file afopr_Wilson.h.
|
protected |
Definition at line 47 of file afopr_Wilson.h.
|
protected |
Definition at line 48 of file afopr_Wilson.h.
|
protected |
Definition at line 49 of file afopr_Wilson.h.
|
protected |
Definition at line 48 of file afopr_Wilson.h.
|
protected |
Definition at line 49 of file afopr_Wilson.h.
|
protected |
Definition at line 48 of file afopr_Wilson.h.
|
protected |
gamma matrix representation
|
protected |
gamma matrix representation
Definition at line 53 of file afopr_Wilson.h.
|
protected |
copied gauge config. with boundary conditions.
Definition at line 49 of file afopr_Wilson.h.
|
protected |
working vector
Definition at line 53 of file afopr_Wilson.h.
|
protected |
verbose level
Definition at line 46 of file afopr_Wilson.h.