Bridge++
Ver. 2.0.2
|
#include <fopr_Wilson_impl.h>
Public Member Functions | |
Fopr_Wilson (const Parameters ¶ms) | |
standard constructor. More... | |
DEPRECATED | Fopr_Wilson () |
DEPRECATED | Fopr_Wilson (const std::string repr) |
~Fopr_Wilson () | |
void | set_parameters (const Parameters ¶ms) |
sets parameters by a Parameter object: to be implemented in a subclass. More... | |
void | set_parameters (const double kappa, const std::vector< int > bc) |
void | get_parameters (Parameters ¶ms) const |
gets parameters by a Parameter object: to be implemented in a subclass. More... | |
void | set_config (Field *U) |
sets the gauge configuration. More... | |
void | set_mode (const std::string mode) |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call. More... | |
std::string | get_mode () const |
void | mult (Field &v, const Field &w) |
multiplies fermion operator to a given field. More... | |
void | mult_dag (Field &v, const Field &w) |
hermitian conjugate of mult. More... | |
void | mult (Field &v, const Field &w, const std::string mod) |
executes mult with specified mode (unchanging internal mode). More... | |
void | mult_dag (Field &v, const Field &w, const std::string mode) |
executes mult_dag with specified mode (unchanging internal mode). More... | |
void | mult_gm5 (Field &v, const Field &w) |
multiplies gamma_5 matrix. More... | |
void | D (Field &v, const Field &w) |
void | Ddag (Field &v, const Field &w) |
void | DdagD (Field &v, const Field &w) |
void | DDdag (Field &v, const Field &w) |
void | H (Field &v, const Field &w) |
void | D_ex (Field &v, const int ex1, const Field &f, const int ex2) |
void | mult_gm5p (const int mu, Field &, const Field &) |
void | proj_chiral (Field &w, const int ex1, const Field &v, const int ex2, const int ipm) |
void | mult_up (const int mu, Field &, const Field &) |
upward nearest neighbor hopping term. More... | |
void | mult_dn (const int mu, Field &, const Field &) |
downward nearest neighbor hopping term. More... | |
int | field_nvol () |
returns the volume of the fermion field. More... | |
int | field_nin () |
returns the on-site degree of freedom of the fermion field. More... | |
int | field_nex () |
returns the external degree of freedom of the fermion field. More... | |
double | flop_count () |
returns the number of floating point operations. More... | |
Public Member Functions inherited from AFopr< Field > | |
AFopr () | |
virtual | ~AFopr () |
virtual std::string | get_mode () const |
returns the current mult mode. More... | |
virtual void | normalize_fprop (Field &) |
normalize propagator if necessary (default: do nothing) More... | |
virtual void | normalize_fopr (Field &) |
normalize propagator if necessary (default: do nothing) More... | |
virtual double | flop_count (const std::string mode) |
returns the flops per site for specified mode. More... | |
virtual bool | needs_convert () |
returns true if additional field conversion is needed. More... | |
virtual void | convert (Field &, const Field &) |
converts a Field object into other format if necessary. More... | |
virtual void | reverse (Field &, const Field &) |
converts an alternative field to a Field object. More... | |
Static Public Attributes | |
static const std::string | class_name = "Imp::Fopr_Wilson" |
Private Member Functions | |
Fopr_Wilson (const Fopr_Wilson &) | |
Fopr_Wilson & | operator= (const Fopr_Wilson &) |
void | init (const std::string repr) |
to be discarded. More... | |
void | init () |
to be discarded. More... | |
void | init (const Parameters ¶ms) |
standard initial setup. More... | |
void | setup () |
initial setup main. More... | |
void | tidyup () |
final clean-up. More... | |
void | mult_gm5_chiral (Field &, const Field &) |
void | mult_gm5_dirac (Field &, const Field &) |
void | D_ex_chiral (Field &, const int ex1, const Field &, const int ex2) |
void | D_ex_dirac (Field &, const int ex1, const Field &, const int ex2) |
void | D_ex_chiral_alt (Field &, const int ex1, const Field &, const int ex2) |
void | D_ex_dirac_alt (Field &, const int ex1, const Field &, const int ex2) |
void | mult_xp (Field &, const Field &) |
void | mult_xm (Field &, const Field &) |
void | mult_yp (Field &, const Field &) |
void | mult_ym (Field &, const Field &) |
void | mult_zp (Field &, const Field &) |
void | mult_zm (Field &, const Field &) |
void | mult_tp_dirac (Field &, const Field &) |
void | mult_tm_dirac (Field &, const Field &) |
void | mult_tp_chiral (Field &, const Field &) |
void | mult_tm_chiral (Field &, const Field &) |
void | daypx (Field &, const double, const Field &) |
void | clear (Field &) |
Private Attributes | |
double | m_kappa |
hopping parameter More... | |
std::vector< int > | m_boundary |
boundary condition More... | |
std::string | m_repr |
gamma-matrix representation More... | |
Bridge::VerboseLevel | m_vl |
verbose level More... | |
std::string | m_mode |
mult mode More... | |
int | m_Nc |
int | m_Nd |
int | m_Nvc |
int | m_Ndf |
int | m_Nx |
int | m_Ny |
int | m_Nz |
int | m_Nt |
int | m_Nvol |
int | m_Ndim |
const Field_G * | m_U |
gauge configuration. More... | |
std::vector< double > | m_boundary_each_node |
b.c. on each node. More... | |
double * | vcp1_xp |
arrays for communication buffer. More... | |
double * | vcp2_xp |
double * | vcp1_xm |
double * | vcp2_xm |
double * | vcp1_yp |
double * | vcp2_yp |
double * | vcp1_ym |
double * | vcp2_ym |
double * | vcp1_zp |
double * | vcp2_zp |
double * | vcp1_zm |
double * | vcp2_zm |
double * | vcp1_tp |
double * | vcp2_tp |
double * | vcp1_tm |
double * | vcp2_tm |
Field | m_w1 |
Field | m_w2 |
working fields More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from AFopr< Field > | |
static const std::string | class_name |
Definition at line 43 of file fopr_Wilson_impl.h.
|
inline |
standard constructor.
Definition at line 76 of file fopr_Wilson_impl.h.
|
inline |
Definition at line 79 of file fopr_Wilson_impl.h.
|
inline |
Definition at line 82 of file fopr_Wilson_impl.h.
|
inline |
Definition at line 84 of file fopr_Wilson_impl.h.
|
inlineprivate |
Definition at line 137 of file fopr_Wilson_impl.h.
|
private |
Definition at line 1384 of file fopr_Wilson_impl.cpp.
Definition at line 407 of file fopr_Wilson_impl.cpp.
Definition at line 420 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 893 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1334 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 469 of file fopr_Wilson_impl.cpp.
|
private |
Definition at line 1317 of file fopr_Wilson_impl.cpp.
Definition at line 1406 of file fopr_Wilson_impl.cpp.
Definition at line 432 of file fopr_Wilson_impl.cpp.
Definition at line 441 of file fopr_Wilson_impl.cpp.
Definition at line 451 of file fopr_Wilson_impl.cpp.
|
inlinevirtual |
returns the external degree of freedom of the fermion field.
Implements AFopr< Field >.
Definition at line 131 of file fopr_Wilson_impl.h.
|
inlinevirtual |
returns the on-site degree of freedom of the fermion field.
Implements AFopr< Field >.
Definition at line 130 of file fopr_Wilson_impl.h.
|
inlinevirtual |
returns the volume of the fermion field.
Implements AFopr< Field >.
Definition at line 129 of file fopr_Wilson_impl.h.
|
virtual |
returns the number of floating point operations.
Reimplemented from AFopr< Field >.
Definition at line 2351 of file fopr_Wilson_impl.cpp.
|
inline |
Definition at line 96 of file fopr_Wilson_impl.h.
|
virtual |
gets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 234 of file fopr_Wilson_impl.cpp.
Definition at line 461 of file fopr_Wilson_impl.cpp.
|
private |
to be discarded.
|
private |
standard initial setup.
Definition at line 38 of file fopr_Wilson_impl.cpp.
|
private |
to be discarded.
Definition at line 72 of file fopr_Wilson_impl.cpp.
multiplies fermion operator to a given field.
Reimplemented from AFopr< Field >.
Definition at line 264 of file fopr_Wilson_impl.cpp.
executes mult with specified mode (unchanging internal mode).
Reimplemented from AFopr< Field >.
Definition at line 306 of file fopr_Wilson_impl.cpp.
hermitian conjugate of mult.
Reimplemented from AFopr< Field >.
Definition at line 285 of file fopr_Wilson_impl.cpp.
executes mult_dag with specified mode (unchanging internal mode).
Reimplemented from AFopr< Field >.
Definition at line 328 of file fopr_Wilson_impl.cpp.
downward nearest neighbor hopping term.
Reimplemented from AFopr< Field >.
Definition at line 373 of file fopr_Wilson_impl.cpp.
multiplies gamma_5 matrix.
Reimplemented from AFopr< Field >.
Definition at line 396 of file fopr_Wilson_impl.cpp.
Definition at line 1452 of file fopr_Wilson_impl.cpp.
Definition at line 1431 of file fopr_Wilson_impl.cpp.
Definition at line 1351 of file fopr_Wilson_impl.cpp.
Definition at line 2262 of file fopr_Wilson_impl.cpp.
Definition at line 2088 of file fopr_Wilson_impl.cpp.
Definition at line 2179 of file fopr_Wilson_impl.cpp.
Definition at line 2005 of file fopr_Wilson_impl.cpp.
upward nearest neighbor hopping term.
Reimplemented from AFopr< Field >.
Definition at line 350 of file fopr_Wilson_impl.cpp.
Definition at line 1554 of file fopr_Wilson_impl.cpp.
Definition at line 1473 of file fopr_Wilson_impl.cpp.
Definition at line 1728 of file fopr_Wilson_impl.cpp.
Definition at line 1641 of file fopr_Wilson_impl.cpp.
Definition at line 1910 of file fopr_Wilson_impl.cpp.
Definition at line 1821 of file fopr_Wilson_impl.cpp.
|
private |
void Imp::Fopr_Wilson::proj_chiral | ( | Field & | w, |
const int | ex1, | ||
const Field & | v, | ||
const int | ex2, | ||
const int | ipm | ||
) |
Definition at line 1360 of file fopr_Wilson_impl.cpp.
|
virtual |
sets the gauge configuration.
Implements AFopr< Field >.
Definition at line 245 of file fopr_Wilson_impl.cpp.
|
virtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from AFopr< Field >.
Definition at line 254 of file fopr_Wilson_impl.cpp.
void Imp::Fopr_Wilson::set_parameters | ( | const double | kappa, |
const std::vector< int > | bc | ||
) |
Definition at line 203 of file fopr_Wilson_impl.cpp.
|
virtual |
sets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 174 of file fopr_Wilson_impl.cpp.
|
private |
initial setup main.
Definition at line 95 of file fopr_Wilson_impl.cpp.
|
private |
final clean-up.
Definition at line 149 of file fopr_Wilson_impl.cpp.
|
static |
Definition at line 46 of file fopr_Wilson_impl.h.
|
private |
boundary condition
Definition at line 51 of file fopr_Wilson_impl.h.
|
private |
b.c. on each node.
Definition at line 64 of file fopr_Wilson_impl.h.
|
private |
hopping parameter
Definition at line 50 of file fopr_Wilson_impl.h.
|
private |
mult mode
Definition at line 55 of file fopr_Wilson_impl.h.
|
private |
Definition at line 58 of file fopr_Wilson_impl.h.
|
private |
Definition at line 58 of file fopr_Wilson_impl.h.
|
private |
Definition at line 58 of file fopr_Wilson_impl.h.
|
private |
Definition at line 60 of file fopr_Wilson_impl.h.
|
private |
Definition at line 59 of file fopr_Wilson_impl.h.
|
private |
Definition at line 58 of file fopr_Wilson_impl.h.
|
private |
Definition at line 60 of file fopr_Wilson_impl.h.
|
private |
Definition at line 59 of file fopr_Wilson_impl.h.
|
private |
Definition at line 59 of file fopr_Wilson_impl.h.
|
private |
Definition at line 59 of file fopr_Wilson_impl.h.
|
private |
gamma-matrix representation
Definition at line 52 of file fopr_Wilson_impl.h.
|
private |
gauge configuration.
Definition at line 62 of file fopr_Wilson_impl.h.
|
private |
verbose level
Definition at line 53 of file fopr_Wilson_impl.h.
|
private |
Definition at line 72 of file fopr_Wilson_impl.h.
|
private |
working fields
Definition at line 72 of file fopr_Wilson_impl.h.
|
private |
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
Definition at line 67 of file fopr_Wilson_impl.h.
|
private |
arrays for communication buffer.
Definition at line 67 of file fopr_Wilson_impl.h.
|
private |
Definition at line 68 of file fopr_Wilson_impl.h.
|
private |
Definition at line 68 of file fopr_Wilson_impl.h.
|
private |
Definition at line 69 of file fopr_Wilson_impl.h.
|
private |
Definition at line 69 of file fopr_Wilson_impl.h.
|
private |
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
Definition at line 70 of file fopr_Wilson_impl.h.
|
private |
Definition at line 67 of file fopr_Wilson_impl.h.
|
private |
Definition at line 67 of file fopr_Wilson_impl.h.
|
private |
Definition at line 68 of file fopr_Wilson_impl.h.
|
private |
Definition at line 68 of file fopr_Wilson_impl.h.
|
private |
Definition at line 69 of file fopr_Wilson_impl.h.
|
private |
Definition at line 69 of file fopr_Wilson_impl.h.