| 
            Last change
 on this file since 1751 was             1634, checked in by ansari, 24 years ago           | 
        
        
          
            
Ajout exemples de filtrage de Fourier sur tableaux + ecriture equivalente en C , Reza 13/8/2001 
 
 
           | 
        
        
          | 
            File size:
            1.2 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | #   Programmes exemple pour l'utilisation de Sophya
 | 
|---|
| 2 | 
 | 
|---|
| 3 | On suppose que $DPCBASREP/`uname`-$EROSCXX/Exec est ds le path et 
 | 
|---|
| 4 |   .:$DPCBASREP/`uname`-$EROSCXX/ShLibs ds LD_LIBRARY_PATH 
 | 
|---|
| 5 | 
 | 
|---|
| 6 | 1) ex1.cc 
 | 
|---|
| 7 |    Un programme simple utilisant SOPHYA
 | 
|---|
| 8 |    
 | 
|---|
| 9 | 
 | 
|---|
| 10 | 2) 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 | 
 | 
|---|
| 17 | 3) fft.icc et myf_fft.icc
 | 
|---|
| 18 |    Exemple de code C++ utilisant les transforme de Fourier de SOPHYA,
 | 
|---|
| 19 |    pouvant etre execute ds spiapp.
 | 
|---|
| 20 | 
 | 
|---|
| 21 | 4) 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 | 
 | 
|---|
| 26 | 5) 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 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.