Changeset 1371 in Sophya for trunk/SophyaLib/NTools
- Timestamp:
- Jan 5, 2001, 6:07:12 PM (25 years ago)
- Location:
- trunk/SophyaLib/NTools
- Files:
-
- 5 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/Makefile
r1242 r1371 3 3 all: $(LIB)libNTools.a 4 4 clean: 5 rm -f $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)difeq.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftmserver.o $(OBJ)fftpserver.o $(OBJ)fftserv er.o $(OBJ)fftservintf.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)imageop.o $(OBJ)integ.o $(OBJ)median.o $(OBJ)ntoolsinit.o $(OBJ)ntupintf.o $(OBJ)objfitter.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ)rk4cdifeq.o $(OBJ)simplesort.o $(OBJ)tabmath.o $(OBJ)datime.o $(OBJ)fftmayer_r4.o $(OBJ)fftmayer_r8.o $(OBJ)fftpackc.o $(OBJ)matxop.o $(OBJ)nbmath.o $(OBJ)nbtri.o5 rm -f $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)difeq.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftmserver.o $(OBJ)fftpserver.o $(OBJ)fftservintf.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)imageop.o $(OBJ)integ.o $(OBJ)median.o $(OBJ)ntoolsinit.o $(OBJ)objfitter.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ)rk4cdifeq.o $(OBJ)simplesort.o $(OBJ)tabmath.o $(OBJ)datime.o $(OBJ)fftmayer_r4.o $(OBJ)fftmayer_r8.o $(OBJ)fftpackc.o $(OBJ)matxop.o $(OBJ)nbmath.o $(OBJ)nbtri.o 6 6 rm -f $(LIB)libNTools.a 7 $(LIB)libNTools.a : $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)datime.o $(OBJ)difeq.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftmayer_r4.o $(OBJ)fftmayer_r8.o $(OBJ)fftmserver.o $(OBJ)fftpackc.o $(OBJ)fftpserver.o $(OBJ)fftserv er.o $(OBJ)fftservintf.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)integ.o $(OBJ)matxop.o $(OBJ)median.o $(OBJ)nbmath.o $(OBJ)nbtri.o $(OBJ)ntoolsinit.o $(OBJ)ntupintf.o $(OBJ)objfitter.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ)rk4cdifeq.o $(OBJ)simplesort.o $(OBJ)tabmath.o7 $(LIB)libNTools.a : $(OBJ)cimage.o $(OBJ)cspline.o $(OBJ)datatypes.o $(OBJ)dates.o $(OBJ)datime.o $(OBJ)difeq.o $(OBJ)dynccd.o $(OBJ)fct1dfit.o $(OBJ)fct2dfit.o $(OBJ)fftmayer_r4.o $(OBJ)fftmayer_r8.o $(OBJ)fftmserver.o $(OBJ)fftpackc.o $(OBJ)fftpserver.o $(OBJ)fftservintf.o $(OBJ)generaldata.o $(OBJ)generalfit.o $(OBJ)integ.o $(OBJ)matxop.o $(OBJ)median.o $(OBJ)nbmath.o $(OBJ)nbtri.o $(OBJ)ntoolsinit.o $(OBJ)objfitter.o $(OBJ)perandom.o $(OBJ)poly.o $(OBJ)rk4cdifeq.o $(OBJ)simplesort.o $(OBJ)tabmath.o 8 8 $(ARCXX) $(ARCXXFLAGS) $@ $? 9 9 ifeq ($(CXX),cxx) … … 82 82 $(INC)gnumd5.h \ 83 83 $(INC)ndatablock.h \ 84 $(INC)utilarr.h generaldata.h ntupintf.h \ 85 poly.h peida.h $(INC)utils.h \ 84 $(INC)utilarr.h generaldata.h \ 85 $(INC)ntupintf.h poly.h peida.h \ 86 $(INC)utils.h \ 86 87 $(INC)perrors.h fmath.h nbconst.h tabmath.h 87 88 $(OBJ)fct2dfit.o: fct2dfit.cc $(INC)machdefs.h \ … … 98 99 $(INC)gnumd5.h \ 99 100 $(INC)ndatablock.h \ 100 $(INC)utilarr.h generaldata.h ntupintf.h \ 101 poly.h peida.h $(INC)utils.h \ 101 $(INC)utilarr.h generaldata.h \ 102 $(INC)ntupintf.h poly.h peida.h \ 103 $(INC)utils.h \ 102 104 $(INC)perrors.h fmath.h nbconst.h tabmath.h \ 103 105 simps2d.h … … 132 134 $(INC)utilarr.h \ 133 135 $(INC)tvector.h fftpackc.h 134 $(OBJ)fftserver.o: fftserver.cc fftserver.h \135 $(INC)tvector.h \136 $(INC)tmatrix.h \137 $(INC)machdefs.h \138 $(INC)tarray.h \139 $(INC)basarr.h \140 $(INC)anydataobj.h \141 $(INC)mutyv.h \142 $(INC)dvlist.h \143 $(INC)objfio.h \144 $(INC)ppersist.h \145 $(INC)pexceptions.h \146 $(INC)gnumd5.h \147 $(INC)ndatablock.h \148 $(INC)utilarr.h149 136 $(OBJ)fftservintf.o: fftservintf.cc fftservintf.h \ 150 137 $(INC)machdefs.h \ … … 177 164 $(INC)gnumd5.h \ 178 165 $(INC)ndatablock.h \ 179 $(INC)utilarr.h generaldata.h ntupintf.h \ 180 poly.h peida.h $(INC)utils.h \ 166 $(INC)utilarr.h generaldata.h \ 167 $(INC)ntupintf.h poly.h peida.h \ 168 $(INC)utils.h \ 181 169 $(INC)perrors.h fmath.h 182 170 $(OBJ)generalfit.o: generalfit.cc $(INC)machdefs.h \ … … 193 181 $(INC)gnumd5.h \ 194 182 $(INC)ndatablock.h \ 195 $(INC)utilarr.h generaldata.h ntupintf.h \ 196 poly.h peida.h $(INC)utils.h \ 183 $(INC)utilarr.h generaldata.h \ 184 $(INC)ntupintf.h poly.h peida.h \ 185 $(INC)utils.h \ 197 186 $(INC)perrors.h fmath.h \ 198 187 $(INC)sopemtx.h … … 210 199 $(INC)gnumd5.h \ 211 200 $(INC)ndatablock.h \ 212 $(INC)utilarr.h generaldata.h ntupintf.h \ 213 poly.h peida.h $(INC)utils.h \ 201 $(INC)utilarr.h generaldata.h \ 202 $(INC)ntupintf.h poly.h peida.h \ 203 $(INC)utils.h \ 214 204 $(INC)perrors.h fmath.h 215 205 $(OBJ)median.o: median.cc … … 231 221 $(INC)dvlist.h \ 232 222 $(INC)ndatablock.h \ 233 $(INC)utilarr.h generaldata.h ntupintf.h \ 234 cimage.h $(INC)fioarr.h tabmath.h nbconst.h \ 235 dates.h datime.h 236 $(OBJ)ntupintf.o: ntupintf.cc ntupintf.h \ 237 $(INC)machdefs.h 223 $(INC)utilarr.h generaldata.h \ 224 $(INC)ntupintf.h cimage.h \ 225 $(INC)fioarr.h tabmath.h nbconst.h dates.h \ 226 datime.h 238 227 $(OBJ)objfitter.o: objfitter.cc objfitter.h \ 239 228 $(INC)machdefs.h \ … … 259 248 $(INC)histos2.h \ 260 249 $(INC)hisprof.h generalfit.h generaldata.h \ 261 ntupintf.h poly.h peida.h250 $(INC)ntupintf.h poly.h peida.h 262 251 $(OBJ)perandom.o: perandom.cc $(INC)machdefs.h \ 263 252 $(INC)pexceptions.h perandom.h \ -
trunk/SophyaLib/NTools/dates.h
r490 r1371 1 // Gestion de dates 2 // E. Aubourg 1995-2000 3 // DAPNIA/SPP (Saclay) / CEA LAL - IN2P3/CNRS (Orsay) 4 1 5 #ifndef DATES_SEEN 2 6 #define DATES_SEEN … … 7 11 #include "pexceptions.h" 8 12 13 // namespace SOPHYA { 14 9 15 class TimeZone; 10 16 // <summary> Dates, conversions, operations </summary> 11 17 // Classe generale de date et heure, operation, TU/TL ... 12 class Date EXC_AWARE{18 class Date { 13 19 public: 14 20 // Enumerations jours et mois … … 122 128 // <summary> Gestion des fuseaux horaires </summary> 123 129 // Classe de gestion des fuseaux horaires. Tient compte des heures d'ete. 124 class TimeZone EXC_AWARE{130 class TimeZone { 125 131 public: 126 132 char code[4]; … … 144 150 extern TimeZone* gTimeZone; 145 151 152 // } namespace SOPHYA 153 146 154 #endif -
trunk/SophyaLib/NTools/difeq.h
r552 r1371 1 1 // This may look like C code, but it is really -*- C++ -*- 2 // Simple differential equation solver 3 // E. Aubourg 1996- 4 // DAPNIA/SPP (Saclay) / CEA LAL - IN2P3/CNRS (Orsay) 5 2 6 #ifndef DIFEQ_H_SEEN 3 7 #define DIFEQ_H_SEEN … … 15 19 // On resoud de facon generale un systeme de n equations differentielles, 16 20 // donnant les derivees fpi de n fonctions fi. 17 class DiffEqFunction EXC_AWARE{21 class DiffEqFunction { 18 22 public: 19 23 // Constructeur. n = nombre de fonctions dans le systeme … … 155 159 // Beaucoup de fonctions renvoient l'objet pour pouvoir faire une 156 160 // notation chainee s.Step(...).Start(...).Solve(...) 157 class DiffEqSolver EXC_AWARE{161 class DiffEqSolver { 158 162 public: 159 163 // Constructeurs. L'equadif est donnee sous forme de DiffEqFunction. -
trunk/SophyaLib/NTools/fftpserver.cc
r1318 r1371 6 6 7 7 /*! 8 \class SOPHYA::FFTPackServer 9 A class that calculates Fourier transforms forwards and backwards. 8 \class SOPHYA::FFTPackServer 9 \ingroup NTools 10 An implementation of FFTServerInterface based on fftpack, for 11 one dimensional arrays. 10 12 11 13 The class calls the c library ``fftpack'', which is accessible and documented … … 23 25 */ 24 26 25 /* \fn virtual void FFTServer::fftf(int l, r_4* inout)26 \param l length of array27 \param inout input array /output forward FFT (original array destroyed)28 */29 /*! \fn virtual void FFTServer::fftb(int l, r_4* inout)30 \param l length of array31 \param inout input array /output backward FFT (original array destroyed)32 */33 /* \fn virtual void FFTServer::fftf(int l, r_8* inout)34 \param l length of array35 \param inout input array /output forward FFT (original array destroyed)36 \param inout input/output array (original array destroyed)37 */38 /* \fn virtual void FFTServer::fftb(int l, r_8* inout)39 \param l length of array40 \param inout input array /output backward FFT(original array destroyed)41 */42 /*\fn virtual void FFTServer::fftf(int l, complex<r_4>* inout)43 \param l length of array44 \param inout input array /output forward FFT (original array destroyed)45 */46 /* \fn virtual void FFTServer::fftb(int l, complex<r_4>* inout)47 \param l length of array48 \param inout input array /output backward FFT (original array destroyed)49 */50 /* \fn virtual void FFTServer::fftf(int l, complex<r_8>* inout)51 \param l length of array52 \param inout input array /output forward FFT (original array destroyed)53 */54 /* \fn virtual void FFTServer::fftb(int l, complex<r_8>* inout)55 \param l length of array56 \param inout input array /output backward FFT(original array destroyed)57 */58 /*\fn virtual void FFTServer::fftf(Vector& in, Vector& out)59 \param in input array60 \param out forward FFT61 */62 /* \fn virtual void FFTServer::fftb(Vector& in, Vector& out)63 \param in input array64 \param out backward FFT65 */66 27 67 28 FFTPackServer::FFTPackServer() -
trunk/SophyaLib/NTools/fftpserver.h
r896 r1371 1 // FFT (Fast Fourier Transform) Server based on FFTPack 2 // R. Ansari 1999-2000 3 // DAPNIA/SPP (Saclay) / CEA LAL - IN2P3/CNRS (Orsay) 4 1 5 #ifndef FFTPServer_H_SEEN 2 6 #define FFTPServer_H_SEEN -
trunk/SophyaLib/NTools/fftservintf.cc
r750 r1371 2 2 3 3 4 /*! 5 \class SOPHYA::FFTServerInterface 6 \ingroup NTools 7 Defines the interface for FFT (Fast Fourier Transform) operations. 8 Warning: The interface is likely to be changed and simplified, 9 using only SOPHYA::TArray Objects. 10 */ 4 11 5 12 /* --Methode-- */ -
trunk/SophyaLib/NTools/fftservintf.h
r717 r1371 1 // FFT (Fast Fourier Transform) Server Interface 2 // R. Ansari 1999-2000 3 // DAPNIA/SPP (Saclay) / CEA LAL - IN2P3/CNRS (Orsay) 4 1 5 #ifndef FFTServerIntf_H_SEEN 2 6 #define FFTServerIntf_H_SEEN -
trunk/SophyaLib/NTools/integ.h
r552 r1371 1 1 // This may look like C code, but it is really -*- C++ -*- 2 // 3 // integ.h 4 // 5 // $Id: integ.h,v 1.6 1999-11-05 13:08:29 ansari Exp $ 6 // 2 // Simple integrator 3 // E. Aubourg 1996-... 4 // DAPNIA/SPP (Saclay) / CEA LAL - IN2P3/CNRS (Orsay) 7 5 8 6 #ifndef INTEG_H_SEEN … … 17 15 class GeneralFunction; 18 16 19 class Integrator EXC_AWARE{17 class Integrator { 20 18 public: 21 19 typedef double(*FUNC)(double); -
trunk/SophyaLib/NTools/objlist.list
r1110 r1371 13 13 fftpackc.o 14 14 fftpserver.o 15 fftserver.o16 15 fftservintf.o 17 16 generaldata.o … … 23 22 nbtri.o 24 23 ntoolsinit.o 25 ntupintf.o26 24 objfitter.o 27 25 perandom.o -
trunk/SophyaLib/NTools/perandom.h
r1092 r1371 1 1 // This may look like C code, but it is really -*- C++ -*- 2 3 2 // Nombres aleatoires pour Peida. 3 // C. Magneville 1996-2000 4 // DAPNIA/SPP (Saclay) / CEA LAL - IN2P3/CNRS (Orsay) 4 5 5 6 #ifndef PERANDOM_SEEN … … 10 11 #include "histos.h" 11 12 #include "nbrandom.h" 13 14 namespace SOPHYA { 12 15 13 16 class FunRan : public Histo { … … 22 25 }; 23 26 24 class FunRan2D EXC_AWARE{27 class FunRan2D { 25 28 public: 26 29 // typedef r_8 (*Func)(r_8, r_8); … … 38 41 }; 39 42 43 } // namespace SOPHYA 44 40 45 #endif -
trunk/SophyaLib/NTools/simplesort.h
r490 r1371 1 1 // This may look like C code, but it is really -*- C++ -*- 2 2 // 3 // $Id: simplesort.h,v 1. 2 1999-10-21 15:25:52ansari Exp $3 // $Id: simplesort.h,v 1.3 2001-01-05 17:06:31 ansari Exp $ 4 4 // 5 5 … … 12 12 #include "peida.h" 13 13 14 class SimpleSort EXC_AWARE { 14 namespace SOPHYA { 15 16 class SimpleSort { 15 17 public: 16 18 SimpleSort(int nElts); … … 90 92 } 91 93 92 93 94 94 } // namespace SOPHYA 95 95 96 96 #endif // SIMPLESORT_SEEN -
trunk/SophyaLib/NTools/tabmath.cc
r244 r1371 19 19 } 20 20 21 TabFExp* ptabFExp;21 TabFExp* SOPHYA::ptabFExp; 22 22 23 23 //////////////////////////////////// … … 39 39 } 40 40 41 TabFSin* ptabFSin;41 TabFSin* SOPHYA::ptabFSin; -
trunk/SophyaLib/NTools/tabmath.h
r220 r1371 1 1 // This may look like C code, but it is really -*- C++ -*- 2 // Tabulated math functions 3 // E. Aubourg, C. Magneville 1996-2000 4 // DAPNIA/SPP (Saclay) / CEA LAL - IN2P3/CNRS (Orsay) 5 6 #ifndef TABMATH_H_SEEN 7 #define TABMATH_H_SEEN 8 2 9 #include <math.h> 3 10 #include "peida.h" 4 11 #include "nbconst.h" 5 12 13 namespace SOPHYA { 6 14 7 15 /////////////////////////////// … … 9 17 /////////////////////////////// 10 18 11 class TabFExp EXC_AWARE{19 class TabFExp { 12 20 public: 13 21 TabFExp(); … … 30 38 //////////////////////////////////// 31 39 32 class TabFSin EXC_AWARE{40 class TabFSin { 33 41 public: 34 42 TabFSin(int ntab = 0); … … 52 60 #define tabFSin(_x_) ((*ptabFSin)(_x_)) 53 61 #define tabFCos(_x_) ((*ptabFSin)(_x_+Pis2)) 62 63 } // namespace SOPHYA 64 65 #endif
Note:
See TracChangeset
for help on using the changeset viewer.