HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
metric.tools.funcdeclare.h
Go to the documentation of this file.
1 
7 extern int gaussj(FTYPE **tmp, int n, FTYPE **b, int m);
8 
9 // extern FTYPE delta(int j, int k) ;
10 // extern FTYPE mink(int j, int k) ;
11 
12 
13 extern FTYPE rhor_calc(int which);
14 extern FTYPE rmso_calc(int which) ;
15 extern FTYPE uphi_isco_calc(int which,FTYPE r);
16 // metric_tools.c:
17 
18 extern int gdet_func_metric(int whichcoord, FTYPE *V,FTYPE *gcov, FTYPE *gdet);
19 extern int gdet_func(int whichcoord, FTYPE *gcov, FTYPE *gdet);
20 extern int gdet_func_singcheck(int whichcoord, FTYPE *V,FTYPE (*generalmatrixlower)[NDIM], FTYPE *gdet);
21 extern void metric_sing_check(int whichcoord, FTYPE (*genmatrixlower)[NDIM], int *anglesing, int*centersing, int *truedim);
22 extern void gdetvol_func(struct of_geom *ptrgeom, FTYPE *gdet, FTYPE *eomfunc, FTYPE *gdetvol);
23 extern void eomfunc_func(struct of_geom *ptrgeom, int getprim, int whichcoord, FTYPE *X, FTYPE *EOMFUNCNAME);
24 
25 extern void matrix_inverse_metric(int whichcoord, FTYPE *gcov, FTYPE *gcon);
26 extern void matrix_inverse(int whichcoord, FTYPE (*genmatrixlower)[NDIM], FTYPE (*genmatrixupper)[NDIM]);
27 extern void matrix_inverse_4d(FTYPE (*genmatrixlower)[NDIM], FTYPE (*genmatrixupper)[NDIM]);
28 extern void alphalapse_func(struct of_geom *ptrgeom, int getprim, int whichcoord, FTYPE *X, FTYPE *gcov, FTYPE *gcon, FTYPE *alphalapse);
29 extern void betasqoalphasq_func(struct of_geom *ptrgeom, int getprim, int whichcoord, FTYPE *X, FTYPE *gcov, FTYPE *gcon, FTYPE *betasqoalphasq);
30 extern void beta_func(struct of_geom *ptrgeom, int getprim, int whichcoord, FTYPE *X, FTYPE *gcov, FTYPE *gcon, FTYPE alphalapse, FTYPE *beta);
31 
32 
33 extern void gset_genloc(int getprim, int whichcoord, int i, int j, int k, int loc, struct of_geom *geom);
34 extern void gset(int getprim, int whichcoord, int i, int j, int k, struct of_geom *geom);
35 extern void gset_X(int getprim, int whichcoord, int i, int j, int k, int loc, FTYPE *X, struct of_geom *ptrgeom);
36 
37 
38 
39 extern void get_and_copy_geometry(int ii, int jj, int kk, int pp, struct of_geom *ptrgeom);
40 
41 
42 extern void set_igdet_old(struct of_geom *geom);
43 
44 extern void check_rmin(void);
45 
46 extern void transgcov(FTYPE *gcov, FTYPE (*trans)[NDIM], FTYPE *gcovprim);
47 
48 extern void transgcovself(FTYPE *gcov, FTYPE (*trans)[NDIM]);
49 
50 extern void get_gcovpert(FTYPE *gcovprim, FTYPE *gcovpert, FTYPE *gcovpertprim);
51 
52 extern void transgcovgcovpertself(FTYPE *gcov, FTYPE *gcovpert, FTYPE (*trans)[NDIM]);