Révision 258
TrouNoir/trou_noir.c (revision 258) | ||
---|---|---|
8 | 8 |
Conversion en C par Emmanuel Quemener en aout 1997 |
9 | 9 |
Modification par Emmanuel Quemener en aout 2019 |
10 | 10 |
|
11 |
Licence CC BY-NC-SA Emmanuel QUEMENER <emmanuel.quemener@gmail.com> |
|
12 |
|
|
11 | 13 |
Remerciements a : |
12 | 14 |
|
13 | 15 |
- Herve Aussel pour sa procedure sur le spectre de corps noir |
TrouNoir/trou_noir_1997.c (revision 258) | ||
---|---|---|
7 | 7 |
|
8 | 8 |
Conversion en C par Emmanuel Quemener en aout 1997 |
9 | 9 |
|
10 |
Licence CC BY-NC-SA Emmanuel QUEMENER <emmanuel.quemener@gmail.com> |
|
11 |
|
|
10 | 12 |
Remerciements a : |
11 | 13 |
|
12 | 14 |
- Herve Aussel pour sa procedure sur le spectre de corps noir |
TrouNoir/trou_noir_MyFloat.c (revision 258) | ||
---|---|---|
8 | 8 |
Conversion en C par Emmanuel Quemener en aout 1997 |
9 | 9 |
Modification par Emmanuel Quemener en aout 2019 |
10 | 10 |
|
11 |
Licence CC BY-NC-SA Emmanuel QUEMENER <emmanuel.quemener@gmail.com> |
|
12 |
|
|
11 | 13 |
Remerciements a : |
12 | 14 |
|
13 | 15 |
- Herve Aussel pour sa procedure sur le spectre de corps noir |
... | ... | |
18 | 20 |
|
19 | 21 |
Compilation sous gcc ( Compilateur GNU sous Linux ) : |
20 | 22 |
|
21 |
gcc -O2 -o trou_noir trou_noir.c -lm
|
|
23 |
gcc -O3 -DFP32 -o trou_noir_FP32 trou_noir_MyFloat.c -lm
|
|
22 | 24 |
*/ |
23 | 25 |
|
24 | 26 |
#include <stdio.h> |
... | ... | |
33 | 35 |
|
34 | 36 |
#define TRACKPOINTS 2048 |
35 | 37 |
|
36 |
#if TYPE == FP32
|
|
38 |
#ifdef FP32
|
|
37 | 39 |
#define MYFLOAT float |
38 | 40 |
#else |
39 | 41 |
#define MYFLOAT double |
TrouNoir/trou_noir_OpenMP.c (revision 258) | ||
---|---|---|
8 | 8 |
Conversion en C par Emmanuel Quemener en aout 1997 |
9 | 9 |
Modification par Emmanuel Quemener en aout 2019 |
10 | 10 |
|
11 |
Licence CC BY-NC-SA Emmanuel QUEMENER <emmanuel.quemener@gmail.com> |
|
12 |
|
|
11 | 13 |
Remerciements a : |
12 | 14 |
|
13 | 15 |
- Herve Aussel pour sa procedure sur le spectre de corps noir |
Formats disponibles : Unified diff