Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

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_zero (generic_field< mdp_complex > &chi, int parity=EVENODD)


Detailed Description

Version:
3-1-2005
Author:
Massimo Di Pierro <mdipierro@cs.depaul.edu>
Function to initialize fields

This file is copyrighted by Massimo Di Pierro Read attached license in file fermiqcd_license.pdf This file cannot be distributed without file fermiqcd_license.pdf


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_zero generic_field< mdp_complex > &  chi,
int  parity = EVENODD
 

Set the complex field components of chi tozero. can choose parity=EVEN, ODD or EVENODD


Generated on Sun Feb 27 15:12:22 2005 by  doxygen 1.4.1