Bridge++  Ver. 2.0.2
Source_Local Class Reference

Local source for 4-spinor fermion. More...

#include <source_Local.h>

Inheritance diagram for Source_Local:
Source

Public Member Functions

 Source_Local ()
 
 Source_Local (const Parameters &params)
 
void set_parameters (const Parameters &params)
 
void set_parameters (const std::vector< int > &source_position)
 
void get_parameters (Parameters &params) const
 
void set (Field &v, const int idx)
 
void set (Field &v, const int i_color, const int i_spin)
 
void set_all_color (Field &v, const int i_spin)
 
void set_all_color_spin (Field &v)
 
- Public Member Functions inherited from Source
 Source ()
 
virtual ~Source ()
 

Static Public Attributes

static const std::string class_name = "Source_Local"
 

Private Attributes

Bridge::VerboseLevel m_vl
 
Index_lex m_index
 
std::vector< int > m_source_position
 
bool m_in_node
 

Detailed Description

Local source for 4-spinor fermion.

This class sets an local source vector for the 4-spinor (Wilson-type) fermion. 19 Feb 2012 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa] Add set_all_color_spin,etc [ 4 Apr 2017 Y.Namekawa]

Definition at line 34 of file source_Local.h.

Constructor & Destructor Documentation

◆ Source_Local() [1/2]

Source_Local::Source_Local ( )
inline

Definition at line 46 of file source_Local.h.

◆ Source_Local() [2/2]

Source_Local::Source_Local ( const Parameters params)
inline

Definition at line 48 of file source_Local.h.

Member Function Documentation

◆ get_parameters()

void Source_Local::get_parameters ( Parameters params) const
virtual

Implements Source.

Definition at line 48 of file source_Local.cpp.

◆ set() [1/2]

void Source_Local::set ( Field v,
const int  i_color,
const int  i_spin 
)
virtual

Implements Source.

Definition at line 153 of file source_Local.cpp.

◆ set() [2/2]

void Source_Local::set ( Field v,
const int  idx 
)
virtual

Implements Source.

Definition at line 135 of file source_Local.cpp.

◆ set_all_color()

void Source_Local::set_all_color ( Field v,
const int  i_spin 
)
virtual

Implements Source.

Definition at line 163 of file source_Local.cpp.

◆ set_all_color_spin()

void Source_Local::set_all_color_spin ( Field v)
virtual

Implements Source.

Definition at line 188 of file source_Local.cpp.

◆ set_parameters() [1/2]

void Source_Local::set_parameters ( const Parameters params)
virtual

Implements Source.

Definition at line 25 of file source_Local.cpp.

◆ set_parameters() [2/2]

void Source_Local::set_parameters ( const std::vector< int > &  source_position)

Definition at line 57 of file source_Local.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 36 of file source_Local.h.

◆ m_in_node

bool Source_Local::m_in_node
private

Definition at line 43 of file source_Local.h.

◆ m_index

Index_lex Source_Local::m_index
private

Definition at line 41 of file source_Local.h.

◆ m_source_position

std::vector<int> Source_Local::m_source_position
private

Definition at line 42 of file source_Local.h.

◆ m_vl

Bridge::VerboseLevel Source_Local::m_vl
private

Definition at line 39 of file source_Local.h.


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