/
start.h
47 lines (44 loc) · 2 KB
/
start.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/***********************************************************************
*
* Copyright (C) 2002,2003,2004,2005,2006,2007,2008 Carsten Urbach
*
* This file is part of tmLQCD.
*
* tmLQCD is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* tmLQCD is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with tmLQCD. If not, see <http://www.gnu.org/licenses/>.
***********************************************************************/
#ifndef _START_H
#define _START_H
void gauss_vector(double v[],int n);
su3_vector random_su3_vector(void);
su3_vector unif_su3_vector(void);
spinor random_spinor(void);
void unit_spinor_field(const int k);
void random_spinor_field_lexic(spinor * const k);
void random_spinor_field(spinor * const k, const int V, const int repro);
void z2_random_spinor_field(spinor * const k, const int N);
void zero_spinor_field(spinor * const k, const int N);
void constant_spinor_field(spinor * const k, const int p, const int N);
su3 random_su3(void);
void unit_g_gauge_field(void);
void random_gauge_field(const int repro);
void set_spinor_field(int k, const double c);
void set_gauge_field(const double c);
void set_spinor_point(spinor * s, const double c);
su3 set_su3(const double c);
void source_spinor_field(spinor * const P, spinor * const Q, int is, int ic);
void source_spinor_field_point_from_file(spinor * const P, spinor * const Q, int is, int ic, int source_indx);
void start_ranlux(int level,int seed);
void gen_test_spinor_field(spinor * const k , const int eoflag);
void write_test_spinor_field(spinor * const k , const int eoflag, char * postfix);
#endif