|
Bridge++
Ver. 2.0.4
|
Even-odd staggered fermion operator. More...
#include <fopr_Staggered_eo.h>
Public Member Functions | |
| DEPRECATED | Fopr_Staggered_eo () |
| Fopr_Staggered_eo (const Parameters ¶ms) | |
| constructor with a Paramters object. More... | |
| ~Fopr_Staggered_eo () | |
| deconstructor. More... | |
| void | set_parameters (const Parameters ¶ms) |
| sets parameters by a Parameter object: to be implemented in a subclass. More... | |
| void | set_parameters (const double mq, 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) |
| setting pointer to the gauge configuration. More... | |
| void | set_config_impl (Field *U) |
| void | set_config_omp (Field *U) |
| 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 &w, const Field &f) |
| multiplies fermion operator to a given field (2nd argument) More... | |
| void | mult_dag (Field &w, const Field &f) |
| hermitian conjugate of mult(Field&, const Field&). More... | |
| void | mult (Field &w, const Field &f, const std::string mode) |
| executes mult with specified mode (unchanging internal mode). More... | |
| void | mult_dag (Field &w, const Field &f, const std::string mode) |
| executes mult_dag with specified mode (unchanging internal mode). More... | |
| void | preProp (Field &, Field &, const Field &) |
| for even-odd solver: called before linear solver. More... | |
| void | postProp (Field &, const Field &, const Field &) |
| for even-odd solver: called after linear solver. More... | |
| void | MeoMoe (Field &v, const Field &f) |
| D = m^2 - Deo * Doe. More... | |
| void | Meo (Field &, const Field &, const int ieo, const int jd) |
| hopping term: ieo = 0: even <– odd, 1: odd <– even More... | |
| void | mult_staggered_phase (Field &, const int mu, const int ieo) |
| multiplied staggered phase with a given vector. More... | |
| int | field_nin () |
| returns the on-site d.o.f. for which the fermion operator is defined. More... | |
| int | field_nvol () |
| returns the volume for which the fermion operator is defined. More... | |
| int | field_nex () |
| returns the external d.o.f. for which the fermion operator is defined. More... | |
| double | flop_count () |
| returns the number of floating point operations. More... | |
| double | flop_count (const std::string mode) |
| returns the flop count for specified mode. More... | |
Public Member Functions inherited from AFopr_eo< Field > | |
| virtual | ~AFopr_eo () |
| std::string | get_mode () const |
| returns the current mult mode. More... | |
Public Member Functions inherited from AFopr< Field > | |
| AFopr () | |
| virtual | ~AFopr () |
| virtual void | mult_gm5 (Field &, const Field &) |
| multiplies gamma_5 matrix. More... | |
| virtual void | mult_up (int mu, Field &, const Field &) |
| upward nearest neighbor hopping term. More... | |
| virtual void | mult_dn (int mu, Field &, const Field &) |
| downward nearest neighbor hopping term. 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 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 = "Fopr_Staggered_eo" |
Private Member Functions | |
| void | init () |
| initial setup. More... | |
| void | init (const Parameters ¶ms) |
| initial setup. More... | |
| void | setup () |
| void | tidyup () |
| final clean-up. More... | |
| void | set_staggered_phase () |
| void | mult_up (Field &, const Field &, const int mu, const int ieo) |
| void | mult_dn (Field &, const Field &, const int mu, const int ieo) |
Private Attributes | |
| double | m_mq |
| fermion mass More... | |
| std::vector< int > | m_boundary |
| boundary conditions More... | |
| Bridge::VerboseLevel | m_vl |
| verbose level More... | |
| std::string | m_mode |
| mult mode More... | |
| int | m_Nc |
| int | m_Nvc |
| int | m_Nvol |
| int | m_Nvol2 |
| int | m_Ndim |
| Field_G | m_Ueo |
| even-odd gauge configuration More... | |
| Field | m_staggered_phase |
| staggered phase More... | |
| Index_eo | m_index_eo |
| ShiftField_eo * | m_shift_eo |
| Field | m_t1 |
| Field | m_t2 |
| working vectors More... | |
| Field | m_v1 |
| Field | m_v2 |
| working vectors More... | |
Additional Inherited Members | |
Static Protected Attributes inherited from AFopr_eo< Field > | |
| static const std::string | class_name |
Static Protected Attributes inherited from AFopr< Field > | |
| static const std::string | class_name |
Even-odd staggered fermion operator.
Standard staggered fermion operator with even-odd site index. For ver.2.0. [21 Nov 2021 H.Matsufuru]
Definition at line 34 of file fopr_Staggered_eo.h.
|
inline |
Definition at line 64 of file fopr_Staggered_eo.h.
|
inline |
constructor with a Paramters object.
Definition at line 67 of file fopr_Staggered_eo.h.
|
inline |
deconstructor.
Definition at line 70 of file fopr_Staggered_eo.h.
|
inlinevirtual |
returns the external d.o.f. for which the fermion operator is defined.
Implements AFopr_eo< Field >.
Definition at line 115 of file fopr_Staggered_eo.h.
|
inlinevirtual |
returns the on-site d.o.f. for which the fermion operator is defined.
Implements AFopr_eo< Field >.
Definition at line 111 of file fopr_Staggered_eo.h.
|
inlinevirtual |
returns the volume for which the fermion operator is defined.
Implements AFopr_eo< Field >.
Definition at line 113 of file fopr_Staggered_eo.h.
|
inlinevirtual |
returns the number of floating point operations.
Reimplemented from AFopr< Field >.
Definition at line 118 of file fopr_Staggered_eo.h.
|
virtual |
returns the flop count for specified mode.
Reimplemented from AFopr< Field >.
Definition at line 570 of file fopr_Staggered_eo.cpp.
|
inline |
Definition at line 86 of file fopr_Staggered_eo.h.
|
virtual |
gets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 165 of file fopr_Staggered_eo.cpp.
|
private |
initial setup.
Definition at line 55 of file fopr_Staggered_eo.cpp.
|
private |
initial setup.
Definition at line 36 of file fopr_Staggered_eo.cpp.
hopping term: ieo = 0: even <– odd, 1: odd <– even
Definition at line 476 of file fopr_Staggered_eo.cpp.
D = m^2 - Deo * Doe.
Definition at line 461 of file fopr_Staggered_eo.cpp.
multiplies fermion operator to a given field (2nd argument)
Reimplemented from AFopr_eo< Field >.
Definition at line 257 of file fopr_Staggered_eo.cpp.
executes mult with specified mode (unchanging internal mode).
Reimplemented from AFopr_eo< Field >.
Definition at line 311 of file fopr_Staggered_eo.cpp.
hermitian conjugate of mult(Field&, const Field&).
Reimplemented from AFopr_eo< Field >.
Definition at line 279 of file fopr_Staggered_eo.cpp.
executes mult_dag with specified mode (unchanging internal mode).
Reimplemented from AFopr_eo< Field >.
Definition at line 334 of file fopr_Staggered_eo.cpp.
Definition at line 534 of file fopr_Staggered_eo.cpp.
| void Fopr_Staggered_eo::mult_staggered_phase | ( | Field & | v, |
| const int | mu, | ||
| const int | ieo | ||
| ) |
multiplied staggered phase with a given vector.
Definition at line 227 of file fopr_Staggered_eo.cpp.
Definition at line 504 of file fopr_Staggered_eo.cpp.
for even-odd solver: called after linear solver.
Implements AFopr_eo< Field >.
Definition at line 436 of file fopr_Staggered_eo.cpp.
for even-odd solver: called before linear solver.
Implements AFopr_eo< Field >.
Definition at line 414 of file fopr_Staggered_eo.cpp.
|
virtual |
setting pointer to the gauge configuration.
Implements AFopr_eo< Field >.
Definition at line 357 of file fopr_Staggered_eo.cpp.
| void Fopr_Staggered_eo::set_config_impl | ( | Field * | U | ) |
Definition at line 388 of file fopr_Staggered_eo.cpp.
| void Fopr_Staggered_eo::set_config_omp | ( | Field * | U | ) |
Definition at line 376 of file fopr_Staggered_eo.cpp.
|
virtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from AFopr_eo< Field >.
Definition at line 301 of file fopr_Staggered_eo.cpp.
| void Fopr_Staggered_eo::set_parameters | ( | const double | mq, |
| const std::vector< int > | bc | ||
| ) |
Definition at line 135 of file fopr_Staggered_eo.cpp.
|
virtual |
sets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< Field >.
Definition at line 106 of file fopr_Staggered_eo.cpp.
|
private |
Definition at line 175 of file fopr_Staggered_eo.cpp.
|
private |
Definition at line 73 of file fopr_Staggered_eo.cpp.
|
private |
final clean-up.
Definition at line 99 of file fopr_Staggered_eo.cpp.
|
static |
Definition at line 37 of file fopr_Staggered_eo.h.
|
private |
boundary conditions
Definition at line 42 of file fopr_Staggered_eo.h.
|
private |
Definition at line 54 of file fopr_Staggered_eo.h.
|
private |
mult mode
Definition at line 45 of file fopr_Staggered_eo.h.
|
private |
fermion mass
Definition at line 41 of file fopr_Staggered_eo.h.
|
private |
Definition at line 48 of file fopr_Staggered_eo.h.
|
private |
Definition at line 49 of file fopr_Staggered_eo.h.
|
private |
Definition at line 48 of file fopr_Staggered_eo.h.
|
private |
Definition at line 49 of file fopr_Staggered_eo.h.
|
private |
Definition at line 49 of file fopr_Staggered_eo.h.
|
private |
Definition at line 56 of file fopr_Staggered_eo.h.
|
private |
staggered phase
Definition at line 52 of file fopr_Staggered_eo.h.
|
private |
Definition at line 58 of file fopr_Staggered_eo.h.
|
private |
working vectors
Definition at line 58 of file fopr_Staggered_eo.h.
|
private |
even-odd gauge configuration
Definition at line 51 of file fopr_Staggered_eo.h.
|
private |
Definition at line 59 of file fopr_Staggered_eo.h.
|
private |
working vectors
Definition at line 59 of file fopr_Staggered_eo.h.
|
private |
verbose level
Definition at line 43 of file fopr_Staggered_eo.h.