Bridge++
Ver. 2.0.2
|
Random noise source in the space at a given timeslice. More...
#include <source_Random.h>
Public Member Functions | |
Source_Random () | |
Source_Random (const Parameters ¶ms) | |
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 | get_parameters (Parameters ¶ms) const |
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 () |
Static Public Attributes | |
static const std::string | class_name = "Source_Random" |
Private Attributes | |
Bridge::VerboseLevel | m_vl |
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 |
Random noise source in the space at a given timeslice.
Random noise source in the space at a given timeslice src = \eta_{i_color,i_spin}^{i_noise}(x), where \eta is a random number field satisfying \sum_{i_noise} \eta^{i_noise} = 0 \sum \eta_i^{i_noise,\dagger} \eta_j^{i_noise} = \delta_{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 51 of file source_Random.h.
|
inline |
Definition at line 57 of file source_Random.h.
|
virtual |
Implements Source.
Definition at line 53 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 215 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 135 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 225 of file source_Random.cpp.
|
virtual |
Implements Source.
Definition at line 316 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 405 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 452 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 48 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 46 of file source_Random.h.
|
private |
Definition at line 45 of file source_Random.h.
|
private |
Definition at line 47 of file source_Random.h.
|
private |
Definition at line 41 of file source_Random.h.