Debian Codegraph @

Export/BinNS/Doc/Source/documentation.C

raw
1 /**@name Lorene initial data for binary neutron stars
2 *
3 * Lorene data represents quasistationary binary neutron stars configurations,
4 * obtained by
5 * \begin{itemize}
6 * \item E. Gourgoulhon, P. Grandcl\'ement, K. Taniguchi, J.-A. Marck,
7 * S. Bonazzola, Phys. Rev. D {\bf 63}, 064029 (2001)
8 * \item K. Taniguchi, E. Gourgoulhon, S. Bonazzola,
9 * Phys. Rev. D {\bf 64}, 064012 (2001)
10 * \item K. Taniguchi, E. Gourgoulhon, Phys. Rev. D {\bf 65}, 044027 (2002)
11 * \item K. Taniguchi, E. Gourgoulhon, Phys. Rev. D {\bf 66}, 104019 (2002)
12 * \item K. Taniguchi, E. Gourgoulhon, Phys. Rev. D {\bf 68}, 124025 (2003)
13 * \item M. Bejger, D. Gondek-Rosinska, E. Gourgoulhon, P. Haensel,
14 * K. Taniguchi, J.L. Zdunik, Astron. Astrophys. {\bf 431}, 297 (2005)
15 * \end{itemize}
16 *
17 * The exportation of this data, computed by means of
18 * \URL[LORENE]{http://www.lorene.obspm.fr/}
19 * on a multi-domain spectral grid, onto a Cartesian grid
20 * (e.g. for CACTUS), is performed by means of the C++ class {\tt Bin\_NS}.
21 * The class {\tt Bin\_NS} comes along with
22 * \URL[LORENE distribution]{http://www.lorene.obspm.fr/}.
23 * This class is very simple, with all data members being public.
24 * A typical example of use is the following one
25 *
26 * \begin{verbatim}
27 * // Define the Cartesian grid by means of the arrays xg, yg, zg:
28 * for (int i=0; i<nb_points; i++) {
29 * xg[i] = ...
30 * yg[i] = ...
31 * zg[i] = ...
32 * }
33 *
34 * // Read the file containing the spectral data and evaluate
35 * // all the fields on the Cartesian grid :
36 *
37 * Bin_NS binary_system(nb_points, xg, yg, zg, datafile) ;
38 *
39 * // Extract what you need :
40 *
41 * double* gamma_xx = binary_system.g_xx ; // metric coefficient g_xx
42 *
43 * double* shift_x = binary_system.beta_x ; // x comp. of shift vector
44 *
45 * ...
46 *
47 * // Save everything in an ASCII file :
48 *
49 * ofstream file_ini("ini.d") ;
50 * binary_system.save_form(file_ini) ;
51 * file_ini.close() ;
52 *
53 * \end{verbatim}
54 *
55 */
56
57 //@{
58 //@Include:bin_ns.h_r
59 //@}