Bridge++  Ver. 2.0.2
Staple_lex Class Reference

Staple construction. More...

#include <staple_lex.h>

Inheritance diagram for Staple_lex:
Staple

Public Member Functions

 Staple_lex ()
 
 Staple_lex (const Parameters &params)
 
 ~Staple_lex ()
 
void set_parameters (const Parameters &params)
 setting parameters. More...
 
void get_parameters (Parameters &params) const
 getting parameters. More...
 
void upper (Field_G &, const Field_G &, const int mu, const int nu)
 constructs upper staple in mu-nu plane. More...
 
void lower (Field_G &, const Field_G &, const int mu, const int nu)
 constructs lower staple in mu-nu plane. More...
 
void staple (Field_G &, const Field_G &, const int mu)
 constructs staple in mu-direction (summing up nu-direction). More...
 
double plaquette (const Field_G &)
 calculates plaquette value. More...
 
double plaq_s (const Field_G &)
 calculates spatial plaquette value. More...
 
double plaq_t (const Field_G &)
 calculates temporal plaquette value. More...
 
- Public Member Functions inherited from Staple
 Staple ()
 
virtual ~Staple ()
 

Static Public Attributes

static const std::string class_name = "Staple_lex"
 

Private Member Functions

void init (const Parameters &params)
 
void init ()
 
void setup ()
 
void tidyup ()
 
double plaq_s_omp (const Field_G &)
 
double plaq_t_omp (const Field_G &)
 
double plaq_s_impl (const Field_G &)
 
double plaq_t_impl (const Field_G &)
 

Private Attributes

Bridge::VerboseLevel m_vl
 
std::string m_filename_output
 
ShiftField_lexm_shift
 
Field_G m_Umu
 
Field_G m_Unu
 working vectors More...
 
Field_G m_w1
 
Field_G m_w2
 working vectors More...
 
Field_G m_v1
 
Field_G m_v2
 working vectors More...
 
int m_Nc
 
int m_Nvol
 
int m_Ndim
 

Detailed Description

Staple construction.

This class constructs the staple. While the originial version was written by J.Noaki, the present version is completely modified by H.Matsufuru except for the interface. [28 Dec 2011 H.Matsufuru] Thread-parallelized. void version of upper and lower functions added; these are faster than the versions returning Field_G object. [28 Sep 2013 H.Matsufuru] Add parameters for output. [27 Jun 2016 Y.Namekawa] Factory is introduced. [24 Jan 2017 Y.Namekawa]

Definition at line 39 of file staple_lex.h.

Constructor & Destructor Documentation

◆ Staple_lex() [1/2]

Staple_lex::Staple_lex ( )
inline

Definition at line 58 of file staple_lex.h.

◆ Staple_lex() [2/2]

Staple_lex::Staple_lex ( const Parameters params)
inline

Definition at line 61 of file staple_lex.h.

◆ ~Staple_lex()

Staple_lex::~Staple_lex ( )
inline

Definition at line 63 of file staple_lex.h.

Member Function Documentation

◆ get_parameters()

void Staple_lex::get_parameters ( Parameters params) const
virtual

getting parameters.

Implements Staple.

Definition at line 81 of file staple_lex.cpp.

◆ init() [1/2]

void Staple_lex::init ( )
private

Definition at line 36 of file staple_lex.cpp.

◆ init() [2/2]

void Staple_lex::init ( const Parameters params)
private

Definition at line 28 of file staple_lex.cpp.

◆ lower()

void Staple_lex::lower ( Field_G Udn,
const Field_G U,
const int  mu,
const int  nu 
)
virtual

constructs lower staple in mu-nu plane.

Implements Staple.

Definition at line 286 of file staple_lex.cpp.

◆ plaq_s()

double Staple_lex::plaq_s ( const Field_G U)
virtual

calculates spatial plaquette value.

Implements Staple.

Definition at line 115 of file staple_lex.cpp.

◆ plaq_s_impl()

double Staple_lex::plaq_s_impl ( const Field_G U)
private

Definition at line 181 of file staple_lex.cpp.

◆ plaq_s_omp()

double Staple_lex::plaq_s_omp ( const Field_G U)
private

Definition at line 149 of file staple_lex.cpp.

◆ plaq_t()

double Staple_lex::plaq_t ( const Field_G U)
virtual

calculates temporal plaquette value.

Implements Staple.

Definition at line 132 of file staple_lex.cpp.

◆ plaq_t_impl()

double Staple_lex::plaq_t_impl ( const Field_G U)
private

Definition at line 211 of file staple_lex.cpp.

◆ plaq_t_omp()

double Staple_lex::plaq_t_omp ( const Field_G U)
private

Definition at line 165 of file staple_lex.cpp.

◆ plaquette()

double Staple_lex::plaquette ( const Field_G U)
virtual

calculates plaquette value.

Implements Staple.

Definition at line 89 of file staple_lex.cpp.

◆ set_parameters()

void Staple_lex::set_parameters ( const Parameters params)
virtual

setting parameters.

Implements Staple.

Definition at line 66 of file staple_lex.cpp.

◆ setup()

void Staple_lex::setup ( )
private

Definition at line 43 of file staple_lex.cpp.

◆ staple()

void Staple_lex::staple ( Field_G W,
const Field_G U,
const int  mu 
)
virtual

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

Implements Staple.

Definition at line 239 of file staple_lex.cpp.

◆ tidyup()

void Staple_lex::tidyup ( )
private

Definition at line 59 of file staple_lex.cpp.

◆ upper()

void Staple_lex::upper ( Field_G Uup,
const Field_G U,
const int  mu,
const int  nu 
)
virtual

constructs upper staple in mu-nu plane.

Implements Staple.

Definition at line 263 of file staple_lex.cpp.

Member Data Documentation

◆ class_name

const std::string Staple_lex::class_name = "Staple_lex"
static

Definition at line 42 of file staple_lex.h.

◆ m_filename_output

std::string Staple_lex::m_filename_output
private

Definition at line 47 of file staple_lex.h.

◆ m_Nc

int Staple_lex::m_Nc
private

Definition at line 55 of file staple_lex.h.

◆ m_Ndim

int Staple_lex::m_Ndim
private

Definition at line 55 of file staple_lex.h.

◆ m_Nvol

int Staple_lex::m_Nvol
private

Definition at line 55 of file staple_lex.h.

◆ m_shift

ShiftField_lex* Staple_lex::m_shift
private

Definition at line 49 of file staple_lex.h.

◆ m_Umu

Field_G Staple_lex::m_Umu
private

Definition at line 51 of file staple_lex.h.

◆ m_Unu

Field_G Staple_lex::m_Unu
private

working vectors

Definition at line 51 of file staple_lex.h.

◆ m_v1

Field_G Staple_lex::m_v1
private

Definition at line 53 of file staple_lex.h.

◆ m_v2

Field_G Staple_lex::m_v2
private

working vectors

Definition at line 53 of file staple_lex.h.

◆ m_vl

Bridge::VerboseLevel Staple_lex::m_vl
private

Definition at line 45 of file staple_lex.h.

◆ m_w1

Field_G Staple_lex::m_w1
private

Definition at line 52 of file staple_lex.h.

◆ m_w2

Field_G Staple_lex::m_w2
private

working vectors

Definition at line 52 of file staple_lex.h.


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