aboutsummaryrefslogtreecommitdiff
path: root/src/ADMAnalysis.h
blob: adbb39ddc5efadceebee84d75759c2d24c9d8689 (plain)
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
 /*@@
   @header    ADMAnalysis.h
   @date      Thu Apr 25 16:36:20 2002
   @author    Tom Goodale
   @desc 
   
   @enddesc
   @version $Header$
 @@*/

#ifndef _ADMAnalysis_H_
#define _ADMAnalysis_H_ 1

#ifdef __cplusplus
extern "C" 
{
#endif

void ADMAnalysis_CartToSphere(const CCTK_INT *lsh,
                              CCTK_INT r2norm,
                              const CCTK_REAL *x,
                              const CCTK_REAL *y,
                              const CCTK_REAL *z,
                              const CCTK_REAL *r,
                              const CCTK_REAL *cart_xx,
                              const CCTK_REAL *cart_xy,
                              const CCTK_REAL *cart_xz,
                              const CCTK_REAL *cart_yy,
                              const CCTK_REAL *cart_yz,
                              const CCTK_REAL *cart_zz,
                              CCTK_REAL *sphere_rr,
                              CCTK_REAL *sphere_rq,
                              CCTK_REAL *sphere_rp,
                              CCTK_REAL *sphere_qq,
                              CCTK_REAL *sphere_qp,
                              CCTK_REAL *sphere_pp);

void ADMAnalysis_Trace(const CCTK_INT *lsh,
                       const CCTK_REAL *g11,
                       const CCTK_REAL *g12,
                       const CCTK_REAL *g13,
                       const CCTK_REAL *g22,
                       const CCTK_REAL *g23,
                       const CCTK_REAL *g33,
                       CCTK_REAL *tensor11,
                       CCTK_REAL *tensor12,
                       CCTK_REAL *tensor13,
                       CCTK_REAL *tensor22,
                       CCTK_REAL *tensor23,
                       CCTK_REAL *tensor33,
                       CCTK_REAL *trace,
                       CCTK_REAL *detg);

#ifdef __cplusplus
}
#endif

#endif /* _ADMAnalysis_H_ */