source: Sophya/trunk/SophyaProg/Examples/README@ 2890

Last change on this file since 2890 was 2495, checked in by ansari, 22 years ago

correction mineure ds README - Reza 06/01/2004

File size: 1.4 KB
Line 
1# Programmes exemple pour l'utilisation de Sophya
2
3On suppose que $DPCBASREP/`uname`-$SOPHYACXX/Exec est ds le path et
4 .:$DPCBASREP/`uname`-$SOPHYACXX/ShLibs ds LD_LIBRARY_PATH
5
61) ex1.cc
7 Un programme simple utilisant SOPHYA
8
9
102) arr1.icc
11 Un bout de code C++ utilisant SOPHYA, pouvant etre execute
12 par runcxx :
13 csh> runcxx -f arr1.icc
14 OU
15 csh> runcxx -tmpdir /tmp arr1.icc
16
173) fft.icc et myf_fft.h
18 Exemple de code C++ utilisant les transforme de Fourier de SOPHYA,
19 pouvant etre execute ds spiapp.
20
214) sphylm.icc sphylm.h
22 Exemple d'utilisation des cartes 4Pi (SphericalMaps) et des
23 transforme en harmonique spherique pouvant etre execute ds spiapp.
24
25
265) apc.icc apcxx.icc apcxx_cstyle.icc
27 Matrix and vector manipulation and Fourier filtering
28 apc.icc : written as a C program
29 apcxx.icc : C++ code with SOPHYA arrays
30 apcxx_cstyle.icc : similar to apcxx.icc but with
31 C_style programming (explicit loops)
32
33 csh> spiapp
34 (on peut definir la variable d'environnement TMPDIR avant l'appel
35 a spiapp )
36
37 Commandes a taper dans la fenetre de commande de (s)piapp :
38
39 Cmd> delobjs *
40 Cmd> c++execfrf fft.icc myf_fft.h
41 Cmd> delobjs *
42 Cmd> c++execfrf sphylm.icc sphylm.h
43
446) arrwrt.icc , arrrd.icc
45 Creation/ecriture, lecture de tableaux ds fichiers PPF
46 # Pour ecrire le fichier arrt.ppf
47 csh> runcxx -f arrwrt.icc
48 # Lecture du fichier arrt.ppf
49 csh> runcxx -f arrrd.icc
Note: See TracBrowser for help on using the repository browser.