| 1 |
/**@name Meudon initial data for binary black holes |
| 2 |
* |
| 3 |
* Meudon data represents quasistationary binary black configurations, |
| 4 |
* obtained by P. Grandcl\'ement, E. Gourgoulhon \& S. Bonazzola, |
| 5 |
* Phys. Rev. D {\bf 65}, 044021 (2002). |
| 6 |
* |
| 7 |
* The exportation of this data, computed by means of |
| 8 |
* \URL[LORENE]{http://www.lorene.obspm.fr/} |
| 9 |
* on a multi-domain spectral grid, onto a Cartesian grid |
| 10 |
* (e.g. for CACTUS), is performed by means of the C++ class {\tt Bin\_BH}. |
| 11 |
* The class {\tt Bin\_BH} comes along with |
| 12 |
* \URL[LORENE distribution]{http://www.lorene.obspm.fr/}. |
| 13 |
* This class is very simple, with all data members being public. |
| 14 |
* A typical example of use is the following one |
| 15 |
* |
| 16 |
* \begin{verbatim} |
| 17 |
* // Define the Cartesian grid by means of the arrays xg, yg, zg: |
| 18 |
* for (int i=0; i<nb_points; i++) { |
| 19 |
* xg[i] = ... |
| 20 |
* yg[i] = ... |
| 21 |
* zg[i] = ... |
| 22 |
* } |
| 23 |
* |
| 24 |
* // Read the file containing the spectral data and evaluate |
| 25 |
* // all the fields on the Cartesian grid : |
| 26 |
* |
| 27 |
* Bin_BH binary_system(nb_points, xg, yg, zg, fill, datafile) ; |
| 28 |
* |
| 29 |
* // Extract what you need : |
| 30 |
* |
| 31 |
* double* gamma_xx = binary_system.g_xx ; // metric coefficient g_xx |
| 32 |
* |
| 33 |
* double* shift_x = binary_system.beta_x ; // x comp. of shift vector |
| 34 |
* |
| 35 |
* ... |
| 36 |
* |
| 37 |
* // Save everything in an ASCII file : |
| 38 |
* |
| 39 |
* ofstream file_ini("ini.d") ; |
| 40 |
* binary_system.save_form(file_ini) ; |
| 41 |
* file_ini.close() ; |
| 42 |
* |
| 43 |
* \end{verbatim} |
| 44 |
* |
| 45 |
*/ |
| 46 |
|
| 47 |
//@{ |
| 48 |
//@Include:bin_bh.h_r |
| 49 |
//@} |