/Users/mdipierro/fermiqcd/development/Libraries/fermiqcd_set_random.h File Reference

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)

Detailed Description

Version:
2009-12-21
Author:
Massimo Di Pierro <mdipierro@cs.depaul.edu>

Function to initialize fields

Distributed under GPL2 License

Created with support from the US Department of Energy


Function Documentation

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines

Generated on Wed Dec 23 14:03:14 2009 for fermiqcd by  doxygen 1.6.1