-
Notifications
You must be signed in to change notification settings - Fork 9
/
mosc.h
43 lines (37 loc) · 1.56 KB
/
mosc.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
/***********************************************************************
$Id: mosc.h,v 1.1.1.1 2008-07-03 23:38:06 skrep Exp $
***********************************************************************/
#ifndef MOSCHINCLUDED
#define MOSCHINCLUDED
typedef enum nu_type {
data_type,
nue_type,
numu_type,
nutau_type,
sterile_type,
unknown_type} NuType;
void setmass(double dms21, double dms23, double dmVacVac[][3]);
void setmix(double th12, double th13, double th23, double d,
double Mix[][3][2]);
void putmix(double Mix[][3][2]);
void setmix_barger(double th1, double th2, double th3, double d,
double Mix[][3][2]);
void getM(double Enu, double rho,
double Mix[][3][2], double dmVacVac[][3], int antitype,
double dmMatMat[][3], double dmMatVac[][3]);
void getA(double L, double E, double rho,
double Mix[][3][2], double dmMatVac[][3], double dmMatMat[][3],
int antitype, double A[3][3][2], double phase_offset) ;
void setMatterFlavor(int flavor);
void trans2p(double A[][3][2], double P[][3]);
void propagate_vac(double Ain[][3][2], double L, double E,
double Mix[][3][2], double dmVacVac[][3],
double Aout[][3][2]);
void propagate_mat(double Ain[][3][2], double nelec, double L, double E,
double Mix[][3][2], double dmVacVac[][3],
int antitype, double Aend[][3][2]);
void setmix_sin(double,double,double,double,double[][3][2]);
typedef enum matrix_type {
standard_type,
barger_type} MatrixType;
#endif /* MOSCHINCLUDED */