Bridge++  Ver. 2.0.2
Source_Wall Class Reference

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

#include <source_Wall.h>

Inheritance diagram for Source_Wall:
Source

Public Member Functions

 Source_Wall ()
 
 Source_Wall (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_Wall"
 

Private Attributes

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

Detailed Description

Wall source for 4-spinor fermion.

This class sets a wall source vector for the 4-spinor (Wilson-type) fermion. [02 Feb 2013 Y.Namekawa] Add set_all_color_spin,etc [ 4 Apr 2017 Y.Namekawa]

Definition at line 32 of file source_Wall.h.

Constructor & Destructor Documentation

◆ Source_Wall() [1/2]

Source_Wall::Source_Wall ( )
inline

Definition at line 45 of file source_Wall.h.

◆ Source_Wall() [2/2]

Source_Wall::Source_Wall ( const Parameters params)
inline

Definition at line 47 of file source_Wall.h.

Member Function Documentation

◆ get_parameters()

void Source_Wall::get_parameters ( Parameters params) const
virtual

Implements Source.

Definition at line 49 of file source_Wall.cpp.

◆ set() [1/2]

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

Implements Source.

Definition at line 156 of file source_Wall.cpp.

◆ set() [2/2]

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

Implements Source.

Definition at line 116 of file source_Wall.cpp.

◆ set_all_color()

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

Implements Source.

Definition at line 166 of file source_Wall.cpp.

◆ set_all_color_spin()

void Source_Wall::set_all_color_spin ( Field v)
virtual

Implements Source.

Definition at line 212 of file source_Wall.cpp.

◆ set_parameters() [1/2]

void Source_Wall::set_parameters ( const Parameters params)
virtual

Implements Source.

Definition at line 25 of file source_Wall.cpp.

◆ set_parameters() [2/2]

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

Definition at line 58 of file source_Wall.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 35 of file source_Wall.h.

◆ m_in_node

bool Source_Wall::m_in_node
private

Definition at line 42 of file source_Wall.h.

◆ m_index

Index_lex Source_Wall::m_index
private

Definition at line 40 of file source_Wall.h.

◆ m_source_position

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

Definition at line 41 of file source_Wall.h.

◆ m_vl

Bridge::VerboseLevel Source_Wall::m_vl
private

Definition at line 38 of file source_Wall.h.


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