Bridge++
Version 1.5.4
|
Random noise source in the space at a given timeslice. More...
#include <source_Random.h>
Public Member Functions | |
Source_Random () | |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (const std::vector< int > &source_position, const std::vector< int > &source_momentum, const std::string noise_type) |
void | set (Field &src, const int idx) |
void | set (Field &src, const int i_color, const int i_spin) |
void | set_all_color (Field &src, const int i_spin) |
void | set_all_color_spin (Field &src) |
void | set_all_space_time (Field &src, const int ic) |
Setting a noise vector. Filling all the sites and spin indices for color index "ic". The same random number is set for all the spin indices at one site. More... | |
void | set_all_space_time (Field &src, const int ic, const int is) |
Setting a noise vector. Filling all the sites for spin-color index "is" and "ic". More... | |
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_Random" |
Private Attributes | |
RandomNumbers * | m_rand |
Index_lex | m_index |
std::vector< int > | m_source_position |
std::vector< int > | m_source_momentum |
std::string | m_str_noise_type |
bool | m_in_node |
Additional Inherited Members | |
Protected Attributes inherited from Source | |
Bridge::VerboseLevel | m_vl |
Random noise source in the space at a given timeslice.
Random noise source in the space at a given timeslice src = {i_color,i_spin}^{i_noise}(x), where is a random number field satisfying {i_noise} ^{i_noise} = 0 ^{i_noise,} ^{i_noise} = {ij} [10 Jan 2017 Y.Namekawa] Add two functions set_all_space_time(ic), set_all_space_time(ic,is) intended to be used in VEV calculation with fermion_flow. [21 December 2017 Y.Taniguchi]
Definition at line 35 of file source_Random.h.
|
inline |
Definition at line 49 of file source_Random.h.
|
virtual |
Implements Source.
Definition at line 123 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 203 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 213 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 304 of file source_Random.cpp.
void Source_Random::set_all_space_time | ( | Field & | src, |
const int | ic | ||
) |
Setting a noise vector. Filling all the sites and spin indices for color index "ic". The same random number is set for all the spin indices at one site.
Definition at line 393 of file source_Random.cpp.
void Source_Random::set_all_space_time | ( | Field & | src, |
const int | ic, | ||
const int | is | ||
) |
Setting a noise vector. Filling all the sites for spin-color index "is" and "ic".
Definition at line 440 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 25 of file source_Random.cpp.
void Source_Random::set_parameters | ( | const std::vector< int > & | source_position, |
const std::vector< int > & | source_momentum, | ||
const std::string | noise_type | ||
) |
|
static |
Definition at line 38 of file source_Random.h.
|
private |
Definition at line 46 of file source_Random.h.
|
private |
Definition at line 42 of file source_Random.h.
|
private |
Definition at line 41 of file source_Random.h.
|
private |
Definition at line 44 of file source_Random.h.
|
private |
Definition at line 43 of file source_Random.h.
|
private |
Definition at line 45 of file source_Random.h.