Go to the source code of this file.
Functions | |
void | set_random (generic_field< mdp_complex > &chi, int parity=EVENODD) |
void | set_wall_random (generic_field< mdp_complex > &chi, int t=0, int parity=EVENODD) |
void | set_zero (generic_field< mdp_complex > &chi, int parity=EVENODD) |
Function to initialize fields
Distributed under GPL2 License
Created with support from the US Department of Energy
void set_random | ( | generic_field< mdp_complex > & | chi, | |
int | parity = EVENODD | |||
) |
Set the complex field components of chi to be gaussian random numbers with mean=0 and sigma=1 (useful for stochastic propagators). can choose parity=EVEN, ODD or EVENODD
void set_wall_random | ( | generic_field< mdp_complex > & | chi, | |
int | t = 0 , |
|||
int | parity = EVENODD | |||
) |
Set the complex field components of chi to be gaussian random numbers on the wall identified by t with mean=0 and sigma=1 (useful for stochastic propagators). can choose parity=EVEN, ODD or EVENODD attention! does not set to zero other timeslices!!!
void set_zero | ( | generic_field< mdp_complex > & | chi, | |
int | parity = EVENODD | |||
) |
Set the complex field components of chi tozero. can choose parity=EVEN, ODD or EVENODD