Bridge++  Ver.2.1.3
AStaple_lex< AFIELD > Class Template Reference

Staple construction. More...

#include <afopr_CloverTerm.h>

Public Types

typedef AFIELD::real_t real_t
 

Public Member Functions

 AStaple_lex ()
 
 ~AStaple_lex ()
 
void plaquette (real_t &plaq, const AFIELD &)
 setting parameters. More...
 
void plaq_s (real_t &plaq_s, const AFIELD &)
 calculates spatial plaquette value. More...
 
void plaq_t (real_t &plaq_t, const AFIELD &)
 calculates temporal plaquette value. More...
 
void staple (AFIELD &, const AFIELD &, const int mu)
 constructs staple in mu-direction (summing up nu-direction). More...
 
void upper (AFIELD &, const AFIELD &, const int mu, const int nu)
 constructs upper staple in mu-nu plane. More...
 
void lower (AFIELD &, const AFIELD &, const int mu, const int nu)
 constructs lower staple in mu-nu plane. More...
 
void shift_forward (AFIELD &v, const int ex1, const AFIELD &w, const int ex2, const int mu)
 same as lower, but to be called inside a parallel region. More...
 
void shift_backward (AFIELD &v, const int ex1, const AFIELD &w, const int ex2, const int mu)
 same as lower, but to be called inside a parallel region. More...
 
const std::string class_name
 
const std::string class_name
 

Static Public Attributes

static const std::string class_name = "AStaple_lex<AFIELD>"
 

Private Member Functions

void init ()
 initial setup. More...
 
void tidyup ()
 final tidy up. More...
 

Private Attributes

int m_Ndf
 
int m_Nvol
 
int m_Ndim
 
Bridge::VerboseLevel m_vl
 
ShiftAField_lex< AFIELD > * m_shift
 
AFIELD m_v1
 
AFIELD m_v2
 
AFIELD m_v3
 working fields. More...
 
AFIELD m_Umu
 working fields. More...
 

Detailed Description

template<typename AFIELD>
class AStaple_lex< AFIELD >

Staple construction.

This template class is an Accel branch version of Staple_lex class in Bridge++ core library. [18 Dec 2017 H.Matsufuru]

Definition at line 27 of file afopr_CloverTerm.h.

Member Typedef Documentation

◆ real_t

template<typename AFIELD >
typedef AFIELD::real_t AStaple_lex< AFIELD >::real_t

Definition at line 31 of file astaple_lex.h.

Constructor & Destructor Documentation

◆ AStaple_lex()

template<typename AFIELD >
AStaple_lex< AFIELD >::AStaple_lex ( )
inline

Definition at line 52 of file astaple_lex.h.

◆ ~AStaple_lex()

template<typename AFIELD >
AStaple_lex< AFIELD >::~AStaple_lex ( )
inline

Definition at line 54 of file astaple_lex.h.

Member Function Documentation

◆ class_name() [1/2]

const std::string AStaple_lex< AField< double, ACCEL > >::class_name

Definition at line 29 of file astaple_lex_double.cpp.

◆ class_name() [2/2]

const std::string AStaple_lex< AField< float, ACCEL > >::class_name

Definition at line 29 of file astaple_lex_float.cpp.

◆ init()

template<typename AFIELD >
void AStaple_lex< AFIELD >::init
private

initial setup.

Definition at line 15 of file astaple_lex-tmpl.h.

◆ lower()

template<typename AFIELD >
void AStaple_lex< AFIELD >::lower ( AFIELD &  c,
const AFIELD &  U,
const int  mu,
const int  nu 
)

constructs lower staple in mu-nu plane.

Definition at line 159 of file astaple_lex-tmpl.h.

◆ plaq_s()

template<typename AFIELD >
void AStaple_lex< AFIELD >::plaq_s ( real_t &  plaq_s,
const AFIELD &  U 
)

calculates spatial plaquette value.

Definition at line 55 of file astaple_lex-tmpl.h.

◆ plaq_t()

template<typename AFIELD >
void AStaple_lex< AFIELD >::plaq_t ( real_t &  plaq_t,
const AFIELD &  U 
)

calculates temporal plaquette value.

Definition at line 88 of file astaple_lex-tmpl.h.

◆ plaquette()

template<typename AFIELD >
void AStaple_lex< AFIELD >::plaquette ( real_t &  plaq,
const AFIELD &  U 
)

setting parameters.

calculates plaquette value.

Definition at line 43 of file astaple_lex-tmpl.h.

◆ shift_backward()

template<typename AFIELD >
void AStaple_lex< AFIELD >::shift_backward ( AFIELD &  v,
const int  ex1,
const AFIELD &  w,
const int  ex2,
const int  mu 
)
inline

same as lower, but to be called inside a parallel region.

Definition at line 83 of file astaple_lex.h.

◆ shift_forward()

template<typename AFIELD >
void AStaple_lex< AFIELD >::shift_forward ( AFIELD &  v,
const int  ex1,
const AFIELD &  w,
const int  ex2,
const int  mu 
)
inline

same as lower, but to be called inside a parallel region.

Definition at line 78 of file astaple_lex.h.

◆ staple()

template<typename AFIELD >
void AStaple_lex< AFIELD >::staple ( AFIELD &  W,
const AFIELD &  U,
const int  mu 
)

constructs staple in mu-direction (summing up nu-direction).

Definition at line 117 of file astaple_lex-tmpl.h.

◆ tidyup()

template<typename AFIELD >
void AStaple_lex< AFIELD >::tidyup
private

final tidy up.

Definition at line 36 of file astaple_lex-tmpl.h.

◆ upper()

template<typename AFIELD >
void AStaple_lex< AFIELD >::upper ( AFIELD &  c,
const AFIELD &  U,
const int  mu,
const int  nu 
)

constructs upper staple in mu-nu plane.

Definition at line 139 of file astaple_lex-tmpl.h.

Member Data Documentation

◆ class_name

template<typename AFIELD >
const std::string AStaple_lex< AFIELD >::class_name = "AStaple_lex<AFIELD>"
static

Definition at line 32 of file astaple_lex.h.

◆ m_Ndf

template<typename AFIELD >
int AStaple_lex< AFIELD >::m_Ndf
private

Definition at line 35 of file astaple_lex.h.

◆ m_Ndim

template<typename AFIELD >
int AStaple_lex< AFIELD >::m_Ndim
private

Definition at line 35 of file astaple_lex.h.

◆ m_Nvol

template<typename AFIELD >
int AStaple_lex< AFIELD >::m_Nvol
private

Definition at line 35 of file astaple_lex.h.

◆ m_shift

template<typename AFIELD >
ShiftAField_lex<AFIELD>* AStaple_lex< AFIELD >::m_shift
private

Definition at line 39 of file astaple_lex.h.

◆ m_Umu

template<typename AFIELD >
AFIELD AStaple_lex< AFIELD >::m_Umu
private

working fields.

Definition at line 42 of file astaple_lex.h.

◆ m_v1

template<typename AFIELD >
AFIELD AStaple_lex< AFIELD >::m_v1
private

Definition at line 41 of file astaple_lex.h.

◆ m_v2

template<typename AFIELD >
AFIELD AStaple_lex< AFIELD >::m_v2
private

Definition at line 41 of file astaple_lex.h.

◆ m_v3

template<typename AFIELD >
AFIELD AStaple_lex< AFIELD >::m_v3
private

working fields.

Definition at line 41 of file astaple_lex.h.

◆ m_vl

template<typename AFIELD >
Bridge::VerboseLevel AStaple_lex< AFIELD >::m_vl
private

Definition at line 37 of file astaple_lex.h.


The documentation for this class was generated from the following files: