00001 #ifndef INTEGRATOR_2_H
00002 #define INTEGRATOR_2_H
00003
00004 #include "integrator.h"
00005
00006 namespace afl
00007 {
00012 class Integrator_2 : public Integrator
00013 {
00014 public:
00020 Integrator_2( const Field* field, const Parameters& params );
00021
00025 virtual ~Integrator_2( );
00026
00032 virtual Value integral( const Simplex& s ) const;
00033
00038 virtual void toXML( std::ostream& doc ) const;
00039
00044 virtual Integrator* clone( );
00045
00049 virtual const std::string& getMethod( ) const;
00050
00052 private:
00053 static const std::string _method;
00054 };
00055
00056 };
00057
00058 #endif // INTEGRATOR_2_H