Debian Codegraph @

Codes/Nrotstar/README

raw
1 *************************************************
2 * Lorene codes for rotating relativistic stars *
3 *************************************************
4
5 1/ Description of the various codes
6 ================================
7
8 nrotstar: Code for rigidly rotating stars in GR (quasi-isotropic gauge)
9
10
11 2/ Compilation
12 ===========
13
14 Typing
15
16 make
17
18 will produce the executable in a non-optimized version for debugging purposes.
19 To get an optimized version for production purposes type instead
20
21 make -f Makefile_O2
22
23 You can clear everything by
24
25 make uninstall
26
27
28 3/ Input parameters
29 ================
30
31 The code nrotstar needs two input files:
32
33 par_rot.d : parameters of the computation
34 par_eos.d : description of the equation of state
35
36 Templates files are provided in the directory Parameters ("GR" stands for general
37 relativity and "Newt" for Newtonian gravitation). For instance
38 (i) to get the model displayed in Figs. 3.1 to 3.7 of http://arxiv.org/abs/1003.5015, do
39 cp Parameters/GR/APR_1.4Msol_716Hz/*.d .
40
41 (ii) to compute a relativistic polytropic (gamma=2) star rotating at the Keplerian limit, do
42 cp Parameters/GR/Kepler/*.d .
43
44
45 4/ Running
46 =======
47
48 Simply type
49
50 nrotstar
51
52 Setting the parameter graph to 1 in the file par_rot.d ensures that some graphical outputs are produced at the end of the computation.
53 The main characteristics of the computed star are summarized in the file result.txt (human readable format).
54 The full final configuration is saved in the file resu.d (binary format).
55 The metric part of it is also saved in the file resu_gyoto.d (binary format) in a format readable by
56 the ray-tracing code GYOTO.
57 Some output files like convergence.d or prof_*.d can be visualized via xmgrace.
58 Profiles of various fields are in the files prof_X.d where X is the name of the field.