Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const std::vector< int > &source_position)
 
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 ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Source_Local"
 

Private Attributes

Index_lex m_index
 
std::vector< int > m_source_position
 
bool m_in_node
 

Additional Inherited Members

- Protected Attributes inherited from Source
Bridge::VerboseLevel m_vl
 

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::Source_Local ( )
inline

Definition at line 44 of file source_Local.h.

Member Function Documentation

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

Implements Source.

Definition at line 125 of file source_Local.cpp.

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

Implements Source.

Definition at line 143 of file source_Local.cpp.

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

Implements Source.

Definition at line 153 of file source_Local.cpp.

void Source_Local::set_all_color_spin ( Field v)
virtual

Implements Source.

Definition at line 178 of file source_Local.cpp.

void Source_Local::set_parameters ( const Parameters params)
virtual

Implements Source.

Definition at line 25 of file source_Local.cpp.

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

Definition at line 47 of file source_Local.cpp.

Member Data Documentation

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

Definition at line 36 of file source_Local.h.

bool Source_Local::m_in_node
private

Definition at line 41 of file source_Local.h.

Index_lex Source_Local::m_index
private

Definition at line 39 of file source_Local.h.

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

Definition at line 40 of file source_Local.h.


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