#ifndef ParallelIntegrator_H #define ParallelIntegrator_H #include "Integrator.h" class functions::Function; namespace integrators { namespace oo { /** * A class that implements the Ingrator interface * using the midpoint integration technique. */ class ParallelIntegrator: public virtual Integrator { public: ParallelIntegrator (); virtual void setFunction (functions::Function * function_to_integrate); virtual double integrate (double lowBound, double upBound, int count); private: functions::Function *function_m; }; } } #endif // ParallelIntegrator_H