Changeset 1371 in Sophya for trunk/SophyaLib/NTools


Ignore:
Timestamp:
Jan 5, 2001, 6:07:12 PM (25 years ago)
Author:
ansari
Message:

MAJ documentation, Makefile, ... - Reza 5/1/2001

Location:
trunk/SophyaLib/NTools
Files:
5 deleted
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/Makefile

    r1242 r1371  
    33all: $(LIB)libNTools.a
    44clean:
    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)fftserver.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.o
     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)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
    66        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)fftserver.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.o
     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)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
    88        $(ARCXX) $(ARCXXFLAGS) $@ $?
    99ifeq ($(CXX),cxx)
     
    8282 $(INC)gnumd5.h \
    8383 $(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 \
    8687 $(INC)perrors.h fmath.h nbconst.h tabmath.h
    8788$(OBJ)fct2dfit.o: fct2dfit.cc $(INC)machdefs.h \
     
    9899 $(INC)gnumd5.h \
    99100 $(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 \
    102104 $(INC)perrors.h fmath.h nbconst.h tabmath.h \
    103105 simps2d.h
     
    132134 $(INC)utilarr.h \
    133135 $(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.h
    149136$(OBJ)fftservintf.o: fftservintf.cc fftservintf.h \
    150137 $(INC)machdefs.h \
     
    177164 $(INC)gnumd5.h \
    178165 $(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 \
    181169 $(INC)perrors.h fmath.h
    182170$(OBJ)generalfit.o: generalfit.cc $(INC)machdefs.h \
     
    193181 $(INC)gnumd5.h \
    194182 $(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 \
    197186 $(INC)perrors.h fmath.h \
    198187 $(INC)sopemtx.h
     
    210199 $(INC)gnumd5.h \
    211200 $(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 \
    214204 $(INC)perrors.h fmath.h
    215205$(OBJ)median.o: median.cc
     
    231221 $(INC)dvlist.h \
    232222 $(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
    238227$(OBJ)objfitter.o: objfitter.cc objfitter.h \
    239228 $(INC)machdefs.h \
     
    259248 $(INC)histos2.h \
    260249 $(INC)hisprof.h generalfit.h generaldata.h \
    261  ntupintf.h poly.h peida.h
     250 $(INC)ntupintf.h poly.h peida.h
    262251$(OBJ)perandom.o: perandom.cc $(INC)machdefs.h \
    263252 $(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
    15#ifndef DATES_SEEN
    26#define DATES_SEEN
     
    711#include "pexceptions.h"
    812
     13// namespace SOPHYA { 
     14
    915class TimeZone;
    1016// <summary> Dates, conversions, operations </summary>
    1117// Classe generale de date et heure, operation, TU/TL ...
    12 class Date EXC_AWARE {
     18class Date {
    1319public:
    1420  // Enumerations jours et mois
     
    122128// <summary> Gestion des fuseaux horaires </summary>
    123129// Classe de gestion des fuseaux horaires. Tient compte des heures d'ete.
    124 class TimeZone EXC_AWARE {
     130class TimeZone {
    125131public:
    126132  char code[4];
     
    144150extern TimeZone* gTimeZone;
    145151
     152// }  namespace SOPHYA
     153
    146154#endif
  • trunk/SophyaLib/NTools/difeq.h

    r552 r1371  
    11// 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
    26#ifndef DIFEQ_H_SEEN
    37#define DIFEQ_H_SEEN
     
    1519// On resoud de facon generale un systeme de n equations differentielles,
    1620// donnant les derivees fpi de n fonctions fi.
    17 class DiffEqFunction EXC_AWARE {
     21class DiffEqFunction {
    1822public:
    1923  // Constructeur. n = nombre de fonctions dans le systeme
     
    155159// Beaucoup de fonctions renvoient l'objet pour pouvoir faire une
    156160// notation chainee s.Step(...).Start(...).Solve(...)
    157 class DiffEqSolver EXC_AWARE {
     161class DiffEqSolver {
    158162public:
    159163  // Constructeurs. L'equadif est donnee sous forme de DiffEqFunction.
  • trunk/SophyaLib/NTools/fftpserver.cc

    r1318 r1371  
    66
    77/*!
    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.
    1012
    1113The class calls the c library ``fftpack'', which is accessible and documented
     
    2325*/
    2426
    25 /* \fn virtual void FFTServer::fftf(int l, r_4* inout)
    26   \param l length of array
    27   \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 array
    31   \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 array
    35   \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 array
    40   \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 array
    44   \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 array
    48   \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 array
    52   \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 array
    56   \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 array
    60   \param out forward FFT
    61 */
    62 /* \fn virtual void FFTServer::fftb(Vector& in, Vector& out)
    63   \param in input array
    64   \param out backward FFT
    65 */
    6627
    6728FFTPackServer::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
    15#ifndef  FFTPServer_H_SEEN
    26#define  FFTPServer_H_SEEN
  • trunk/SophyaLib/NTools/fftservintf.cc

    r750 r1371  
    22
    33
     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*/
    411
    512/* --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
    15#ifndef  FFTServerIntf_H_SEEN
    26#define  FFTServerIntf_H_SEEN
  • trunk/SophyaLib/NTools/integ.h

    r552 r1371  
    11// 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)
    75
    86#ifndef INTEG_H_SEEN
     
    1715class GeneralFunction;
    1816
    19 class Integrator EXC_AWARE {
     17class Integrator {
    2018public:
    2119  typedef double(*FUNC)(double);
  • trunk/SophyaLib/NTools/objlist.list

    r1110 r1371  
    1313fftpackc.o
    1414fftpserver.o
    15 fftserver.o
    1615fftservintf.o
    1716generaldata.o
     
    2322nbtri.o
    2423ntoolsinit.o
    25 ntupintf.o
    2624objfitter.o
    2725perandom.o
  • trunk/SophyaLib/NTools/perandom.h

    r1092 r1371  
    11// This may look like C code, but it is really -*- C++ -*-
    2 
    32// Nombres aleatoires pour Peida.
     3//        C. Magneville   1996-2000
     4// DAPNIA/SPP (Saclay) / CEA    LAL - IN2P3/CNRS  (Orsay)
    45
    56#ifndef PERANDOM_SEEN
     
    1011#include "histos.h"
    1112#include "nbrandom.h"
     13
     14namespace SOPHYA { 
    1215
    1316class FunRan : public Histo {
     
    2225};
    2326
    24 class FunRan2D EXC_AWARE {
     27class FunRan2D {
    2528public:
    2629//  typedef r_8 (*Func)(r_8, r_8);
     
    3841};
    3942
     43} // namespace SOPHYA
     44
    4045#endif
  • trunk/SophyaLib/NTools/simplesort.h

    r490 r1371  
    11// This may look like C code, but it is really -*- C++ -*-
    22//
    3 // $Id: simplesort.h,v 1.2 1999-10-21 15:25:52 ansari Exp $
     3// $Id: simplesort.h,v 1.3 2001-01-05 17:06:31 ansari Exp $
    44//
    55
     
    1212#include "peida.h"
    1313
    14 class SimpleSort EXC_AWARE {
     14namespace SOPHYA { 
     15
     16class SimpleSort  {
    1517public:
    1618  SimpleSort(int nElts);
     
    9092
    9193
    92 
    93 
    94 
     94} // namespace SOPHYA
    9595
    9696#endif // SIMPLESORT_SEEN
  • trunk/SophyaLib/NTools/tabmath.cc

    r244 r1371  
    1919}
    2020
    21 TabFExp* ptabFExp;
     21TabFExp* SOPHYA::ptabFExp;
    2222
    2323////////////////////////////////////
     
    3939}
    4040
    41 TabFSin* ptabFSin;
     41TabFSin* SOPHYA::ptabFSin;
  • trunk/SophyaLib/NTools/tabmath.h

    r220 r1371  
    11// 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
    29#include <math.h>
    310#include "peida.h"
    411#include "nbconst.h"
    512
     13namespace SOPHYA { 
    614
    715///////////////////////////////
     
    917///////////////////////////////
    1018
    11 class TabFExp EXC_AWARE {
     19class TabFExp {
    1220public:
    1321  TabFExp();
     
    3038////////////////////////////////////
    3139
    32 class TabFSin EXC_AWARE {
     40class TabFSin {
    3341public:
    3442  TabFSin(int ntab = 0);
     
    5260#define tabFSin(_x_) ((*ptabFSin)(_x_))
    5361#define tabFCos(_x_) ((*ptabFSin)(_x_+Pis2))
     62
     63} // namespace SOPHYA
     64
     65#endif
Note: See TracChangeset for help on using the changeset viewer.