Lorene data represents quasistationary binary neutron stars configurations, obtained by
- E. Gourgoulhon, P. Grandclément, K. Taniguchi, J.-A. Marck, S. Bonazzola, Phys. Rev. D 63, 064029 (2001)
- K. Taniguchi, E. Gourgoulhon, S. Bonazzola, Phys. Rev. D 64, 064012 (2001)
- K. Taniguchi, E. Gourgoulhon, Phys. Rev. D 65, 044027 (2002)
- K. Taniguchi, E. Gourgoulhon, Phys. Rev. D 66, 104019 (2002)
- K. Taniguchi, E. Gourgoulhon, Phys. Rev. D 68, 124025 (2003)
- M. Bejger, D. Gondek-Rosinska, E. Gourgoulhon, P. Haensel, K. Taniguchi, J.L. Zdunik, Astron. Astrophys. 431, 297 (2005)
The exportation of this data, computed by means of LORENE on a multi-domain spectral grid, onto a Cartesian grid (e.g. for CACTUS), is performed by means of the C++ class Bin_NS. The class Bin_NS comes along with LORENE distribution. This class is very simple, with all data members being public. A typical example of use is the following one
* // Define the Cartesian grid by means of the arrays xg, yg, zg: * for (int i=0; i<nb_points; i++) { * xg[i] = ... * yg[i] = ... * zg[i] = ... * } * * // Read the file containing the spectral data and evaluate * // all the fields on the Cartesian grid : * * Bin_NS binary_system(nb_points, xg, yg, zg, datafile) ; * * // Extract what you need : * * double* gamma_xx = binary_system.g_xx ; // metric coefficient g_xx * * double* shift_x = binary_system.beta_x ; // x comp. of shift vector * * ... * * // Save everything in an ASCII file : * * ofstream file_ini("ini.d") ; * binary_system.save_form(file_ini) ; * file_ini.close() ; * *
Index alphabétique Hierarchy of classes