Bridge++  Ver. 2.0.2
Source_MomentumWall Class Reference

Momentum wall source for 4-spinor fermion. More...

#include <source_MomentumWall.h>

Inheritance diagram for Source_MomentumWall:
Source

Public Member Functions

 Source_MomentumWall ()
 
 Source_MomentumWall (const Parameters &params)
 
void set_parameters (const Parameters &params)
 
void set_parameters (const std::vector< int > &source_position, const std::vector< int > &source_momentum)
 
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_MomentumWall"
 

Private Attributes

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

Detailed Description

Momentum wall source for 4-spinor fermion.

This class sets a momentum wall source vector for the 4-spinor (Wilson-type) fermion. [29 Jan 2014 N.Ishii] In order to commit to Bridge++ main stream, comments etc... are modified. [19 Feb 2014 S.Ueda] Add set_all_color_spin,etc [ 4 Apr 2017 Y.Namekawa]

Definition at line 36 of file source_MomentumWall.h.

Constructor & Destructor Documentation

◆ Source_MomentumWall() [1/2]

Source_MomentumWall::Source_MomentumWall ( )
inline

Definition at line 50 of file source_MomentumWall.h.

◆ Source_MomentumWall() [2/2]

Source_MomentumWall::Source_MomentumWall ( const Parameters params)
inline

Definition at line 52 of file source_MomentumWall.h.

Member Function Documentation

◆ get_parameters()

void Source_MomentumWall::get_parameters ( Parameters params) const
virtual

Implements Source.

Definition at line 50 of file source_MomentumWall.cpp.

◆ set() [1/2]

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

Implements Source.

Definition at line 193 of file source_MomentumWall.cpp.

◆ set() [2/2]

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

Implements Source.

Definition at line 124 of file source_MomentumWall.cpp.

◆ set_all_color()

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

Implements Source.

Definition at line 203 of file source_MomentumWall.cpp.

◆ set_all_color_spin()

void Source_MomentumWall::set_all_color_spin ( Field v)
virtual

Implements Source.

Definition at line 276 of file source_MomentumWall.cpp.

◆ set_parameters() [1/2]

void Source_MomentumWall::set_parameters ( const Parameters params)
virtual

Implements Source.

Definition at line 25 of file source_MomentumWall.cpp.

◆ set_parameters() [2/2]

void Source_MomentumWall::set_parameters ( const std::vector< int > &  source_position,
const std::vector< int > &  source_momentum 
)

Definition at line 60 of file source_MomentumWall.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 39 of file source_MomentumWall.h.

◆ m_in_node

bool Source_MomentumWall::m_in_node
private

Definition at line 47 of file source_MomentumWall.h.

◆ m_index

Index_lex Source_MomentumWall::m_index
private

Definition at line 44 of file source_MomentumWall.h.

◆ m_source_momentum

std::vector<int> Source_MomentumWall::m_source_momentum
private

Definition at line 46 of file source_MomentumWall.h.

◆ m_source_position

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

Definition at line 45 of file source_MomentumWall.h.

◆ m_vl

Bridge::VerboseLevel Source_MomentumWall::m_vl
private

Definition at line 42 of file source_MomentumWall.h.


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