| 1 |
|
| 2 |
1/ Description of the various codes |
| 3 |
================================ |
| 4 |
|
| 5 |
read_bin_ns: code for reading a binary file containing data from a spectral computation |
| 6 |
with Lorene and exporting all the fields on a Cartesian grid |
| 7 |
|
| 8 |
2/ Documentation |
| 9 |
============= |
| 10 |
|
| 11 |
To produce the documentation, type |
| 12 |
|
| 13 |
cd Doc |
| 14 |
gmake |
| 15 |
|
| 16 |
Then you can either read the HTML version by |
| 17 |
|
| 18 |
netscape Doc/html/index.html |
| 19 |
|
| 20 |
or compile the LaTeX version in Doc/documentation.tex. |
| 21 |
|
| 22 |
The above supposes that you have Doc++ installed on your system. |
| 23 |
If not, you can nevertheless access to the online documentation in |
| 24 |
|
| 25 |
http://www.eu-network.org/Projects/MeudonData/BinNS/index.html |
| 26 |
|
| 27 |
3/ Compilation |
| 28 |
=========== |
| 29 |
|
| 30 |
Typing |
| 31 |
|
| 32 |
gmake |
| 33 |
|
| 34 |
will produce the executable read_bin_ns in a non-optimized version for |
| 35 |
debugging purposes. To get an optimized version for production purposes |
| 36 |
type instead |
| 37 |
|
| 38 |
gmake -f Makefile_O2 |
| 39 |
|
| 40 |
You can clear everything by |
| 41 |
|
| 42 |
gmake uninstall |
| 43 |
|
| 44 |
|
| 45 |
4/ Input parameters |
| 46 |
================ |
| 47 |
|
| 48 |
The code read_bin_ns needs one input file: |
| 49 |
|
| 50 |
read_bin_ns.par : parameters of the Cartesian grid and name of the spectral data file |
| 51 |
|
| 52 |
The spectral data files resulting from Lorene computations can be downloaded from the |
| 53 |
CVS repository of the EU Network "Sources of gravitational radiation", in the module |
| 54 |
Meudon/Data/BinNS. See |
| 55 |
|
| 56 |
http://www.eu-network.org/Projects/InitialData.html |
| 57 |
|
| 58 |
5/ Running |
| 59 |
======= |
| 60 |
|
| 61 |
Simply type |
| 62 |
|
| 63 |
read_bin_ns |
| 64 |
|
| 65 |
The output files are: |
| 66 |
|
| 67 |
inib.d : data on the Cartesian grid in a binary format; can be used as input in |
| 68 |
the constructor Bin_NS::Bin_NS(FILE* ) for further processing |
| 69 |
|
| 70 |
inif.d : data on the Cartesian grid in a formatted format; can be used as input in |
| 71 |
the constructor Bin_NS::Bin_NS(ifstream& ) for further processing |
| 72 |
|
| 73 |
|
| 74 |
|