Bridge++  Ver. 2.0.2
Source_Staggered_Wall_Cube Class Reference

Setting source vector with wall (cube) source for staggered fermion. More...

#include <source_Staggered_Wall_Cube.h>

Inheritance diagram for Source_Staggered_Wall_Cube:
Source

Public Member Functions

 Source_Staggered_Wall_Cube ()
 constructor More...
 
void set_parameters (const Parameters &params)
 
void set_parameters (const int source_position)
 
void get_parameters (Parameters &params) const
 
void set (Field &src, const int idx)
 
void set (Field &src, const int ic, const int isrc)
 
void set (Field_F_1spinor &src, const int ic, const int i_src)
 
void set_all_color (Field &, int)
 
void set_all_color_spin (Field &)
 
- Public Member Functions inherited from Source
 Source ()
 
virtual ~Source ()
 

Static Public Attributes

static const std::string class_name = "Source_Staggered_Wall_Cube"
 

Protected Attributes

Bridge::VerboseLevel m_vl
 

Private Member Functions

 Source_Staggered_Wall_Cube (const Source_Staggered_Wall_Cube &)
 
Source_Staggered_Wall_Cubeoperator= (const Source_Staggered_Wall_Cube &)
 
void init ()
 

Private Attributes

int m_t_src
 source time slice. More...
 
Index_lex m_index
 

Detailed Description

Setting source vector with wall (cube) source for staggered fermion.

This class set the wall source with one of corner site of 2x2x2 spatial cube is set to one. The nonzero site (ix,iy,iz) of the cube is specified by isrc, as isrc = ix + 2*iy + 4*iz and this in [0,7], given in set() method. The value of isrc may be provide through idx = ic + Nc * isrc. This cubic source is repeatedly applied to the space at time t specified by parameter source_position. Gauge fixing is needed before the measurement. [15 Oct 2020 H.Matsufuru] Modified so that odd values of Nx, Ny, Nz are allowed. [14 Jan 2023 H.Matsufuru]

Definition at line 41 of file source_Staggered_Wall_Cube.h.

Constructor & Destructor Documentation

◆ Source_Staggered_Wall_Cube() [1/2]

Source_Staggered_Wall_Cube::Source_Staggered_Wall_Cube ( )
inline

constructor

Definition at line 55 of file source_Staggered_Wall_Cube.h.

◆ Source_Staggered_Wall_Cube() [2/2]

Source_Staggered_Wall_Cube::Source_Staggered_Wall_Cube ( const Source_Staggered_Wall_Cube )
private

Member Function Documentation

◆ get_parameters()

void Source_Staggered_Wall_Cube::get_parameters ( Parameters params) const
virtual

Implements Source.

Definition at line 93 of file source_Staggered_Wall_Cube.cpp.

◆ init()

void Source_Staggered_Wall_Cube::init ( )
private

Definition at line 29 of file source_Staggered_Wall_Cube.cpp.

◆ operator=()

Source_Staggered_Wall_Cube& Source_Staggered_Wall_Cube::operator= ( const Source_Staggered_Wall_Cube )
private

◆ set() [1/3]

void Source_Staggered_Wall_Cube::set ( Field src,
const int  ic,
const int  isrc 
)
virtual

Implements Source.

Definition at line 129 of file source_Staggered_Wall_Cube.cpp.

◆ set() [2/3]

void Source_Staggered_Wall_Cube::set ( Field src,
const int  idx 
)
virtual

Implements Source.

Definition at line 102 of file source_Staggered_Wall_Cube.cpp.

◆ set() [3/3]

void Source_Staggered_Wall_Cube::set ( Field_F_1spinor src,
const int  ic,
const int  i_src 
)

Definition at line 113 of file source_Staggered_Wall_Cube.cpp.

◆ set_all_color()

void Source_Staggered_Wall_Cube::set_all_color ( Field ,
int   
)
inlinevirtual

Implements Source.

Definition at line 73 of file source_Staggered_Wall_Cube.h.

◆ set_all_color_spin()

void Source_Staggered_Wall_Cube::set_all_color_spin ( Field )
inlinevirtual

Implements Source.

Definition at line 80 of file source_Staggered_Wall_Cube.h.

◆ set_parameters() [1/2]

void Source_Staggered_Wall_Cube::set_parameters ( const int  source_position)

Definition at line 69 of file source_Staggered_Wall_Cube.cpp.

◆ set_parameters() [2/2]

void Source_Staggered_Wall_Cube::set_parameters ( const Parameters params)
virtual

Implements Source.

Definition at line 48 of file source_Staggered_Wall_Cube.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 44 of file source_Staggered_Wall_Cube.h.

◆ m_index

Index_lex Source_Staggered_Wall_Cube::m_index
private

Definition at line 51 of file source_Staggered_Wall_Cube.h.

◆ m_t_src

int Source_Staggered_Wall_Cube::m_t_src
private

source time slice.

Definition at line 50 of file source_Staggered_Wall_Cube.h.

◆ m_vl

Bridge::VerboseLevel Source_Staggered_Wall_Cube::m_vl
protected

Definition at line 47 of file source_Staggered_Wall_Cube.h.


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