HARM
harm and utilities
 All Data Structures Files Functions Variables Typedefs Macros Pages
metric.funcdeclare.h
Go to the documentation of this file.
1 
7 // metric stuff
8 extern int metric_checks(struct of_geom *ptrgeom);
9 
10 //extern FTYPE bl_gdet_func(FTYPE r, FTYPE th);
11 //extern void bl_gcov_func(FTYPE r, FTYPE th, FTYPE *gcov);
12 //extern void bl_gcon_func(FTYPE r, FTYPE th, FTYPE *gcon);
13 extern void conn_func(int whichcoord, FTYPE *X, struct of_geom *geom,
14  FTYPE (*lconn)[NDIM][NDIM],FTYPE *conn2);
15 extern void mks_unitheta_idxvol_func(int i, int j, int k, FTYPE *idxvol);
16 
17 extern void gcov_func(struct of_geom *ptrgeom, int getprim, int whichcoord, FTYPE *X, FTYPE *gcovinfunc, FTYPE *gcovpertinfunc);
18 extern void gcon_func(struct of_geom *ptrgeom, int getprim, int whichcoord, FTYPE *X, FTYPE *gcov, FTYPE *gcon);
19 
20 
21 extern int rotate_VtoVmetric(int whichcoord, FTYPE ROTANGLE, FTYPE *V, FTYPE *Vmetric);
22 extern int rotate_VmetrictoV(int whichcoord, FTYPE ROTANGLE, FTYPE *Vmetric, FTYPE *V);
23 
24 //extern void gcov_func(int getprim, int whichcoord, FTYPE *X, FTYPE *gcov);
25 //extern void gcon_func(int getprim, int whichcoord, FTYPE *X, FTYPE *gcov, FTYPE *gcon);
26 
27 extern int fix_hp(FTYPE *h, FTYPE *p);
28