# Programmes exemple pour l'utilisation de Sophya 1) ex1.cc Un programme simple utilisant SOPHYA 2) arr1.icc Un bout de code C++ utilisant SOPHYA, pouvant etre execute par runcxx : csh> runcxx -f arr1.icc OU csh> runcxx -tmpdir /tmp arr1.icc 3) fft.icc et myf_fft.h Exemple de code C++ utilisant les transforme de Fourier de SOPHYA, pouvant etre execute ds spiapp. 4) sphylm.icc sphylm.h Exemple d'utilisation des cartes 4Pi (SphericalMaps) et des transforme en harmonique spherique pouvant etre execute ds spiapp. 5) apc.icc apcxx.icc apcxx_cstyle.icc Matrix and vector manipulation and Fourier filtering apc.icc : written as a C program apcxx.icc : C++ code with SOPHYA arrays apcxx_cstyle.icc : similar to apcxx.icc but with C_style programming (explicit loops) csh> spiapp (on peut definir la variable d'environnement TMPDIR avant l'appel a spiapp ) Commandes a taper dans la fenetre de commande de (s)piapp : Cmd> delobjs * Cmd> c++execfrf fft.icc myf_fft.h Cmd> delobjs * Cmd> c++execfrf sphylm.icc sphylm.h 6) arrwrt.icc , arrrd.icc Creation/ecriture, lecture de tableaux ds fichiers PPF # Pour ecrire le fichier arrt.ppf csh> runcxx -f arrwrt.icc # Lecture du fichier arrt.ppf csh> runcxx -f arrrd.icc 7) Repertoire MyPPF/ Exemple de gestionnaire (handler) PPersist