|
Bridge++
Ver.2.1.3
|
Alternative version of the Optimal Domain-wall fermion operator. More...
#include <afopr_OptimalDomainwall.h>
Public Types | |
| typedef AFIELD::real_t | real_t |
Public Member Functions | |
| AFopr_OptimalDomainwall (const Parameters ¶ms) | |
| ~AFopr_OptimalDomainwall () | |
| 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 double M0, const int Ns, const std::vector< int > bc, const double b, const double c, const double lambda_min, const double lambda_max) |
| void | set_config (Field *U) |
| sets the gauge configuration. More... | |
| void | set_config (unique_ptr< Field_G > &U) |
| void | set_mode (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 |
| returns the current mult mode. More... | |
| void | mult (AFIELD &v, const AFIELD &w) |
| multiplies fermion operator to a given field. More... | |
| void | mult_dag (AFIELD &v, const AFIELD &w) |
| hermitian conjugate of mult. More... | |
| void | mult (AFIELD &v, const AFIELD &w, std::string mode) |
| mult with specified mode. More... | |
| void | mult_gm5 (AFIELD &v, const AFIELD &w) |
| multiplies gamma_5 matrix. More... | |
| int | field_nin () |
| returns the on-site degree of freedom of the fermion field. More... | |
| int | field_nvol () |
| returns the volume of the fermion field. More... | |
| int | field_nex () |
| returns the external degree of freedom of the fermion field. More... | |
| double | flop_count () |
| this returns the number of floating point number operations. More... | |
| double | flop_count (std::string mode) |
| flop-count for specified mode. More... | |
Public Member Functions inherited from AFopr< AFIELD > | |
| AFopr () | |
| virtual | ~AFopr () |
| virtual void | get_parameters (Parameters ¶ms) const |
| gets parameters by a Parameter object: to be implemented in a subclass. More... | |
| virtual void | mult_dag (AFIELD &, const AFIELD &, const std::string mode) |
| executes mult_dag with specified mode (unchanging internal mode). 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... | |
| 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... | |
| virtual bool | needs_convert () |
| returns true if additional field conversion is needed. More... | |
| virtual void | convert (AFIELD &, const Field &) |
| converts a Field object into other format if necessary. More... | |
| virtual void | reverse (Field &, const AFIELD &) |
| converts an alternative field to a Field object. More... | |
Static Public Attributes | |
| static const std::string | class_name = "AFopr_OptimalDomainwall" |
Private Member Functions | |
| void | init (const Parameters ¶ms) |
| initial setup. More... | |
| void | tidyup () |
| final tidyup. More... | |
| void | set_optimalDomainwall (const double b, const double c, const double lambda_min, const double lambda_max) |
Private Attributes | |
| double | m_mq |
| quark mass More... | |
| double | m_M0 |
| domain-wall height More... | |
| int | m_Ns |
| size of fifth-dimension More... | |
| std::vector< int > | m_boundary |
| boundary conditions More... | |
| std::vector< double > | m_b |
| std::vector< double > | m_c |
| Bridge::VerboseLevel | m_vl |
| verbose level More... | |
| std::string | m_mode |
| int | m_NinF |
| on-site d.o.f. More... | |
| int | m_Nvol |
| volume size More... | |
| int | m_Ndim |
| spacetime dimensions More... | |
| AFopr_Domainwall_General< AFIELD > * | m_foprdw |
Additional Inherited Members | |
Static Protected Attributes inherited from AFopr< AFIELD > | |
| static const std::string | class_name |
Alternative version of the Optimal Domain-wall fermion operator.
This class implements optimal domain-wall fermion operator. [06 May 2017 H.Matsufuru]
Definition at line 32 of file afopr_OptimalDomainwall.h.
| typedef AFIELD::real_t AFopr_OptimalDomainwall< AFIELD >::real_t |
Definition at line 35 of file afopr_OptimalDomainwall.h.
|
inline |
Definition at line 63 of file afopr_OptimalDomainwall.h.
|
inline |
Definition at line 66 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
returns the external degree of freedom of the fermion field.
Implements AFopr< AFIELD >.
Definition at line 99 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
returns the on-site degree of freedom of the fermion field.
Implements AFopr< AFIELD >.
Definition at line 97 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
returns the volume of the fermion field.
Implements AFopr< AFIELD >.
Definition at line 98 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
this returns the number of floating point number operations.
Reimplemented from AFopr< AFIELD >.
Definition at line 102 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
flop-count for specified mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 105 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
returns the current mult mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 82 of file afopr_OptimalDomainwall.h.
|
private |
initial setup.
Definition at line 31 of file afopr_OptimalDomainwall-tmpl.h.
|
inlinevirtual |
multiplies fermion operator to a given field.
Reimplemented from AFopr< AFIELD >.
Definition at line 84 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
mult with specified mode.
Reimplemented from AFopr< AFIELD >.
Definition at line 91 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
hermitian conjugate of mult.
Reimplemented from AFopr< AFIELD >.
Definition at line 87 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
multiplies gamma_5 matrix.
Reimplemented from AFopr< AFIELD >.
Definition at line 94 of file afopr_OptimalDomainwall.h.
|
inlinevirtual |
sets the gauge configuration.
Implements AFopr< AFIELD >.
Definition at line 75 of file afopr_OptimalDomainwall.h.
|
inline |
Definition at line 77 of file afopr_OptimalDomainwall.h.
|
virtual |
setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call.
Reimplemented from AFopr< AFIELD >.
Definition at line 162 of file afopr_OptimalDomainwall-tmpl.h.
|
private |
Definition at line 133 of file afopr_OptimalDomainwall-tmpl.h.
| void AFopr_OptimalDomainwall< AFIELD >::set_parameters | ( | const double | mq, |
| const double | M0, | ||
| const int | Ns, | ||
| const std::vector< int > | bc, | ||
| const double | b, | ||
| const double | c, | ||
| const double | lambda_min, | ||
| const double | lambda_max | ||
| ) |
|
virtual |
sets parameters by a Parameter object: to be implemented in a subclass.
Reimplemented from AFopr< AFIELD >.
Definition at line 57 of file afopr_OptimalDomainwall-tmpl.h.
|
private |
final tidyup.
Definition at line 50 of file afopr_OptimalDomainwall-tmpl.h.
|
static |
Definition at line 36 of file afopr_OptimalDomainwall.h.
|
private |
Definition at line 44 of file afopr_OptimalDomainwall.h.
|
private |
boundary conditions
Definition at line 43 of file afopr_OptimalDomainwall.h.
|
private |
Definition at line 45 of file afopr_OptimalDomainwall.h.
|
private |
Definition at line 54 of file afopr_OptimalDomainwall.h.
|
private |
domain-wall height
Definition at line 41 of file afopr_OptimalDomainwall.h.
|
private |
Definition at line 48 of file afopr_OptimalDomainwall.h.
|
private |
quark mass
Definition at line 40 of file afopr_OptimalDomainwall.h.
|
private |
spacetime dimensions
Definition at line 52 of file afopr_OptimalDomainwall.h.
|
private |
on-site d.o.f.
Definition at line 50 of file afopr_OptimalDomainwall.h.
|
private |
size of fifth-dimension
Definition at line 42 of file afopr_OptimalDomainwall.h.
|
private |
volume size
Definition at line 51 of file afopr_OptimalDomainwall.h.
|
private |
verbose level
Definition at line 46 of file afopr_OptimalDomainwall.h.