CMS 3D CMS Logo

AbsODERHS.h
Go to the documentation of this file.
1 #ifndef CalibCalorimetry_HcalAlgos_AbsODERHS_h_
2 #define CalibCalorimetry_HcalAlgos_AbsODERHS_h_
3 
4 //
5 // Base class for the ODE right hand sides
6 //
7 class AbsODERHS
8 {
9 public:
10  inline virtual ~AbsODERHS() {}
11 
12  virtual AbsODERHS* clone() const = 0;
13 
14  virtual void calc(double t, const double* x, unsigned lenX,
15  double* derivative) = 0;
16 };
17 
18 #endif // CalibCalorimetry_HcalAlgos_AbsODERHS_h_
Derivative< X, A >::type derivative(const A &_)
Definition: Derivative.h:18
virtual AbsODERHS * clone() const =0
virtual void calc(double t, const double *x, unsigned lenX, double *derivative)=0
virtual ~AbsODERHS()
Definition: AbsODERHS.h:10