Bridge++  Ver. 2.0.2
Source_Exponential Class Reference

Exponentially smeared source for 4-spinor fermion. More...

#include <source_Exponential.h>

Inheritance diagram for Source_Exponential:
Source

Public Member Functions

 Source_Exponential ()
 
 Source_Exponential (const Parameters &params)
 
void set_parameters (const Parameters &params)
 
void set_parameters (const std::vector< int > &source_position, const double slope, const double power)
 
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_Exponential"
 

Private Attributes

Bridge::VerboseLevel m_vl
 
Index_lex m_index
 
std::vector< int > m_source_position
 
double m_slope
 
double m_power
 
bool m_in_node
 
Field m_src_func
 

Detailed Description

Exponentially smeared source for 4-spinor fermion.

This class sets an exponentially smeared 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 36 of file source_Exponential.h.

Constructor & Destructor Documentation

◆ Source_Exponential() [1/2]

Source_Exponential::Source_Exponential ( )
inline

Definition at line 51 of file source_Exponential.h.

◆ Source_Exponential() [2/2]

Source_Exponential::Source_Exponential ( const Parameters params)
inline

Definition at line 53 of file source_Exponential.h.

Member Function Documentation

◆ get_parameters()

void Source_Exponential::get_parameters ( Parameters params) const
virtual

Implements Source.

Definition at line 51 of file source_Exponential.cpp.

◆ set() [1/2]

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

Implements Source.

Definition at line 244 of file source_Exponential.cpp.

◆ set() [2/2]

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

Implements Source.

Definition at line 210 of file source_Exponential.cpp.

◆ set_all_color()

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

Implements Source.

Definition at line 254 of file source_Exponential.cpp.

◆ set_all_color_spin()

void Source_Exponential::set_all_color_spin ( Field v)
virtual

Implements Source.

Definition at line 294 of file source_Exponential.cpp.

◆ set_parameters() [1/2]

void Source_Exponential::set_parameters ( const Parameters params)
virtual

Implements Source.

Definition at line 25 of file source_Exponential.cpp.

◆ set_parameters() [2/2]

void Source_Exponential::set_parameters ( const std::vector< int > &  source_position,
const double  slope,
const double  power 
)

Definition at line 62 of file source_Exponential.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 39 of file source_Exponential.h.

◆ m_in_node

bool Source_Exponential::m_in_node
private

Definition at line 47 of file source_Exponential.h.

◆ m_index

Index_lex Source_Exponential::m_index
private

Definition at line 44 of file source_Exponential.h.

◆ m_power

double Source_Exponential::m_power
private

Definition at line 46 of file source_Exponential.h.

◆ m_slope

double Source_Exponential::m_slope
private

Definition at line 46 of file source_Exponential.h.

◆ m_source_position

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

Definition at line 45 of file source_Exponential.h.

◆ m_src_func

Field Source_Exponential::m_src_func
private

Definition at line 48 of file source_Exponential.h.

◆ m_vl

Bridge::VerboseLevel Source_Exponential::m_vl
private

Definition at line 42 of file source_Exponential.h.


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