Last change
on this file since 3568 was 3422, checked in by ansari, 18 years ago |
MAJ du fichier Examples/README, suite ajout Examples/MyPPF/ - Reza 07/12/2007
|
File size:
1.4 KB
|
Line | |
---|
1 | # Programmes exemple pour l'utilisation de Sophya
|
---|
2 |
|
---|
3 |
|
---|
4 | 1) ex1.cc
|
---|
5 | Un programme simple utilisant SOPHYA
|
---|
6 |
|
---|
7 |
|
---|
8 | 2) arr1.icc
|
---|
9 | Un bout de code C++ utilisant SOPHYA, pouvant etre execute
|
---|
10 | par runcxx :
|
---|
11 | csh> runcxx -f arr1.icc
|
---|
12 | OU
|
---|
13 | csh> runcxx -tmpdir /tmp arr1.icc
|
---|
14 |
|
---|
15 | 3) fft.icc et myf_fft.h
|
---|
16 | Exemple de code C++ utilisant les transforme de Fourier de SOPHYA,
|
---|
17 | pouvant etre execute ds spiapp.
|
---|
18 |
|
---|
19 | 4) sphylm.icc sphylm.h
|
---|
20 | Exemple d'utilisation des cartes 4Pi (SphericalMaps) et des
|
---|
21 | transforme en harmonique spherique pouvant etre execute ds spiapp.
|
---|
22 |
|
---|
23 |
|
---|
24 | 5) apc.icc apcxx.icc apcxx_cstyle.icc
|
---|
25 | Matrix and vector manipulation and Fourier filtering
|
---|
26 | apc.icc : written as a C program
|
---|
27 | apcxx.icc : C++ code with SOPHYA arrays
|
---|
28 | apcxx_cstyle.icc : similar to apcxx.icc but with
|
---|
29 | C_style programming (explicit loops)
|
---|
30 |
|
---|
31 | csh> spiapp
|
---|
32 | (on peut definir la variable d'environnement TMPDIR avant l'appel
|
---|
33 | a spiapp )
|
---|
34 |
|
---|
35 | Commandes a taper dans la fenetre de commande de (s)piapp :
|
---|
36 |
|
---|
37 | Cmd> delobjs *
|
---|
38 | Cmd> c++execfrf fft.icc myf_fft.h
|
---|
39 | Cmd> delobjs *
|
---|
40 | Cmd> c++execfrf sphylm.icc sphylm.h
|
---|
41 |
|
---|
42 | 6) arrwrt.icc , arrrd.icc
|
---|
43 | Creation/ecriture, lecture de tableaux ds fichiers PPF
|
---|
44 | # Pour ecrire le fichier arrt.ppf
|
---|
45 | csh> runcxx -f arrwrt.icc
|
---|
46 | # Lecture du fichier arrt.ppf
|
---|
47 | csh> runcxx -f arrrd.icc
|
---|
48 |
|
---|
49 | 7) Repertoire MyPPF/
|
---|
50 | Exemple de gestionnaire (handler) PPersist
|
---|
Note:
See
TracBrowser
for help on using the repository browser.