forked from kostrzewa/tmLQCD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Nondegenerate_Matrix.h
90 lines (72 loc) · 3.22 KB
/
Nondegenerate_Matrix.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/***********************************************************************
*
* Copyright (C) 2006,2007,2008 Karl Jansen, Thomas Chiarappa,
* 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 _NONDEGENRATE_MATRIX_H
#define _NONDEGENRATE_MATRIX_H
void mul_one_minus_imubar(spinor * const l, spinor * const k);
/******************************************
* mul_one_plus_imubar_inv computes
* l = [(1-i\mubar\gamma_5) * l
*
*/
void mul_one_plus_imubar(spinor * const l, spinor * const k);
/******************************************
* mul_one_plus_imubar_inv computes
* l = [(1+i\mubar\gamma_5) * l
*
*/
void mul_one_pm_itau2(spinor * const p, spinor * const q,
spinor * const r, spinor * const s,
const double sign, const int N);
void QNon_degenerate(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm);
void QdaggerNon_degenerate(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm);
void Q_Qdagger_ND(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm);
void Q_Qdagger_ND_BI(bispinor * const bisp_l, bispinor * const bisp_k);
void Q_tau1_min_cconst_ND(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm,
const _Complex double z);
void H_eo_ND(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm,
const int ieo);
void M_ee_inv_ND(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm);
void Q_test_epsilon(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm);
void Qtau1_P_ND(spinor * const l_strange, spinor * const l_charm,
spinor * const k_strange, spinor * const k_charm);
void Qtm_pm_Ptm_pm_psi(spinor * const l, spinor * const k);
void Qtm_pm_min_cconst_nrm(spinor * const l, spinor * const k,const _Complex double z);
/* ************************************************
* for noise reduction
* this implements
* a = B^dagger H b
*
* with Hopping matrix H and
*
* B = (1-i\g5\tau^1\musigma-\tau^3\mudelta)/c
* where
* c = 1+\musigma^2-\mudelta^2
*
**************************************************/
void red_noise_nd(spinor * const lse, spinor * const lso, spinor * const lce, spinor * const lco);
#endif