Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __LINEARTIMEINTERPOLATOR_HXX__
00021 #define __LINEARTIMEINTERPOLATOR_HXX__
00022
00023 #include "TimeInterpolator.hxx"
00024
00025 #include <map>
00026 #include <iostream>
00027
00028 namespace ParaMEDMEM
00029 {
00030 class DEC;
00031
00032 class LinearTimeInterpolator : public TimeInterpolator
00033 {
00034 public:
00035 LinearTimeInterpolator( double InterpPrecision=0, int nStepBefore=1,
00036 int nStepAfter=1 ) ;
00037 virtual ~LinearTimeInterpolator();
00038 void doInterp( double time0, double time1, double time, int recvcount,
00039 int nbuff0, int nbuff1,
00040 int **recvbuff0, int **recvbuff1, int *result );
00041 void doInterp( double time0, double time1, double time, int recvcount,
00042 int nbuff0, int nbuff1,
00043 double **recvbuff0, double **recvbuff1, double *result );
00044 };
00045 }
00046
00047 #endif