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

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from Source
Bridge::VerboseLevel m_vl
 

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

Definition at line 49 of file source_Exponential.h.

Member Function Documentation

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

Implements Source.

Definition at line 198 of file source_Exponential.cpp.

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

Implements Source.

Definition at line 232 of file source_Exponential.cpp.

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

Implements Source.

Definition at line 242 of file source_Exponential.cpp.

void Source_Exponential::set_all_color_spin ( Field v)
virtual

Implements Source.

Definition at line 282 of file source_Exponential.cpp.

void Source_Exponential::set_parameters ( const Parameters params)
virtual

Implements Source.

Definition at line 25 of file source_Exponential.cpp.

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

Definition at line 50 of file source_Exponential.cpp.

Member Data Documentation

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

Definition at line 39 of file source_Exponential.h.

bool Source_Exponential::m_in_node
private

Definition at line 45 of file source_Exponential.h.

Index_lex Source_Exponential::m_index
private

Definition at line 42 of file source_Exponential.h.

double Source_Exponential::m_power
private

Definition at line 44 of file source_Exponential.h.

double Source_Exponential::m_slope
private

Definition at line 44 of file source_Exponential.h.

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

Definition at line 43 of file source_Exponential.h.

Field Source_Exponential::m_src_func
private

Definition at line 46 of file source_Exponential.h.


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